diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
commit | 218caa410aa38c29984be31a5229b9fa717560ee (patch) | |
tree | c54bd55eeb6e4c508940a30e94c0032fbd45d677 /vendor/windows-sys/src/Windows/Win32/Security | |
parent | Releasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Security')
22 files changed, 4934 insertions, 5855 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 index e947c9ef3..31fc20d42 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/AppLocker/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/AppLocker/mod.rs @@ -1,36 +1,23 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SaferCloseLevel(hlevelhandle: super::SAFER_LEVEL_HANDLE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SaferComputeTokenFromLevel(levelhandle: super::SAFER_LEVEL_HANDLE, inaccesstoken: super::super::Foundation::HANDLE, outaccesstoken: *mut super::super::Foundation::HANDLE, dwflags: SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SaferCreateLevel(dwscopeid: u32, dwlevelid: u32, openflags: u32, plevelhandle: *mut super::SAFER_LEVEL_HANDLE, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SaferGetLevelInformation(levelhandle: super::SAFER_LEVEL_HANDLE, dwinfotype: SAFER_OBJECT_INFO_CLASS, lpquerybuffer: *mut ::core::ffi::c_void, dwinbuffersize: u32, lpdwoutbuffersize: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SaferGetPolicyInformation(dwscopeid: u32, saferpolicyinfoclass: SAFER_POLICY_INFO_CLASS, infobuffersize: u32, infobuffer: *mut ::core::ffi::c_void, infobufferretsize: *mut u32, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SaferIdentifyLevel(dwnumproperties: u32, pcodeproperties: *const SAFER_CODE_PROPERTIES_V2, plevelhandle: *mut super::SAFER_LEVEL_HANDLE, lpreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SaferRecordEventLogEntry(hlevel: super::SAFER_LEVEL_HANDLE, sztargetpath: ::windows_sys::core::PCWSTR, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SaferSetLevelInformation(levelhandle: super::SAFER_LEVEL_HANDLE, dwinfotype: SAFER_OBJECT_INFO_CLASS, lpquerybuffer: *const ::core::ffi::c_void, dwinbuffersize: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SaferSetPolicyInformation(dwscopeid: u32, saferpolicyinfoclass: SAFER_POLICY_INFO_CLASS, infobuffersize: u32, infobuffer: *const ::core::ffi::c_void, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SaferiIsExecutableFileType(szfullpathname: ::windows_sys::core::PCWSTR, bfromshellexecute: super::super::Foundation::BOOLEAN) -> super::super::Foundation::BOOL; -} +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] fn SaferCloseLevel ( hlevelhandle : super:: SAFER_LEVEL_HANDLE ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] fn SaferCreateLevel ( dwscopeid : u32 , dwlevelid : u32 , openflags : u32 , plevelhandle : *mut super:: SAFER_LEVEL_HANDLE , lpreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] fn SaferGetPolicyInformation ( dwscopeid : u32 , saferpolicyinfoclass : SAFER_POLICY_INFO_CLASS , infobuffersize : u32 , infobuffer : *mut ::core::ffi::c_void , infobufferretsize : *mut u32 , lpreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] 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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] fn SaferRecordEventLogEntry ( hlevel : super:: SAFER_LEVEL_HANDLE , sztargetpath : :: windows_sys::core::PCWSTR , lpreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] fn SaferSetPolicyInformation ( dwscopeid : u32 , saferpolicyinfoclass : SAFER_POLICY_INFO_CLASS , infobuffersize : u32 , infobuffer : *const ::core::ffi::c_void , lpreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"] fn SaferiIsExecutableFileType ( szfullpathname : :: windows_sys::core::PCWSTR , bfromshellexecute : super::super::Foundation:: BOOLEAN ) -> super::super::Foundation:: BOOL ); #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] pub const SAFER_CRITERIA_APPX_PACKAGE: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] @@ -92,27 +79,27 @@ pub const SAFER_SCOPEID_MACHINE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] pub const SAFER_SCOPEID_USER: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] -pub const SRP_POLICY_APPX: &str = "APPX"; +pub const SRP_POLICY_APPX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("APPX"); #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] -pub const SRP_POLICY_DLL: &str = "DLL"; +pub const SRP_POLICY_DLL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DLL"); #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] -pub const SRP_POLICY_EXE: &str = "EXE"; +pub const SRP_POLICY_EXE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EXE"); #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] -pub const SRP_POLICY_MANAGEDINSTALLER: &str = "MANAGEDINSTALLER"; +pub const SRP_POLICY_MANAGEDINSTALLER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MANAGEDINSTALLER"); #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] -pub const SRP_POLICY_MSI: &str = "MSI"; +pub const SRP_POLICY_MSI: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MSI"); #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] -pub const SRP_POLICY_NOV2: &str = "IGNORESRPV2"; +pub const SRP_POLICY_NOV2: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IGNORESRPV2"); #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] -pub const SRP_POLICY_SCRIPT: &str = "SCRIPT"; +pub const SRP_POLICY_SCRIPT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SCRIPT"); #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] -pub const SRP_POLICY_SHELL: &str = "SHELL"; +pub const SRP_POLICY_SHELL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SHELL"); #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] -pub const SRP_POLICY_WLDPCONFIGCI: &str = "WLDPCONFIGCI"; +pub const SRP_POLICY_WLDPCONFIGCI: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WLDPCONFIGCI"); #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] -pub const SRP_POLICY_WLDPMSI: &str = "WLDPMSI"; +pub const SRP_POLICY_WLDPMSI: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WLDPMSI"); #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] -pub const SRP_POLICY_WLDPSCRIPT: &str = "WLDPSCRIPT"; +pub const SRP_POLICY_WLDPSCRIPT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WLDPSCRIPT"); #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] pub type SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = u32; #[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"] diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs index 8125ec821..f79c71e2f 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs @@ -12,31 +12,34 @@ pub type IIdentityAuthentication = *mut ::core::ffi::c_void; pub type IIdentityProvider = *mut ::core::ffi::c_void; pub type IIdentityStore = *mut ::core::ffi::c_void; pub type IIdentityStoreEx = *mut ::core::ffi::c_void; -pub const CIdentityProfileHandler: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3975528262, data2: 58294, data3: 17562, data4: [181, 107, 67, 245, 143, 134, 120, 20] }; -pub const CoClassIdentityStore: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 819237446, data2: 53783, data3: 18015, data4: [176, 11, 172, 157, 221, 101, 46, 183] }; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] -pub const IDENTITY_KEYWORD_ASSOCIATED: &str = "associated"; +pub const CIdentityProfileHandler: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xecf5bf46_e3b6_449a_b56b_43f58f867814); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] -pub const IDENTITY_KEYWORD_CONNECTED: &str = "connected"; +pub const CoClassIdentityStore: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x30d49246_d217_465f_b00b_ac9ddd652eb7); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] -pub const IDENTITY_KEYWORD_HOMEGROUP: &str = "homegroup"; +pub const IDENTITY_KEYWORD_ASSOCIATED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("associated"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] -pub const IDENTITY_KEYWORD_LOCAL: &str = "local"; -pub const OID_OAssociatedIdentityProviderObject: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2563089373, data2: 56168, data3: 20250, data4: [141, 43, 144, 121, 205, 254, 175, 97] }; +pub const IDENTITY_KEYWORD_CONNECTED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("connected"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] -pub const STR_COMPLETE_ACCOUNT: &str = "CompleteAccount"; +pub const IDENTITY_KEYWORD_HOMEGROUP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("homegroup"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] -pub const STR_MODERN_SETTINGS_ADD_USER: &str = "ModernSettingsAddUser"; +pub const IDENTITY_KEYWORD_LOCAL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("local"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] -pub const STR_NTH_USER_FIRST_AUTH: &str = "NthUserFirstAuth"; +pub const OID_OAssociatedIdentityProviderObject: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x98c5a3dd_db68_4f1a_8d2b_9079cdfeaf61); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] -pub const STR_OUT_OF_BOX_EXPERIENCE: &str = "OutOfBoxExperience"; +pub const STR_COMPLETE_ACCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CompleteAccount"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] -pub const STR_OUT_OF_BOX_UPGRADE_EXPERIENCE: &str = "OutOfBoxUpgradeExperience"; +pub const STR_MODERN_SETTINGS_ADD_USER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ModernSettingsAddUser"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] -pub const STR_PROPERTY_STORE: &str = "PropertyStore"; +pub const STR_NTH_USER_FIRST_AUTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NthUserFirstAuth"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] -pub const STR_USER_NAME: &str = "Username"; +pub const STR_OUT_OF_BOX_EXPERIENCE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OutOfBoxExperience"); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] +pub const STR_OUT_OF_BOX_UPGRADE_EXPERIENCE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OutOfBoxUpgradeExperience"); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] +pub const STR_PROPERTY_STORE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PropertyStore"); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] +pub const STR_USER_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Username"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] pub type ACCOUNT_STATE = i32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"] 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 index 9ecae5db3..87fe11803 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs @@ -1,556 +1,344 @@ #[cfg(feature = "Win32_Security_Authentication_Identity_Provider")] pub mod Provider; -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn AcceptSecurityContext(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, pinput: *const SecBufferDesc, fcontextreq: ASC_REQ_FLAGS, targetdatarep: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn AcquireCredentialsHandleA(pszprincipal: ::windows_sys::core::PCSTR, pszpackage: ::windows_sys::core::PCSTR, fcredentialuse: SECPKG_CRED, pvlogonid: *const ::core::ffi::c_void, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, phcredential: *mut super::super::Credentials::SecHandle, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn AcquireCredentialsHandleW(pszprincipal: ::windows_sys::core::PCWSTR, pszpackage: ::windows_sys::core::PCWSTR, fcredentialuse: SECPKG_CRED, pvlogonid: *const ::core::ffi::c_void, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, phcredential: *mut super::super::Credentials::SecHandle, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn AddCredentialsA(hcredentials: *const super::super::Credentials::SecHandle, pszprincipal: ::windows_sys::core::PCSTR, pszpackage: ::windows_sys::core::PCSTR, fcredentialuse: u32, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn AddCredentialsW(hcredentials: *const super::super::Credentials::SecHandle, pszprincipal: ::windows_sys::core::PCWSTR, pszpackage: ::windows_sys::core::PCWSTR, fcredentialuse: u32, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn AddSecurityPackageA(pszpackagename: ::windows_sys::core::PCSTR, poptions: *const SECURITY_PACKAGE_OPTIONS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn AddSecurityPackageW(pszpackagename: ::windows_sys::core::PCWSTR, poptions: *const SECURITY_PACKAGE_OPTIONS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn ApplyControlToken(phcontext: *const super::super::Credentials::SecHandle, pinput: *const SecBufferDesc) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditComputeEffectivePolicyBySid(psid: super::super::super::Foundation::PSID, psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditComputeEffectivePolicyByToken(htokenhandle: super::super::super::Foundation::HANDLE, psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditEnumerateCategories(ppauditcategoriesarray: *mut *mut ::windows_sys::core::GUID, pdwcountreturned: *mut u32) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditEnumeratePerUserPolicy(ppauditsidarray: *mut *mut POLICY_AUDIT_SID_ARRAY) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditEnumerateSubCategories(pauditcategoryguid: *const ::windows_sys::core::GUID, bretrieveallsubcategories: super::super::super::Foundation::BOOLEAN, ppauditsubcategoriesarray: *mut *mut ::windows_sys::core::GUID, pdwcountreturned: *mut u32) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn AuditFree(buffer: *const ::core::ffi::c_void); - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditLookupCategoryGuidFromCategoryId(auditcategoryid: POLICY_AUDIT_EVENT_TYPE, pauditcategoryguid: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditLookupCategoryIdFromCategoryGuid(pauditcategoryguid: *const ::windows_sys::core::GUID, pauditcategoryid: *mut POLICY_AUDIT_EVENT_TYPE) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditLookupCategoryNameA(pauditcategoryguid: *const ::windows_sys::core::GUID, ppszcategoryname: *mut ::windows_sys::core::PSTR) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditLookupCategoryNameW(pauditcategoryguid: *const ::windows_sys::core::GUID, ppszcategoryname: *mut ::windows_sys::core::PWSTR) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditLookupSubCategoryNameA(pauditsubcategoryguid: *const ::windows_sys::core::GUID, ppszsubcategoryname: *mut ::windows_sys::core::PSTR) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditLookupSubCategoryNameW(pauditsubcategoryguid: *const ::windows_sys::core::GUID, ppszsubcategoryname: *mut ::windows_sys::core::PWSTR) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditQueryGlobalSaclA(objecttypename: ::windows_sys::core::PCSTR, acl: *mut *mut super::super::ACL) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditQueryGlobalSaclW(objecttypename: ::windows_sys::core::PCWSTR, acl: *mut *mut super::super::ACL) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditQueryPerUserPolicy(psid: super::super::super::Foundation::PSID, psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditQuerySecurity(securityinformation: u32, ppsecuritydescriptor: *mut super::super::PSECURITY_DESCRIPTOR) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditQuerySystemPolicy(psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditSetGlobalSaclA(objecttypename: ::windows_sys::core::PCSTR, acl: *const super::super::ACL) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditSetGlobalSaclW(objecttypename: ::windows_sys::core::PCWSTR, acl: *const super::super::ACL) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditSetPerUserPolicy(psid: super::super::super::Foundation::PSID, pauditpolicy: *const AUDIT_POLICY_INFORMATION, dwpolicycount: u32) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditSetSecurity(securityinformation: u32, psecuritydescriptor: super::super::PSECURITY_DESCRIPTOR) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuditSetSystemPolicy(pauditpolicy: *const AUDIT_POLICY_INFORMATION, dwpolicycount: u32) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ChangeAccountPasswordA(pszpackagename: *const i8, pszdomainname: *const i8, pszaccountname: *const i8, pszoldpassword: *const i8, psznewpassword: *const i8, bimpersonating: super::super::super::Foundation::BOOLEAN, dwreserved: u32, poutput: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ChangeAccountPasswordW(pszpackagename: *const u16, pszdomainname: *const u16, pszaccountname: *const u16, pszoldpassword: *const u16, psznewpassword: *const u16, bimpersonating: super::super::super::Foundation::BOOLEAN, dwreserved: u32, poutput: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn CompleteAuthToken(phcontext: *const super::super::Credentials::SecHandle, ptoken: *const SecBufferDesc) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] - pub fn CredMarshalTargetInfo(intargetinfo: *const super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, buffer: *mut *mut u16, buffersize: *mut u32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] - pub fn CredUnmarshalTargetInfo(buffer: *const u16, buffersize: u32, rettargetinfo: *mut *mut super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, retactualsize: *mut u32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn DecryptMessage(phcontext: *const super::super::Credentials::SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn DeleteSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn DeleteSecurityPackageA(pszpackagename: ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn DeleteSecurityPackageW(pszpackagename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn EncryptMessage(phcontext: *const super::super::Credentials::SecHandle, fqop: u32, pmessage: *const SecBufferDesc, messageseqno: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn EnumerateSecurityPackagesA(pcpackages: *mut u32, pppackageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn EnumerateSecurityPackagesW(pcpackages: *mut u32, pppackageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn ExportSecurityContext(phcontext: *const super::super::Credentials::SecHandle, fflags: EXPORT_SECURITY_CONTEXT_FLAGS, ppackedcontext: *mut SecBuffer, ptoken: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn FreeContextBuffer(pvcontextbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn FreeCredentialsHandle(phcredential: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetComputerObjectNameA(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetComputerObjectNameW(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetUserNameExA(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetUserNameExW(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn ImpersonateSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn ImportSecurityContextA(pszpackage: ::windows_sys::core::PCSTR, ppackedcontext: *const SecBuffer, token: *const ::core::ffi::c_void, phcontext: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn ImportSecurityContextW(pszpackage: ::windows_sys::core::PCWSTR, ppackedcontext: *const SecBuffer, token: *const ::core::ffi::c_void, phcontext: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] - pub fn InitSecurityInterfaceA() -> *mut SecurityFunctionTableA; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] - pub fn InitSecurityInterfaceW() -> *mut SecurityFunctionTableW; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn InitializeSecurityContextA(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: *const i8, fcontextreq: 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; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn InitializeSecurityContextW(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: *const u16, fcontextreq: 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; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaAddAccountRights(policyhandle: *const ::core::ffi::c_void, accountsid: super::super::super::Foundation::PSID, userrights: *const super::super::super::Foundation::UNICODE_STRING, countofrights: u32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaCallAuthenticationPackage(lsahandle: super::super::super::Foundation::HANDLE, authenticationpackage: u32, protocolsubmitbuffer: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaClose(objecthandle: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaConnectUntrusted(lsahandle: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaCreateTrustedDomainEx(policyhandle: *const ::core::ffi::c_void, trusteddomaininformation: *const TRUSTED_DOMAIN_INFORMATION_EX, authenticationinformation: *const TRUSTED_DOMAIN_AUTH_INFORMATION, desiredaccess: u32, trusteddomainhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaDeleteTrustedDomain(policyhandle: *const ::core::ffi::c_void, trusteddomainsid: super::super::super::Foundation::PSID) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaDeregisterLogonProcess(lsahandle: LsaHandle) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaEnumerateAccountRights(policyhandle: *const ::core::ffi::c_void, accountsid: super::super::super::Foundation::PSID, userrights: *mut *mut super::super::super::Foundation::UNICODE_STRING, countofrights: *mut u32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaEnumerateAccountsWithUserRight(policyhandle: *const ::core::ffi::c_void, userright: *const super::super::super::Foundation::UNICODE_STRING, buffer: *mut *mut ::core::ffi::c_void, countreturned: *mut u32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaEnumerateLogonSessions(logonsessioncount: *mut u32, logonsessionlist: *mut *mut super::super::super::Foundation::LUID) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaEnumerateTrustedDomains(policyhandle: *const ::core::ffi::c_void, enumerationcontext: *mut u32, buffer: *mut *mut ::core::ffi::c_void, preferedmaximumlength: u32, countreturned: *mut u32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaEnumerateTrustedDomainsEx(policyhandle: *const ::core::ffi::c_void, enumerationcontext: *mut u32, buffer: *mut *mut ::core::ffi::c_void, preferedmaximumlength: u32, countreturned: *mut u32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaFreeMemory(buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaFreeReturnBuffer(buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaGetAppliedCAPIDs(systemname: *const super::super::super::Foundation::UNICODE_STRING, capids: *mut *mut super::super::super::Foundation::PSID, capidcount: *mut u32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaGetLogonSessionData(logonid: *const super::super::super::Foundation::LUID, pplogonsessiondata: *mut *mut SECURITY_LOGON_SESSION_DATA) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] - pub fn LsaLogonUser(lsahandle: super::super::super::Foundation::HANDLE, originname: *const super::super::super::System::Kernel::STRING, logontype: SECURITY_LOGON_TYPE, authenticationpackage: u32, authenticationinformation: *const ::core::ffi::c_void, authenticationinformationlength: u32, localgroups: *const super::super::TOKEN_GROUPS, sourcecontext: *const super::super::TOKEN_SOURCE, profilebuffer: *mut *mut ::core::ffi::c_void, profilebufferlength: *mut u32, logonid: *mut super::super::super::Foundation::LUID, token: *mut super::super::super::Foundation::HANDLE, quotas: *mut super::super::QUOTA_LIMITS, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] - pub fn LsaLookupAuthenticationPackage(lsahandle: super::super::super::Foundation::HANDLE, packagename: *const super::super::super::System::Kernel::STRING, authenticationpackage: *mut u32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaLookupNames(policyhandle: *const ::core::ffi::c_void, count: u32, names: *const super::super::super::Foundation::UNICODE_STRING, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids: *mut *mut LSA_TRANSLATED_SID) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaLookupNames2(policyhandle: *const ::core::ffi::c_void, flags: u32, count: u32, names: *const super::super::super::Foundation::UNICODE_STRING, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids: *mut *mut LSA_TRANSLATED_SID2) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaLookupSids(policyhandle: *const ::core::ffi::c_void, count: u32, sids: *const super::super::super::Foundation::PSID, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, names: *mut *mut LSA_TRANSLATED_NAME) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaLookupSids2(policyhandle: *const ::core::ffi::c_void, lookupoptions: u32, count: u32, sids: *const super::super::super::Foundation::PSID, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, names: *mut *mut LSA_TRANSLATED_NAME) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaNtStatusToWinError(status: super::super::super::Foundation::NTSTATUS) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] - pub fn LsaOpenPolicy(systemname: *const super::super::super::Foundation::UNICODE_STRING, objectattributes: *const super::super::super::System::WindowsProgramming::OBJECT_ATTRIBUTES, desiredaccess: u32, policyhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaOpenTrustedDomainByName(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, desiredaccess: u32, trusteddomainhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaQueryCAPs(capids: *const super::super::super::Foundation::PSID, capidcount: u32, caps: *mut *mut CENTRAL_ACCESS_POLICY, capcount: *mut u32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaQueryDomainInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_DOMAIN_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaQueryForestTrustInformation(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, foresttrustinfo: *mut *mut LSA_FOREST_TRUST_INFORMATION) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaQueryInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaQueryTrustedDomainInfo(policyhandle: *const ::core::ffi::c_void, trusteddomainsid: super::super::super::Foundation::PSID, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaQueryTrustedDomainInfoByName(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] - pub fn LsaRegisterLogonProcess(logonprocessname: *const super::super::super::System::Kernel::STRING, lsahandle: *mut LsaHandle, securitymode: *mut u32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaRegisterPolicyChangeNotification(informationclass: POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaRemoveAccountRights(policyhandle: *const ::core::ffi::c_void, accountsid: super::super::super::Foundation::PSID, allrights: super::super::super::Foundation::BOOLEAN, userrights: *const super::super::super::Foundation::UNICODE_STRING, countofrights: u32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaRetrievePrivateData(policyhandle: *const ::core::ffi::c_void, keyname: *const super::super::super::Foundation::UNICODE_STRING, privatedata: *mut *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaSetCAPs(capdns: *const super::super::super::Foundation::UNICODE_STRING, capdncount: u32, flags: u32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaSetDomainInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_DOMAIN_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaSetForestTrustInformation(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, foresttrustinfo: *const LSA_FOREST_TRUST_INFORMATION, checkonly: super::super::super::Foundation::BOOLEAN, collisioninfo: *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaSetInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaSetTrustedDomainInfoByName(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaSetTrustedDomainInformation(policyhandle: *const ::core::ffi::c_void, trusteddomainsid: super::super::super::Foundation::PSID, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaStorePrivateData(policyhandle: *const ::core::ffi::c_void, keyname: *const super::super::super::Foundation::UNICODE_STRING, privatedata: *const super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LsaUnregisterPolicyChangeNotification(informationclass: POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn MakeSignature(phcontext: *const super::super::Credentials::SecHandle, fqop: u32, pmessage: *const SecBufferDesc, messageseqno: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn QueryContextAttributesA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn QueryContextAttributesExA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn QueryContextAttributesExW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn QueryContextAttributesW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn QueryCredentialsAttributesA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn QueryCredentialsAttributesExA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn QueryCredentialsAttributesExW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn QueryCredentialsAttributesW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn QuerySecurityContextToken(phcontext: *const super::super::Credentials::SecHandle, token: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn QuerySecurityPackageInfoA(pszpackagename: ::windows_sys::core::PCSTR, pppackageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn QuerySecurityPackageInfoW(pszpackagename: ::windows_sys::core::PCWSTR, pppackageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn RevertSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLAcquireGenuineTicket(ppticketblob: *mut *mut ::core::ffi::c_void, pcbticketblob: *mut u32, pwsztemplateid: ::windows_sys::core::PCWSTR, pwszserverurl: ::windows_sys::core::PCWSTR, pwszclienttoken: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLActivateProduct(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, cbappspecificdata: u32, pvappspecificdata: *const ::core::ffi::c_void, pactivationinfo: *const SL_ACTIVATION_INFO_HEADER, pwszproxyserver: ::windows_sys::core::PCWSTR, wproxyport: u16) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLClose(hslc: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLConsumeRight(hslc: *const ::core::ffi::c_void, pappid: *const ::windows_sys::core::GUID, pproductskuid: *const ::windows_sys::core::GUID, pwszrightname: ::windows_sys::core::PCWSTR, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLDepositOfflineConfirmationId(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pwszinstallationid: ::windows_sys::core::PCWSTR, pwszconfirmationid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLDepositOfflineConfirmationIdEx(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pactivationinfo: *const SL_ACTIVATION_INFO_HEADER, pwszinstallationid: ::windows_sys::core::PCWSTR, pwszconfirmationid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLFireEvent(hslc: *const ::core::ffi::c_void, pwszeventid: ::windows_sys::core::PCWSTR, papplicationid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGenerateOfflineInstallationId(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, ppwszinstallationid: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGenerateOfflineInstallationIdEx(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pactivationinfo: *const SL_ACTIVATION_INFO_HEADER, ppwszinstallationid: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetApplicationInformation(hslc: *const ::core::ffi::c_void, papplicationid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetGenuineInformation(pqueryid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetInstalledProductKeyIds(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pnproductkeyids: *mut u32, ppproductkeyids: *mut *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetLicense(hslc: *const ::core::ffi::c_void, plicensefileid: *const ::windows_sys::core::GUID, pcblicensefile: *mut u32, ppblicensefile: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetLicenseFileId(hslc: *const ::core::ffi::c_void, cblicenseblob: u32, pblicenseblob: *const u8, plicensefileid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetLicenseInformation(hslc: *const ::core::ffi::c_void, psllicenseid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetLicensingStatusInformation(hslc: *const ::core::ffi::c_void, pappid: *const ::windows_sys::core::GUID, pproductskuid: *const ::windows_sys::core::GUID, pwszrightname: ::windows_sys::core::PCWSTR, pnstatuscount: *mut u32, pplicensingstatus: *mut *mut SL_LICENSING_STATUS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetPKeyId(hslc: *const ::core::ffi::c_void, pwszpkeyalgorithm: ::windows_sys::core::PCWSTR, pwszpkeystring: ::windows_sys::core::PCWSTR, cbpkeyspecificdata: u32, pbpkeyspecificdata: *const u8, ppkeyid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetPKeyInformation(hslc: *const ::core::ffi::c_void, ppkeyid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetPolicyInformation(hslc: *const ::core::ffi::c_void, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetPolicyInformationDWORD(hslc: *const ::core::ffi::c_void, pwszvaluename: ::windows_sys::core::PCWSTR, pdwvalue: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetProductSkuInformation(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetReferralInformation(hslc: *const ::core::ffi::c_void, ereferraltype: SLREFERRALTYPE, pskuorappid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, ppwszvalue: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetSLIDList(hslc: *const ::core::ffi::c_void, equeryidtype: SLIDTYPE, pqueryid: *const ::windows_sys::core::GUID, ereturnidtype: SLIDTYPE, pnreturnids: *mut u32, ppreturnids: *mut *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetServerStatus(pwszserverurl: ::windows_sys::core::PCWSTR, pwszacquisitiontype: ::windows_sys::core::PCWSTR, pwszproxyserver: ::windows_sys::core::PCWSTR, wproxyport: u16, phrstatus: *mut ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetServiceInformation(hslc: *const ::core::ffi::c_void, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetWindowsInformation(pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLGetWindowsInformationDWORD(pwszvaluename: ::windows_sys::core::PCWSTR, pdwvalue: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLInstallLicense(hslc: *const ::core::ffi::c_void, cblicenseblob: u32, pblicenseblob: *const u8, plicensefileid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLInstallProofOfPurchase(hslc: *const ::core::ffi::c_void, pwszpkeyalgorithm: ::windows_sys::core::PCWSTR, pwszpkeystring: ::windows_sys::core::PCWSTR, cbpkeyspecificdata: u32, pbpkeyspecificdata: *const u8, ppkeyid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLIsGenuineLocal(pappid: *const ::windows_sys::core::GUID, pgenuinestate: *mut SL_GENUINE_STATE, puioptions: *mut SL_NONGENUINE_UI_OPTIONS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLOpen(phslc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLQueryLicenseValueFromApp(valuename: ::windows_sys::core::PCWSTR, valuetype: *mut u32, databuffer: *mut ::core::ffi::c_void, datasize: u32, resultdatasize: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SLRegisterEvent(hslc: *const ::core::ffi::c_void, pwszeventid: ::windows_sys::core::PCWSTR, papplicationid: *const ::windows_sys::core::GUID, hevent: super::super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLSetCurrentProductKey(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pproductkeyid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLSetGenuineInformation(pqueryid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, edatatype: SLDATATYPE, cbvalue: u32, pbvalue: *const u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLUninstallLicense(hslc: *const ::core::ffi::c_void, plicensefileid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SLUninstallProofOfPurchase(hslc: *const ::core::ffi::c_void, ppkeyid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SLUnregisterEvent(hslc: *const ::core::ffi::c_void, pwszeventid: ::windows_sys::core::PCWSTR, papplicationid: *const ::windows_sys::core::GUID, hevent: super::super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn SaslAcceptSecurityContext(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, pinput: *const SecBufferDesc, fcontextreq: ASC_REQ_FLAGS, targetdatarep: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SaslEnumerateProfilesA(profilelist: *mut ::windows_sys::core::PSTR, profilecount: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SaslEnumerateProfilesW(profilelist: *mut ::windows_sys::core::PWSTR, profilecount: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn SaslGetContextOption(contexthandle: *const super::super::Credentials::SecHandle, option: u32, value: *mut ::core::ffi::c_void, size: u32, needed: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SaslGetProfilePackageA(profilename: ::windows_sys::core::PCSTR, packageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SaslGetProfilePackageW(profilename: ::windows_sys::core::PCWSTR, packageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SaslIdentifyPackageA(pinput: *const SecBufferDesc, packageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SaslIdentifyPackageW(pinput: *const SecBufferDesc, packageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn SaslInitializeSecurityContextA(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: ::windows_sys::core::PCSTR, fcontextreq: 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; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn SaslInitializeSecurityContextW(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: ::windows_sys::core::PCWSTR, fcontextreq: 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; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn SaslSetContextOption(contexthandle: *const super::super::Credentials::SecHandle, option: u32, value: *const ::core::ffi::c_void, size: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn SetContextAttributesA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn SetContextAttributesW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn SetCredentialsAttributesA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn SetCredentialsAttributesW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SslCrackCertificate(pbcertificate: *mut u8, cbcertificate: u32, dwflags: u32, ppcertificate: *mut *mut X509Certificate) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SslEmptyCacheA(psztargetname: ::windows_sys::core::PCSTR, dwflags: u32) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SslEmptyCacheW(psztargetname: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SslFreeCertificate(pcertificate: *mut X509Certificate); - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SslGenerateRandomBits(prandomdata: *mut u8, crandomdata: i32); - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SslGetExtensions(clienthello: *const u8, clienthellobytesize: u32, genericextensions: *mut SCH_EXTENSION_DATA, genericextensionscount: u8, bytestoread: *mut u32, flags: SchGetExtensionsOptions) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SslGetMaximumKeySize(reserved: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SslGetServerIdentity(clienthello: *const u8, clienthellosize: u32, serveridentity: *mut *mut u8, serveridentitysize: *mut u32, flags: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SspiCompareAuthIdentities(authidentity1: *const ::core::ffi::c_void, authidentity2: *const ::core::ffi::c_void, samesupplieduser: *mut super::super::super::Foundation::BOOLEAN, samesuppliedidentity: *mut super::super::super::Foundation::BOOLEAN) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiCopyAuthIdentity(authdata: *const ::core::ffi::c_void, authdatacopy: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiDecryptAuthIdentity(encryptedauthdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiDecryptAuthIdentityEx(options: u32, encryptedauthdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiEncodeAuthIdentityAsStrings(pauthidentity: *const ::core::ffi::c_void, ppszusername: *mut ::windows_sys::core::PWSTR, ppszdomainname: *mut ::windows_sys::core::PWSTR, ppszpackedcredentialsstring: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiEncodeStringsAsAuthIdentity(pszusername: ::windows_sys::core::PCWSTR, pszdomainname: ::windows_sys::core::PCWSTR, pszpackedcredentialsstring: ::windows_sys::core::PCWSTR, ppauthidentity: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiEncryptAuthIdentity(authdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiEncryptAuthIdentityEx(options: u32, authdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiExcludePackage(authidentity: *const ::core::ffi::c_void, pszpackagename: ::windows_sys::core::PCWSTR, ppnewauthidentity: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiFreeAuthIdentity(authdata: *const ::core::ffi::c_void); - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiGetTargetHostName(psztargetname: ::windows_sys::core::PCWSTR, pszhostname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SspiIsAuthIdentityEncrypted(encryptedauthdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SspiIsPromptingNeeded(errororntstatus: u32) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiLocalFree(databuffer: *const ::core::ffi::c_void); - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiMarshalAuthIdentity(authidentity: *const ::core::ffi::c_void, authidentitylength: *mut u32, authidentitybytearray: *mut *mut i8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiPrepareForCredRead(authidentity: *const ::core::ffi::c_void, psztargetname: ::windows_sys::core::PCWSTR, pcredmancredentialtype: *mut u32, ppszcredmantargetname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiPrepareForCredWrite(authidentity: *const ::core::ffi::c_void, psztargetname: ::windows_sys::core::PCWSTR, pcredmancredentialtype: *mut u32, ppszcredmantargetname: *mut ::windows_sys::core::PWSTR, ppszcredmanusername: *mut ::windows_sys::core::PWSTR, ppcredentialblob: *mut *mut u8, pcredentialblobsize: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiPromptForCredentialsA(psztargetname: ::windows_sys::core::PCSTR, puiinfo: *const ::core::ffi::c_void, dwautherror: u32, pszpackage: ::windows_sys::core::PCSTR, pinputauthidentity: *const ::core::ffi::c_void, ppauthidentity: *mut *mut ::core::ffi::c_void, pfsave: *mut i32, dwflags: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiPromptForCredentialsW(psztargetname: ::windows_sys::core::PCWSTR, puiinfo: *const ::core::ffi::c_void, dwautherror: u32, pszpackage: ::windows_sys::core::PCWSTR, pinputauthidentity: *const ::core::ffi::c_void, ppauthidentity: *mut *mut ::core::ffi::c_void, pfsave: *mut i32, dwflags: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiUnmarshalAuthIdentity(authidentitylength: u32, authidentitybytearray: ::windows_sys::core::PCSTR, ppauthidentity: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiValidateAuthIdentity(authdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn SspiZeroAuthIdentity(authdata: *const ::core::ffi::c_void); - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SystemFunction036(randombuffer: *mut ::core::ffi::c_void, randombufferlength: u32) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SystemFunction040(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SystemFunction041(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn TokenBindingDeleteAllBindings() -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn TokenBindingDeleteBinding(targeturl: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn TokenBindingGenerateBinding(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, targeturl: ::windows_sys::core::PCWSTR, bindingtype: TOKENBINDING_TYPE, tlsekm: *const ::core::ffi::c_void, tlsekmsize: u32, extensionformat: TOKENBINDING_EXTENSION_FORMAT, extensiondata: *const ::core::ffi::c_void, tokenbinding: *mut *mut ::core::ffi::c_void, tokenbindingsize: *mut u32, resultdata: *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn TokenBindingGenerateID(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, publickey: *const ::core::ffi::c_void, publickeysize: u32, resultdata: *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn TokenBindingGenerateIDForUri(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, targeturi: ::windows_sys::core::PCWSTR, resultdata: *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn TokenBindingGenerateMessage(tokenbindings: *const *const ::core::ffi::c_void, tokenbindingssize: *const u32, tokenbindingscount: u32, tokenbindingmessage: *mut *mut ::core::ffi::c_void, tokenbindingmessagesize: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn TokenBindingGetHighestSupportedVersion(majorversion: *mut u8, minorversion: *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn TokenBindingGetKeyTypesClient(keytypes: *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn TokenBindingGetKeyTypesServer(keytypes: *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] - pub fn TokenBindingVerifyMessage(tokenbindingmessage: *const ::core::ffi::c_void, tokenbindingmessagesize: u32, keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, tlsekm: *const ::core::ffi::c_void, tlsekmsize: u32, resultlist: *mut *mut TOKENBINDING_RESULT_LIST) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn TranslateNameA(lpaccountname: ::windows_sys::core::PCSTR, accountnameformat: EXTENDED_NAME_FORMAT, desirednameformat: EXTENDED_NAME_FORMAT, lptranslatedname: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn TranslateNameW(lpaccountname: ::windows_sys::core::PCWSTR, accountnameformat: EXTENDED_NAME_FORMAT, desirednameformat: EXTENDED_NAME_FORMAT, lptranslatedname: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] - #[cfg(feature = "Win32_Security_Credentials")] - pub fn VerifySignature(phcontext: *const super::super::Credentials::SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> ::windows_sys::core::HRESULT; -} +#[cfg(feature = "Win32_Security_Credentials")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn AddSecurityPackageA ( pszpackagename : :: windows_sys::core::PCSTR , poptions : *const SECURITY_PACKAGE_OPTIONS ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn AddSecurityPackageW ( pszpackagename : :: windows_sys::core::PCWSTR , poptions : *const SECURITY_PACKAGE_OPTIONS ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] fn ApplyControlToken ( phcontext : *const super::super::Credentials:: SecHandle , pinput : *const SecBufferDesc ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn AuditEnumerateCategories ( ppauditcategoriesarray : *mut *mut :: windows_sys::core::GUID , pdwcountreturned : *mut u32 ) -> super::super::super::Foundation:: BOOLEAN ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn AuditEnumeratePerUserPolicy ( ppauditsidarray : *mut *mut POLICY_AUDIT_SID_ARRAY ) -> super::super::super::Foundation:: BOOLEAN ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn AuditFree ( buffer : *const ::core::ffi::c_void ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn AuditQuerySecurity ( securityinformation : u32 , ppsecuritydescriptor : *mut super::super:: PSECURITY_DESCRIPTOR ) -> super::super::super::Foundation:: BOOLEAN ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn AuditSetGlobalSaclA ( objecttypename : :: windows_sys::core::PCSTR , acl : *const super::super:: ACL ) -> super::super::super::Foundation:: BOOLEAN ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn AuditSetGlobalSaclW ( objecttypename : :: windows_sys::core::PCWSTR , acl : *const super::super:: ACL ) -> super::super::super::Foundation:: BOOLEAN ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn AuditSetSecurity ( securityinformation : u32 , psecuritydescriptor : super::super:: PSECURITY_DESCRIPTOR ) -> super::super::super::Foundation:: BOOLEAN ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn AuditSetSystemPolicy ( pauditpolicy : *const AUDIT_POLICY_INFORMATION , dwpolicycount : u32 ) -> super::super::super::Foundation:: BOOLEAN ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] fn DeleteSecurityContext ( phcontext : *const super::super::Credentials:: SecHandle ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn DeleteSecurityPackageA ( pszpackagename : :: windows_sys::core::PCSTR ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn DeleteSecurityPackageW ( pszpackagename : :: windows_sys::core::PCWSTR ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] fn EncryptMessage ( phcontext : *const super::super::Credentials:: SecHandle , fqop : u32 , pmessage : *const SecBufferDesc , messageseqno : u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn EnumerateSecurityPackagesA ( pcpackages : *mut u32 , pppackageinfo : *mut *mut SecPkgInfoA ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn EnumerateSecurityPackagesW ( pcpackages : *mut u32 , pppackageinfo : *mut *mut SecPkgInfoW ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn FreeContextBuffer ( pvcontextbuffer : *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] fn FreeCredentialsHandle ( phcredential : *const super::super::Credentials:: SecHandle ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] fn ImpersonateSecurityContext ( phcontext : *const super::super::Credentials:: SecHandle ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] fn InitSecurityInterfaceA ( ) -> *mut SecurityFunctionTableA ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] fn InitSecurityInterfaceW ( ) -> *mut SecurityFunctionTableW ); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaAddAccountRights ( policyhandle : LSA_HANDLE , accountsid : super::super::super::Foundation:: PSID , userrights : *const super::super::super::Foundation:: UNICODE_STRING , countofrights : u32 ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaClose ( objecthandle : LSA_HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaConnectUntrusted ( lsahandle : *mut super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaDeleteTrustedDomain ( policyhandle : LSA_HANDLE , trusteddomainsid : super::super::super::Foundation:: PSID ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaDeregisterLogonProcess ( lsahandle : super::super::super::Foundation:: HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaEnumerateAccountRights ( policyhandle : LSA_HANDLE , accountsid : super::super::super::Foundation:: PSID , userrights : *mut *mut super::super::super::Foundation:: UNICODE_STRING , countofrights : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaEnumerateAccountsWithUserRight ( policyhandle : LSA_HANDLE , userright : *const super::super::super::Foundation:: UNICODE_STRING , buffer : *mut *mut ::core::ffi::c_void , countreturned : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaFreeMemory ( buffer : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaFreeReturnBuffer ( buffer : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaGetAppliedCAPIDs ( systemname : *const super::super::super::Foundation:: UNICODE_STRING , capids : *mut *mut super::super::super::Foundation:: PSID , capidcount : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaGetLogonSessionData ( logonid : *const super::super::super::Foundation:: LUID , pplogonsessiondata : *mut *mut SECURITY_LOGON_SESSION_DATA ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] fn LsaLogonUser ( lsahandle : super::super::super::Foundation:: HANDLE , originname : *const super::super::super::System::Kernel:: STRING , logontype : SECURITY_LOGON_TYPE , authenticationpackage : u32 , authenticationinformation : *const ::core::ffi::c_void , authenticationinformationlength : u32 , localgroups : *const super::super:: TOKEN_GROUPS , sourcecontext : *const super::super:: TOKEN_SOURCE , profilebuffer : *mut *mut ::core::ffi::c_void , profilebufferlength : *mut u32 , logonid : *mut super::super::super::Foundation:: LUID , token : *mut super::super::super::Foundation:: HANDLE , quotas : *mut super::super:: QUOTA_LIMITS , substatus : *mut i32 ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] fn LsaLookupAuthenticationPackage ( lsahandle : super::super::super::Foundation:: HANDLE , packagename : *const super::super::super::System::Kernel:: STRING , authenticationpackage : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaLookupNames ( policyhandle : LSA_HANDLE , count : u32 , names : *const super::super::super::Foundation:: UNICODE_STRING , referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST , sids : *mut *mut LSA_TRANSLATED_SID ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaLookupNames2 ( policyhandle : LSA_HANDLE , flags : u32 , count : u32 , names : *const super::super::super::Foundation:: UNICODE_STRING , referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST , sids : *mut *mut LSA_TRANSLATED_SID2 ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaNtStatusToWinError ( status : super::super::super::Foundation:: NTSTATUS ) -> u32 ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] fn LsaOpenPolicy ( systemname : *const super::super::super::Foundation:: UNICODE_STRING , objectattributes : *const super::super::super::System::WindowsProgramming:: OBJECT_ATTRIBUTES , desiredaccess : u32 , policyhandle : *mut LSA_HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaOpenTrustedDomainByName ( policyhandle : LSA_HANDLE , trusteddomainname : *const super::super::super::Foundation:: UNICODE_STRING , desiredaccess : u32 , trusteddomainhandle : *mut LSA_HANDLE ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaQueryForestTrustInformation ( policyhandle : LSA_HANDLE , trusteddomainname : *const super::super::super::Foundation:: UNICODE_STRING , foresttrustinfo : *mut *mut LSA_FOREST_TRUST_INFORMATION ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaQueryTrustedDomainInfoByName ( policyhandle : LSA_HANDLE , trusteddomainname : *const super::super::super::Foundation:: UNICODE_STRING , informationclass : TRUSTED_INFORMATION_CLASS , buffer : *mut *mut ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] fn LsaRegisterLogonProcess ( logonprocessname : *const super::super::super::System::Kernel:: STRING , lsahandle : *mut super::super::super::Foundation:: HANDLE , securitymode : *mut u32 ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaRemoveAccountRights ( policyhandle : LSA_HANDLE , accountsid : super::super::super::Foundation:: PSID , allrights : super::super::super::Foundation:: BOOLEAN , userrights : *const super::super::super::Foundation:: UNICODE_STRING , countofrights : u32 ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaRetrievePrivateData ( policyhandle : LSA_HANDLE , keyname : *const super::super::super::Foundation:: UNICODE_STRING , privatedata : *mut *mut super::super::super::Foundation:: UNICODE_STRING ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaSetCAPs ( capdns : *const super::super::super::Foundation:: UNICODE_STRING , capdncount : u32 , flags : u32 ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaSetForestTrustInformation ( policyhandle : LSA_HANDLE , trusteddomainname : *const super::super::super::Foundation:: UNICODE_STRING , foresttrustinfo : *const LSA_FOREST_TRUST_INFORMATION , checkonly : super::super::super::Foundation:: BOOLEAN , collisioninfo : *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaSetTrustedDomainInfoByName ( policyhandle : LSA_HANDLE , trusteddomainname : *const super::super::super::Foundation:: UNICODE_STRING , informationclass : TRUSTED_INFORMATION_CLASS , buffer : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn LsaStorePrivateData ( policyhandle : LSA_HANDLE , keyname : *const super::super::super::Foundation:: UNICODE_STRING , privatedata : *const super::super::super::Foundation:: UNICODE_STRING ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "sspicli.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "sspicli.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "sspicli.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "sspicli.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] fn QuerySecurityContextToken ( phcontext : *const super::super::Credentials:: SecHandle , token : *mut *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn QuerySecurityPackageInfoA ( pszpackagename : :: windows_sys::core::PCSTR , pppackageinfo : *mut *mut SecPkgInfoA ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn QuerySecurityPackageInfoW ( pszpackagename : :: windows_sys::core::PCWSTR , pppackageinfo : *mut *mut SecPkgInfoW ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] fn RevertSecurityContext ( phcontext : *const super::super::Credentials:: SecHandle ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "slcext.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slcext.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SLClose ( hslc : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SLConsumeRight ( hslc : *const ::core::ffi::c_void , pappid : *const :: windows_sys::core::GUID , pproductskuid : *const :: windows_sys::core::GUID , pwszrightname : :: windows_sys::core::PCWSTR , pvreserved : *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SLFireEvent ( hslc : *const ::core::ffi::c_void , pwszeventid : :: windows_sys::core::PCWSTR , papplicationid : *const :: windows_sys::core::GUID ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SLGetLicenseFileId ( hslc : *const ::core::ffi::c_void , cblicenseblob : u32 , pblicenseblob : *const u8 , plicensefileid : *mut :: windows_sys::core::GUID ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SLGetPolicyInformationDWORD ( hslc : *const ::core::ffi::c_void , pwszvaluename : :: windows_sys::core::PCWSTR , pdwvalue : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slcext.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slcext.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SLGetWindowsInformation ( pwszvaluename : :: windows_sys::core::PCWSTR , pedatatype : *mut SLDATATYPE , pcbvalue : *mut u32 , ppbvalue : *mut *mut u8 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SLGetWindowsInformationDWORD ( pwszvaluename : :: windows_sys::core::PCWSTR , pdwvalue : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SLInstallLicense ( hslc : *const ::core::ffi::c_void , cblicenseblob : u32 , pblicenseblob : *const u8 , plicensefileid : *mut :: windows_sys::core::GUID ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slwga.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SLIsGenuineLocal ( pappid : *const :: windows_sys::core::GUID , pgenuinestate : *mut SL_GENUINE_STATE , puioptions : *mut SL_NONGENUINE_UI_OPTIONS ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SLOpen ( phslc : *mut *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "api-ms-win-core-slapi-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SLUninstallLicense ( hslc : *const ::core::ffi::c_void , plicensefileid : *const :: windows_sys::core::GUID ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SLUninstallProofOfPurchase ( hslc : *const ::core::ffi::c_void , ppkeyid : *const :: windows_sys::core::GUID ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "slc.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SaslEnumerateProfilesA ( profilelist : *mut :: windows_sys::core::PSTR , profilecount : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SaslEnumerateProfilesW ( profilelist : *mut :: windows_sys::core::PWSTR , profilecount : *mut u32 ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SaslGetProfilePackageA ( profilename : :: windows_sys::core::PCSTR , packageinfo : *mut *mut SecPkgInfoA ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SaslGetProfilePackageW ( profilename : :: windows_sys::core::PCWSTR , packageinfo : *mut *mut SecPkgInfoW ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SaslIdentifyPackageA ( pinput : *const SecBufferDesc , packageinfo : *mut *mut SecPkgInfoA ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SaslIdentifyPackageW ( pinput : *const SecBufferDesc , packageinfo : *mut *mut SecPkgInfoW ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "sas.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn SendSAS ( asuser : super::super::super::Foundation:: BOOL ) -> ( ) ); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "schannel.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn SslCrackCertificate ( pbcertificate : *mut u8 , cbcertificate : u32 , dwflags : u32 , ppcertificate : *mut *mut X509Certificate ) -> super::super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "schannel.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn SslEmptyCacheA ( psztargetname : :: windows_sys::core::PCSTR , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "schannel.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn SslEmptyCacheW ( psztargetname : :: windows_sys::core::PCWSTR , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "schannel.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn SslFreeCertificate ( pcertificate : *mut X509Certificate ) -> ( ) ); +::windows_sys::core::link ! ( "schannel.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SslGenerateRandomBits ( prandomdata : *mut u8 , crandomdata : i32 ) -> ( ) ); +::windows_sys::core::link ! ( "schannel.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SslGetExtensions ( clienthello : *const u8 , clienthellobytesize : u32 , genericextensions : *mut SCH_EXTENSION_DATA , genericextensionscount : u8 , bytestoread : *mut u32 , flags : SchGetExtensionsOptions ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "schannel.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SslGetMaximumKeySize ( reserved : u32 ) -> u32 ); +::windows_sys::core::link ! ( "schannel.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SspiCopyAuthIdentity ( authdata : *const ::core::ffi::c_void , authdatacopy : *mut *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SspiDecryptAuthIdentity ( encryptedauthdata : *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "sspicli.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SspiDecryptAuthIdentityEx ( options : u32 , encryptedauthdata : *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SspiEncodeAuthIdentityAsStrings ( pauthidentity : *const ::core::ffi::c_void , ppszusername : *mut :: windows_sys::core::PWSTR , ppszdomainname : *mut :: windows_sys::core::PWSTR , ppszpackedcredentialsstring : *mut :: windows_sys::core::PWSTR ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SspiEncryptAuthIdentity ( authdata : *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "sspicli.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SspiEncryptAuthIdentityEx ( options : u32 , authdata : *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SspiFreeAuthIdentity ( authdata : *const ::core::ffi::c_void ) -> ( ) ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SspiGetTargetHostName ( psztargetname : :: windows_sys::core::PCWSTR , pszhostname : *mut :: windows_sys::core::PWSTR ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn SspiIsAuthIdentityEncrypted ( encryptedauthdata : *const ::core::ffi::c_void ) -> super::super::super::Foundation:: BOOLEAN ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn SspiIsPromptingNeeded ( errororntstatus : u32 ) -> super::super::super::Foundation:: BOOLEAN ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SspiLocalFree ( databuffer : *const ::core::ffi::c_void ) -> ( ) ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SspiMarshalAuthIdentity ( authidentity : *const ::core::ffi::c_void , authidentitylength : *mut u32 , authidentitybytearray : *mut *mut i8 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SspiPrepareForCredRead ( authidentity : *const ::core::ffi::c_void , psztargetname : :: windows_sys::core::PCWSTR , pcredmancredentialtype : *mut u32 , ppszcredmantargetname : *mut :: windows_sys::core::PWSTR ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SspiPrepareForCredWrite ( authidentity : *const ::core::ffi::c_void , psztargetname : :: windows_sys::core::PCWSTR , pcredmancredentialtype : *mut u32 , ppszcredmantargetname : *mut :: windows_sys::core::PWSTR , ppszcredmanusername : *mut :: windows_sys::core::PWSTR , ppcredentialblob : *mut *mut u8 , pcredentialblobsize : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SspiUnmarshalAuthIdentity ( authidentitylength : u32 , authidentitybytearray : :: windows_sys::core::PCSTR , ppauthidentity : *mut *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SspiValidateAuthIdentity ( authdata : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn SspiZeroAuthIdentity ( authdata : *const ::core::ffi::c_void ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn SystemFunction036 ( randombuffer : *mut ::core::ffi::c_void , randombufferlength : u32 ) -> super::super::super::Foundation:: BOOLEAN ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn SystemFunction040 ( memory : *mut ::core::ffi::c_void , memorysize : u32 , optionflags : u32 ) -> super::super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] fn SystemFunction041 ( memory : *mut ::core::ffi::c_void , memorysize : u32 , optionflags : u32 ) -> super::super::super::Foundation:: NTSTATUS ); +::windows_sys::core::link ! ( "tokenbinding.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn TokenBindingDeleteAllBindings ( ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "tokenbinding.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn TokenBindingDeleteBinding ( targeturl : :: windows_sys::core::PCWSTR ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "tokenbinding.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "tokenbinding.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "tokenbinding.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn TokenBindingGenerateIDForUri ( keytype : TOKENBINDING_KEY_PARAMETERS_TYPE , targeturi : :: windows_sys::core::PCWSTR , resultdata : *mut *mut TOKENBINDING_RESULT_DATA ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "tokenbinding.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "tokenbinding.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn TokenBindingGetHighestSupportedVersion ( majorversion : *mut u8 , minorversion : *mut u8 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "tokenbinding.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn TokenBindingGetKeyTypesClient ( keytypes : *mut *mut TOKENBINDING_KEY_TYPES ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "tokenbinding.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] fn TokenBindingGetKeyTypesServer ( keytypes : *mut *mut TOKENBINDING_KEY_TYPES ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "tokenbinding.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] 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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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_sys::core::link ! ( "secur32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const ACCOUNT_ADJUST_PRIVILEGES: i32 = 2i32; @@ -648,74 +436,142 @@ pub const AUTH_REQ_PREAUTH_REQUIRED: u32 = 512u32; pub const AUTH_REQ_TRANSITIVE_TRUST: u32 = 1024u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const AUTH_REQ_VALIDATE_CLIENT: u32 = 128u32; -pub const Audit_AccountLogon: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542608, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_AccountLogon_CredentialValidation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864447, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_AccountLogon_KerbCredentialValidation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864450, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_AccountLogon_Kerberos: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864448, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_AccountLogon_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864449, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_AccountManagement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542606, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_AccountManagement_ApplicationGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864441, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_AccountManagement_ComputerAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864438, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_AccountManagement_DistributionGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864440, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_AccountManagement_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864442, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_AccountManagement_SecurityGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864439, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_AccountManagement_UserAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864437, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_DSAccess_DSAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864443, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_DetailedTracking: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542604, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_DetailedTracking_DpapiActivity: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864429, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_DetailedTracking_PnpActivity: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864456, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_DetailedTracking_ProcessCreation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864427, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_DetailedTracking_ProcessTermination: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864428, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_DetailedTracking_RpcCall: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864430, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_DetailedTracking_TokenRightAdjusted: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864458, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_DirectoryServiceAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542607, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_DsAccess_AdAuditChanges: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864444, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_Ds_DetailedReplication: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864446, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_Ds_Replication: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864445, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_Logon: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542601, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_Logon_AccountLockout: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864407, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_Logon_Claims: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864455, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_Logon_Groups: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864457, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_Logon_IPSecMainMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864408, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_Logon_IPSecQuickMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864409, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_Logon_IPSecUserMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864410, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_Logon_Logoff: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864406, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_Logon_Logon: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864405, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_Logon_NPS: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864451, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_Logon_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864412, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_Logon_SpecialLogon: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864411, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_ObjectAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542602, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_ObjectAccess_ApplicationGenerated: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864418, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_ObjectAccess_CbacStaging: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864454, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_ObjectAccess_CertificationServices: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864417, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_ObjectAccess_DetailedFileShare: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864452, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_ObjectAccess_FileSystem: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864413, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_ObjectAccess_FirewallConnection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864422, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_ObjectAccess_FirewallPacketDrops: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864421, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_ObjectAccess_Handle: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864419, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_ObjectAccess_Kernel: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864415, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_ObjectAccess_Other: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864423, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_ObjectAccess_Registry: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864414, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_ObjectAccess_RemovableStorage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864453, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_ObjectAccess_Sam: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864416, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_ObjectAccess_Share: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864420, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_PolicyChange: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542605, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_PolicyChange_AuditPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864431, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_PolicyChange_AuthenticationPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864432, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_PolicyChange_AuthorizationPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864433, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_PolicyChange_MpsscvRulePolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864434, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_PolicyChange_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864436, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_PolicyChange_WfpIPSecPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864435, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_PrivilegeUse: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542603, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_PrivilegeUse_NonSensitive: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864425, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_PrivilegeUse_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864426, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_PrivilegeUse_Sensitive: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864424, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_System: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542600, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_System_IPSecDriverEvents: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864403, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_System_Integrity: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864402, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_System_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864404, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_System_SecurityStateChange: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864400, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; -pub const Audit_System_SecuritySubsystemExtension: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864401, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_AccountLogon: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x69979850_797a_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_AccountLogon_CredentialValidation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923f_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_AccountLogon_KerbCredentialValidation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9242_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_AccountLogon_Kerberos: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9240_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_AccountLogon_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9241_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_AccountManagement: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984e_797a_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_AccountManagement_ApplicationGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9239_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_AccountManagement_ComputerAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9236_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_AccountManagement_DistributionGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9238_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_AccountManagement_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923a_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_AccountManagement_SecurityGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9237_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_AccountManagement_UserAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9235_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_DSAccess_DSAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923b_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_DetailedTracking: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984c_797a_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_DetailedTracking_DpapiActivity: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922d_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_DetailedTracking_PnpActivity: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9248_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_DetailedTracking_ProcessCreation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922b_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_DetailedTracking_ProcessTermination: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922c_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_DetailedTracking_RpcCall: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922e_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_DetailedTracking_TokenRightAdjusted: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce924a_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_DirectoryServiceAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984f_797a_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_DsAccess_AdAuditChanges: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923c_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_Ds_DetailedReplication: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923e_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_Ds_Replication: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923d_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_Logon: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x69979849_797a_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_Logon_AccountLockout: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9217_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_Logon_Claims: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9247_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_Logon_Groups: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9249_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_Logon_IPSecMainMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9218_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_Logon_IPSecQuickMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9219_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_Logon_IPSecUserMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921a_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_Logon_Logoff: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9216_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_Logon_Logon: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9215_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_Logon_NPS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9243_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_Logon_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921c_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_Logon_SpecialLogon: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921b_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_ObjectAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984a_797a_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_ObjectAccess_ApplicationGenerated: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9222_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_ObjectAccess_CbacStaging: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9246_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_ObjectAccess_CertificationServices: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9221_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_ObjectAccess_DetailedFileShare: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9244_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_ObjectAccess_FileSystem: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921d_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_ObjectAccess_FirewallConnection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9226_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_ObjectAccess_FirewallPacketDrops: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9225_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_ObjectAccess_Handle: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9223_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_ObjectAccess_Kernel: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921f_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_ObjectAccess_Other: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9227_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_ObjectAccess_Registry: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921e_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_ObjectAccess_RemovableStorage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9245_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_ObjectAccess_Sam: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9220_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_ObjectAccess_Share: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9224_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_PolicyChange: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984d_797a_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_PolicyChange_AuditPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922f_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_PolicyChange_AuthenticationPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9230_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_PolicyChange_AuthorizationPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9231_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_PolicyChange_MpsscvRulePolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9232_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_PolicyChange_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9234_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_PolicyChange_WfpIPSecPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9233_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_PrivilegeUse: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984b_797a_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_PrivilegeUse_NonSensitive: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9229_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_PrivilegeUse_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922a_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_PrivilegeUse_Sensitive: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9228_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_System: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x69979848_797a_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_System_IPSecDriverEvents: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9213_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_System_Integrity: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9212_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_System_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9214_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_System_SecurityStateChange: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9210_69ae_11d9_bed3_505054503030); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const Audit_System_SecuritySubsystemExtension: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9211_69ae_11d9_bed3_505054503030); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const CENTRAL_ACCESS_POLICY_OWNER_RIGHTS_PRESENT_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -725,9 +581,9 @@ pub const CENTRAL_ACCESS_POLICY_STAGED_OWNER_RIGHTS_PRESENT_FLAG: u32 = 256u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const CLEAR_BLOCK_LENGTH: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const CLOUDAP_NAME: &str = "CloudAP"; +pub const CLOUDAP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CloudAP"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const CLOUDAP_NAME_W: &str = "CloudAP"; +pub const CLOUDAP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CloudAP"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const CREDP_FLAGS_CLEAR_PASSWORD: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -747,13 +603,13 @@ pub const CRED_MARSHALED_TI_SIZE_SIZE: u32 = 12u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const CYPHER_BLOCK_LENGTH: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const ClOUDAP_NAME_A: &str = "CloudAP"; +pub const ClOUDAP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("CloudAP"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const DEFAULT_TLS_SSP_NAME: &str = "Default TLS SSP"; +pub const DEFAULT_TLS_SSP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Default TLS SSP"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const DEFAULT_TLS_SSP_NAME_A: &str = "Default TLS SSP"; +pub const DEFAULT_TLS_SSP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Default TLS SSP"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const DEFAULT_TLS_SSP_NAME_W: &str = "Default TLS SSP"; +pub const DEFAULT_TLS_SSP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Default TLS SSP"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const DOMAIN_NO_LM_OWF_CHANGE: i32 = 64i32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -765,7 +621,7 @@ pub const E_RM_UNKNOWN_ERROR: ::windows_sys::core::HRESULT = -1073415165i32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const FACILITY_SL_ITF: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const ID_CAP_SLAPI: &str = "slapiQueryLicenseValue"; +pub const ID_CAP_SLAPI: ::windows_sys::core::PCWSTR = ::windows_sys::w!("slapiQueryLicenseValue"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const ISC_RET_ALLOCATED_MEMORY: u32 = 256u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1021,7 +877,7 @@ pub const KERB_WRAP_NO_ENCRYPT: u32 = 2147483649u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const KERN_CONTEXT_CERT_INFO_V1: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const KRB_ANONYMOUS_STRING: &str = "ANONYMOUS"; +pub const KRB_ANONYMOUS_STRING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ANONYMOUS"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const KRB_NT_ENTERPRISE_PRINCIPAL: u32 = 10u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1053,7 +909,7 @@ pub const KRB_NT_WELLKNOWN: u32 = 11u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const KRB_NT_X500_PRINCIPAL: u32 = 6u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const KRB_WELLKNOWN_STRING: &str = "WELLKNOWN"; +pub const KRB_WELLKNOWN_STRING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WELLKNOWN"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const LCRED_CRED_EXISTS: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1091,25 +947,25 @@ pub const LSASETCAPS_RELOAD_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const LSASETCAPS_VALID_FLAG_MASK: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const LSA_ADT_LEGACY_SECURITY_SOURCE_NAME: &str = "Security"; +pub const LSA_ADT_LEGACY_SECURITY_SOURCE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Security"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const LSA_ADT_SECURITY_SOURCE_NAME: &str = "Microsoft-Windows-Security-Auditing"; +pub const LSA_ADT_SECURITY_SOURCE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft-Windows-Security-Auditing"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const LSA_AP_NAME_CALL_PACKAGE: &str = "LsaApCallPackage\u{0}"; +pub const LSA_AP_NAME_CALL_PACKAGE: ::windows_sys::core::PCSTR = ::windows_sys::s!("LsaApCallPackage\u{0}"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const LSA_AP_NAME_CALL_PACKAGE_PASSTHROUGH: &str = "LsaApCallPackagePassthrough\u{0}"; +pub const LSA_AP_NAME_CALL_PACKAGE_PASSTHROUGH: ::windows_sys::core::PCSTR = ::windows_sys::s!("LsaApCallPackagePassthrough\u{0}"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const LSA_AP_NAME_CALL_PACKAGE_UNTRUSTED: &str = "LsaApCallPackageUntrusted\u{0}"; +pub const LSA_AP_NAME_CALL_PACKAGE_UNTRUSTED: ::windows_sys::core::PCSTR = ::windows_sys::s!("LsaApCallPackageUntrusted\u{0}"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const LSA_AP_NAME_INITIALIZE_PACKAGE: &str = "LsaApInitializePackage\u{0}"; +pub const LSA_AP_NAME_INITIALIZE_PACKAGE: ::windows_sys::core::PCSTR = ::windows_sys::s!("LsaApInitializePackage\u{0}"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const LSA_AP_NAME_LOGON_TERMINATED: &str = "LsaApLogonTerminated\u{0}"; +pub const LSA_AP_NAME_LOGON_TERMINATED: ::windows_sys::core::PCSTR = ::windows_sys::s!("LsaApLogonTerminated\u{0}"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const LSA_AP_NAME_LOGON_USER: &str = "LsaApLogonUser\u{0}"; +pub const LSA_AP_NAME_LOGON_USER: ::windows_sys::core::PCSTR = ::windows_sys::s!("LsaApLogonUser\u{0}"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const LSA_AP_NAME_LOGON_USER_EX: &str = "LsaApLogonUserEx\u{0}"; +pub const LSA_AP_NAME_LOGON_USER_EX: ::windows_sys::core::PCSTR = ::windows_sys::s!("LsaApLogonUserEx\u{0}"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const LSA_AP_NAME_LOGON_USER_EX2: &str = "LsaApLogonUserEx2\u{0}"; +pub const LSA_AP_NAME_LOGON_USER_EX2: ::windows_sys::core::PCSTR = ::windows_sys::s!("LsaApLogonUserEx2\u{0}"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const LSA_CALL_LICENSE_SERVER: u32 = 2147483648u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1117,11 +973,11 @@ pub const LSA_FOREST_TRUST_RECORD_TYPE_UNRECOGNIZED: u32 = 2147483648u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const LSA_FTRECORD_DISABLED_REASONS: i32 = 65535i32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const LSA_GLOBAL_SECRET_PREFIX: &str = "G$"; +pub const LSA_GLOBAL_SECRET_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("G$"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const LSA_GLOBAL_SECRET_PREFIX_LENGTH: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const LSA_LOCAL_SECRET_PREFIX: &str = "L$"; +pub const LSA_LOCAL_SECRET_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("L$"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const LSA_LOCAL_SECRET_PREFIX_LENGTH: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1131,7 +987,7 @@ pub const LSA_LOOKUP_ISOLATED_AS_LOCAL: u32 = 2147483648u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const LSA_LOOKUP_PREFER_INTERNET_NAMES: u32 = 1073741824u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const LSA_MACHINE_SECRET_PREFIX: &str = "M$"; +pub const LSA_MACHINE_SECRET_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("M$"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const LSA_MAXIMUM_ENUMERATION_LENGTH: u32 = 32000u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1175,11 +1031,11 @@ pub const MAX_RECORDS_IN_FOREST_TRUST_INFO: u32 = 4000u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const MAX_USER_RECORDS: u32 = 1000u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const MICROSOFT_KERBEROS_NAME: &str = "Kerberos"; +pub const MICROSOFT_KERBEROS_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Kerberos"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const MICROSOFT_KERBEROS_NAME_A: &str = "Kerberos"; +pub const MICROSOFT_KERBEROS_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Kerberos"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const MICROSOFT_KERBEROS_NAME_W: &str = "Kerberos"; +pub const MICROSOFT_KERBEROS_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Kerberos"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const MSV1_0_ALLOW_FORCE_GUEST: u32 = 8192u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1237,9 +1093,9 @@ pub const MSV1_0_NTLM3_RESPONSE_LENGTH: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const MSV1_0_OWF_PASSWORD_LENGTH: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const MSV1_0_PACKAGE_NAME: &str = "MICROSOFT_AUTHENTICATION_PACKAGE_V1_0"; +pub const MSV1_0_PACKAGE_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("MICROSOFT_AUTHENTICATION_PACKAGE_V1_0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const MSV1_0_PACKAGE_NAMEW: &str = "MICROSOFT_AUTHENTICATION_PACKAGE_V1_0"; +pub const MSV1_0_PACKAGE_NAMEW: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MICROSOFT_AUTHENTICATION_PACKAGE_V1_0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const MSV1_0_S4U2SELF: u32 = 131072u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1259,9 +1115,9 @@ pub const MSV1_0_SUBAUTHENTICATION_DLL_SHIFT: u32 = 24u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const MSV1_0_SUBAUTHENTICATION_FLAGS: u32 = 4278190080u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const MSV1_0_SUBAUTHENTICATION_KEY: &str = "SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0"; +pub const MSV1_0_SUBAUTHENTICATION_KEY: ::windows_sys::core::PCSTR = ::windows_sys::s!("SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const MSV1_0_SUBAUTHENTICATION_VALUE: &str = "Auth"; +pub const MSV1_0_SUBAUTHENTICATION_VALUE: ::windows_sys::core::PCSTR = ::windows_sys::s!("Auth"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const MSV1_0_SUBAUTH_ACCOUNT_DISABLED: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1299,11 +1155,11 @@ pub const MSV1_0_VALIDATION_USER_FLAGS: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const MSV1_0_VALIDATION_USER_ID: u32 = 64u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const NEGOSSP_NAME: &str = "Negotiate"; +pub const NEGOSSP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Negotiate"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const NEGOSSP_NAME_A: &str = "Negotiate"; +pub const NEGOSSP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Negotiate"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const NEGOSSP_NAME_W: &str = "Negotiate"; +pub const NEGOSSP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Negotiate"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const NEGOTIATE_ALLOW_NTLM: u32 = 268435456u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1345,15 +1201,15 @@ pub const NOTIFY_CLASS_ROLE_CHANGE: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const NO_LONG_NAMES: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const NTLMSP_NAME: &str = "NTLM"; +pub const NTLMSP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NTLM"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const NTLMSP_NAME_A: &str = "NTLM"; +pub const NTLMSP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("NTLM"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const PCT1SP_NAME: &str = "Microsoft PCT 1.0"; +pub const PCT1SP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft PCT 1.0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const PCT1SP_NAME_A: &str = "Microsoft PCT 1.0"; +pub const PCT1SP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft PCT 1.0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const PCT1SP_NAME_W: &str = "Microsoft PCT 1.0"; +pub const PCT1SP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft PCT 1.0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const PER_USER_AUDIT_FAILURE_EXCLUDE: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1367,11 +1223,11 @@ pub const PER_USER_AUDIT_SUCCESS_INCLUDE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const PER_USER_POLICY_UNCHANGED: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const PKU2U_PACKAGE_NAME: &str = "pku2u"; +pub const PKU2U_PACKAGE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("pku2u"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const PKU2U_PACKAGE_NAME_A: &str = "pku2u"; +pub const PKU2U_PACKAGE_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("pku2u"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const PKU2U_PACKAGE_NAME_W: &str = "pku2u"; +pub const PKU2U_PACKAGE_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("pku2u"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const POLICY_AUDIT_EVENT_FAILURE: i32 = 2i32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1489,21 +1345,21 @@ pub const RTL_ENCRYPT_OPTION_FOR_SYSTEM: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const RTL_ENCRYPT_OPTION_SAME_LOGON: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SAM_CREDENTIAL_UPDATE_FREE_ROUTINE: &str = "CredentialUpdateFree"; +pub const SAM_CREDENTIAL_UPDATE_FREE_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::s!("CredentialUpdateFree"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SAM_CREDENTIAL_UPDATE_NOTIFY_ROUTINE: &str = "CredentialUpdateNotify"; +pub const SAM_CREDENTIAL_UPDATE_NOTIFY_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::s!("CredentialUpdateNotify"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SAM_CREDENTIAL_UPDATE_REGISTER_MAPPED_ENTRYPOINTS_ROUTINE: &str = "RegisterMappedEntrypoints"; +pub const SAM_CREDENTIAL_UPDATE_REGISTER_MAPPED_ENTRYPOINTS_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::s!("RegisterMappedEntrypoints"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SAM_CREDENTIAL_UPDATE_REGISTER_ROUTINE: &str = "CredentialUpdateRegister"; +pub const SAM_CREDENTIAL_UPDATE_REGISTER_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::s!("CredentialUpdateRegister"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SAM_DAYS_PER_WEEK: u32 = 7u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SAM_INIT_NOTIFICATION_ROUTINE: &str = "InitializeChangeNotify"; +pub const SAM_INIT_NOTIFICATION_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::s!("InitializeChangeNotify"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SAM_PASSWORD_CHANGE_NOTIFY_ROUTINE: &str = "PasswordChangeNotify"; +pub const SAM_PASSWORD_CHANGE_NOTIFY_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::s!("PasswordChangeNotify"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SAM_PASSWORD_FILTER_ROUTINE: &str = "PasswordFilter"; +pub const SAM_PASSWORD_FILTER_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::s!("PasswordFilter"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SASL_OPTION_AUTHZ_PROCESSING: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1517,11 +1373,11 @@ pub const SCHANNEL_ALERT: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SCHANNEL_CRED_VERSION: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SCHANNEL_NAME: &str = "Schannel"; +pub const SCHANNEL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Schannel"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SCHANNEL_NAME_A: &str = "Schannel"; +pub const SCHANNEL_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Schannel"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SCHANNEL_NAME_W: &str = "Schannel"; +pub const SCHANNEL_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Schannel"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SCHANNEL_RENEGOTIATE: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1917,7 +1773,7 @@ pub const SECPKG_INTERFACE_VERSION_8: u32 = 8388608u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SECPKG_INTERFACE_VERSION_9: u32 = 16777216u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SECPKG_LSAMODEINIT_NAME: &str = "SpLsaModeInitialize"; +pub const SECPKG_LSAMODEINIT_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("SpLsaModeInitialize"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SECPKG_MAX_OID_LENGTH: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1953,7 +1809,7 @@ pub const SECPKG_SURROGATE_LOGON_VERSION_1: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SECPKG_UNICODE_ATTRIBUTE: u32 = 2147483648u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SECPKG_USERMODEINIT_NAME: &str = "SpUserModeInitialize"; +pub const SECPKG_USERMODEINIT_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("SpUserModeInitialize"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SECQOP_WRAP_NO_ENCRYPT: u32 = 2147483649u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -1963,15 +1819,15 @@ pub const SECRET_QUERY_VALUE: i32 = 2i32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SECRET_SET_VALUE: i32 = 1i32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SECURITY_ENTRYPOINT: &str = "INITSECURITYINTERFACEA"; +pub const SECURITY_ENTRYPOINT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("INITSECURITYINTERFACEA"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SECURITY_ENTRYPOINT16: &str = "INITSECURITYINTERFACEA"; +pub const SECURITY_ENTRYPOINT16: ::windows_sys::core::PCSTR = ::windows_sys::s!("INITSECURITYINTERFACEA"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SECURITY_ENTRYPOINT_ANSI: &str = "InitSecurityInterfaceW"; +pub const SECURITY_ENTRYPOINT_ANSI: ::windows_sys::core::PCWSTR = ::windows_sys::w!("InitSecurityInterfaceW"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SECURITY_ENTRYPOINT_ANSIA: &str = "InitSecurityInterfaceA"; +pub const SECURITY_ENTRYPOINT_ANSIA: ::windows_sys::core::PCSTR = ::windows_sys::s!("InitSecurityInterfaceA"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SECURITY_ENTRYPOINT_ANSIW: &str = "InitSecurityInterfaceW"; +pub const SECURITY_ENTRYPOINT_ANSIW: ::windows_sys::core::PCSTR = ::windows_sys::s!("InitSecurityInterfaceW"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SECURITY_NATIVE_DREP: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -2047,39 +1903,39 @@ pub const SE_ADT_PARAMETER_WRITE_SYNCHRONOUS: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SE_ADT_POLICY_AUDIT_EVENT_TYPE_EX_BEGIN: u32 = 100u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SE_BATCH_LOGON_NAME: &str = "SeBatchLogonRight"; +pub const SE_BATCH_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SeBatchLogonRight"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SE_DENY_BATCH_LOGON_NAME: &str = "SeDenyBatchLogonRight"; +pub const SE_DENY_BATCH_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SeDenyBatchLogonRight"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SE_DENY_INTERACTIVE_LOGON_NAME: &str = "SeDenyInteractiveLogonRight"; +pub const SE_DENY_INTERACTIVE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SeDenyInteractiveLogonRight"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SE_DENY_NETWORK_LOGON_NAME: &str = "SeDenyNetworkLogonRight"; +pub const SE_DENY_NETWORK_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SeDenyNetworkLogonRight"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SE_DENY_REMOTE_INTERACTIVE_LOGON_NAME: &str = "SeDenyRemoteInteractiveLogonRight"; +pub const SE_DENY_REMOTE_INTERACTIVE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SeDenyRemoteInteractiveLogonRight"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SE_DENY_SERVICE_LOGON_NAME: &str = "SeDenyServiceLogonRight"; +pub const SE_DENY_SERVICE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SeDenyServiceLogonRight"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SE_INTERACTIVE_LOGON_NAME: &str = "SeInteractiveLogonRight"; +pub const SE_INTERACTIVE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SeInteractiveLogonRight"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SE_MAX_AUDIT_PARAMETERS: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SE_MAX_GENERIC_AUDIT_PARAMETERS: u32 = 28u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SE_NETWORK_LOGON_NAME: &str = "SeNetworkLogonRight"; +pub const SE_NETWORK_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SeNetworkLogonRight"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SE_REMOTE_INTERACTIVE_LOGON_NAME: &str = "SeRemoteInteractiveLogonRight"; +pub const SE_REMOTE_INTERACTIVE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SeRemoteInteractiveLogonRight"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SE_SERVICE_LOGON_NAME: &str = "SeServiceLogonRight"; +pub const SE_SERVICE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SeServiceLogonRight"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SL_CLIENTAPI_ZONE: u32 = 61440u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_DEFAULT_MIGRATION_ENCRYPTOR_URI: &str = "msft:spp/migrationencryptor/tokenact/1.0"; +pub const SL_DEFAULT_MIGRATION_ENCRYPTOR_URI: ::windows_sys::core::PCWSTR = ::windows_sys::w!("msft:spp/migrationencryptor/tokenact/1.0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_EVENT_LICENSING_STATE_CHANGED: &str = "msft:rm/event/licensingstatechanged"; +pub const SL_EVENT_LICENSING_STATE_CHANGED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("msft:rm/event/licensingstatechanged"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_EVENT_POLICY_CHANGED: &str = "msft:rm/event/policychanged"; +pub const SL_EVENT_POLICY_CHANGED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("msft:rm/event/policychanged"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_EVENT_USER_NOTIFICATION: &str = "msft:rm/event/usernotification"; +pub const SL_EVENT_USER_NOTIFICATION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("msft:rm/event/usernotification"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SL_E_ACTIVATION_IN_PROGRESS: ::windows_sys::core::HRESULT = -1073422296i32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -2649,75 +2505,75 @@ pub const SL_E_WINDOWS_INVALID_LICENSE_STATE: ::windows_sys::core::HRESULT = -10 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SL_E_WINDOWS_VERSION_MISMATCH: ::windows_sys::core::HRESULT = -1073422297i32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_ACTIVE_PLUGINS: &str = "ActivePlugins"; +pub const SL_INFO_KEY_ACTIVE_PLUGINS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ActivePlugins"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_AUTHOR: &str = "Author"; +pub const SL_INFO_KEY_AUTHOR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Author"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_BIOS_OA2_MINOR_VERSION: &str = "BiosOA2MinorVersion"; +pub const SL_INFO_KEY_BIOS_OA2_MINOR_VERSION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BiosOA2MinorVersion"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_BIOS_PKEY: &str = "BiosProductKey"; +pub const SL_INFO_KEY_BIOS_PKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BiosProductKey"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_BIOS_PKEY_DESCRIPTION: &str = "BiosProductKeyDescription"; +pub const SL_INFO_KEY_BIOS_PKEY_DESCRIPTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BiosProductKeyDescription"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_BIOS_PKEY_PKPN: &str = "BiosProductKeyPkPn"; +pub const SL_INFO_KEY_BIOS_PKEY_PKPN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BiosProductKeyPkPn"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_BIOS_SLIC_STATE: &str = "BiosSlicState"; +pub const SL_INFO_KEY_BIOS_SLIC_STATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BiosSlicState"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_CHANNEL: &str = "Channel"; +pub const SL_INFO_KEY_CHANNEL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Channel"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_DESCRIPTION: &str = "Description"; +pub const SL_INFO_KEY_DESCRIPTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Description"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_DIGITAL_PID: &str = "DigitalPID"; +pub const SL_INFO_KEY_DIGITAL_PID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DigitalPID"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_DIGITAL_PID2: &str = "DigitalPID2"; +pub const SL_INFO_KEY_DIGITAL_PID2: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DigitalPID2"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_IS_KMS: &str = "IsKeyManagementService"; +pub const SL_INFO_KEY_IS_KMS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IsKeyManagementService"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_IS_PRS: &str = "IsPRS"; +pub const SL_INFO_KEY_IS_PRS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IsPRS"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_KMS_CURRENT_COUNT: &str = "KeyManagementServiceCurrentCount"; +pub const SL_INFO_KEY_KMS_CURRENT_COUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyManagementServiceCurrentCount"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_KMS_FAILED_REQUESTS: &str = "KeyManagementServiceFailedRequests"; +pub const SL_INFO_KEY_KMS_FAILED_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyManagementServiceFailedRequests"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_KMS_LICENSED_REQUESTS: &str = "KeyManagementServiceLicensedRequests"; +pub const SL_INFO_KEY_KMS_LICENSED_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyManagementServiceLicensedRequests"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_KMS_NON_GENUINE_GRACE_REQUESTS: &str = "KeyManagementServiceNonGenuineGraceRequests"; +pub const SL_INFO_KEY_KMS_NON_GENUINE_GRACE_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyManagementServiceNonGenuineGraceRequests"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_KMS_NOTIFICATION_REQUESTS: &str = "KeyManagementServiceNotificationRequests"; +pub const SL_INFO_KEY_KMS_NOTIFICATION_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyManagementServiceNotificationRequests"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_KMS_OOB_GRACE_REQUESTS: &str = "KeyManagementServiceOOBGraceRequests"; +pub const SL_INFO_KEY_KMS_OOB_GRACE_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyManagementServiceOOBGraceRequests"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_KMS_OOT_GRACE_REQUESTS: &str = "KeyManagementServiceOOTGraceRequests"; +pub const SL_INFO_KEY_KMS_OOT_GRACE_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyManagementServiceOOTGraceRequests"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_KMS_REQUIRED_CLIENT_COUNT: &str = "KeyManagementServiceRequiredClientCount"; +pub const SL_INFO_KEY_KMS_REQUIRED_CLIENT_COUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyManagementServiceRequiredClientCount"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_KMS_TOTAL_REQUESTS: &str = "KeyManagementServiceTotalRequests"; +pub const SL_INFO_KEY_KMS_TOTAL_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyManagementServiceTotalRequests"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_KMS_UNLICENSED_REQUESTS: &str = "KeyManagementServiceUnlicensedRequests"; +pub const SL_INFO_KEY_KMS_UNLICENSED_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyManagementServiceUnlicensedRequests"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_LICENSE_TYPE: &str = "LicenseType"; +pub const SL_INFO_KEY_LICENSE_TYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LicenseType"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_LICENSOR_URL: &str = "LicensorUrl"; +pub const SL_INFO_KEY_LICENSOR_URL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LicensorUrl"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_NAME: &str = "Name"; +pub const SL_INFO_KEY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Name"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_PARTIAL_PRODUCT_KEY: &str = "PartialProductKey"; +pub const SL_INFO_KEY_PARTIAL_PRODUCT_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PartialProductKey"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_PRODUCT_KEY_ACTIVATION_URL: &str = "PKCURL"; +pub const SL_INFO_KEY_PRODUCT_KEY_ACTIVATION_URL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PKCURL"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_PRODUCT_SKU_ID: &str = "ProductSkuId"; +pub const SL_INFO_KEY_PRODUCT_SKU_ID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ProductSkuId"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_RIGHT_ACCOUNT_ACTIVATION_URL: &str = "RACURL"; +pub const SL_INFO_KEY_RIGHT_ACCOUNT_ACTIVATION_URL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RACURL"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_SECURE_PROCESSOR_ACTIVATION_URL: &str = "SPCURL"; +pub const SL_INFO_KEY_SECURE_PROCESSOR_ACTIVATION_URL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SPCURL"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_SECURE_STORE_ID: &str = "SecureStoreId"; +pub const SL_INFO_KEY_SECURE_STORE_ID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SecureStoreId"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_SYSTEM_STATE: &str = "SystemState"; +pub const SL_INFO_KEY_SYSTEM_STATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SystemState"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_USE_LICENSE_ACTIVATION_URL: &str = "EULURL"; +pub const SL_INFO_KEY_USE_LICENSE_ACTIVATION_URL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EULURL"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_INFO_KEY_VERSION: &str = "Version"; +pub const SL_INFO_KEY_VERSION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Version"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SL_INTERNAL_ZONE: u32 = 57344u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -2741,33 +2597,33 @@ pub const SL_MDOLLAR_ZONE: u32 = 40960u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SL_MSCH_ZONE: u32 = 49152u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_PKEY_DETECT: &str = "msft:rm/algorithm/pkey/detect"; +pub const SL_PKEY_DETECT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("msft:rm/algorithm/pkey/detect"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_PKEY_MS2005: &str = "msft:rm/algorithm/pkey/2005"; +pub const SL_PKEY_MS2005: ::windows_sys::core::PCWSTR = ::windows_sys::w!("msft:rm/algorithm/pkey/2005"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_PKEY_MS2009: &str = "msft:rm/algorithm/pkey/2009"; +pub const SL_PKEY_MS2009: ::windows_sys::core::PCWSTR = ::windows_sys::w!("msft:rm/algorithm/pkey/2009"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_POLICY_EVALUATION_MODE_ENABLED: &str = "Security-SPP-EvaluationModeEnabled"; +pub const SL_POLICY_EVALUATION_MODE_ENABLED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Security-SPP-EvaluationModeEnabled"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_PROP_ACTIVATION_VALIDATION_IN_PROGRESS: &str = "SL_ACTIVATION_VALIDATION_IN_PROGRESS"; +pub const SL_PROP_ACTIVATION_VALIDATION_IN_PROGRESS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SL_ACTIVATION_VALIDATION_IN_PROGRESS"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_PROP_BRT_COMMIT: &str = "SL_BRT_COMMIT"; +pub const SL_PROP_BRT_COMMIT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SL_BRT_COMMIT"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_PROP_BRT_DATA: &str = "SL_BRT_DATA"; +pub const SL_PROP_BRT_DATA: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SL_BRT_DATA"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_PROP_GENUINE_RESULT: &str = "SL_GENUINE_RESULT"; +pub const SL_PROP_GENUINE_RESULT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SL_GENUINE_RESULT"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_PROP_GET_GENUINE_AUTHZ: &str = "SL_GET_GENUINE_AUTHZ"; +pub const SL_PROP_GET_GENUINE_AUTHZ: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SL_GET_GENUINE_AUTHZ"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_PROP_GET_GENUINE_SERVER_AUTHZ: &str = "SL_GET_GENUINE_SERVER_AUTHZ"; +pub const SL_PROP_GET_GENUINE_SERVER_AUTHZ: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SL_GET_GENUINE_SERVER_AUTHZ"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_PROP_LAST_ACT_ATTEMPT_HRESULT: &str = "SL_LAST_ACT_ATTEMPT_HRESULT"; +pub const SL_PROP_LAST_ACT_ATTEMPT_HRESULT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SL_LAST_ACT_ATTEMPT_HRESULT"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_PROP_LAST_ACT_ATTEMPT_SERVER_FLAGS: &str = "SL_LAST_ACT_ATTEMPT_SERVER_FLAGS"; +pub const SL_PROP_LAST_ACT_ATTEMPT_SERVER_FLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SL_LAST_ACT_ATTEMPT_SERVER_FLAGS"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_PROP_LAST_ACT_ATTEMPT_TIME: &str = "SL_LAST_ACT_ATTEMPT_TIME"; +pub const SL_PROP_LAST_ACT_ATTEMPT_TIME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SL_LAST_ACT_ATTEMPT_TIME"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SL_PROP_NONGENUINE_GRACE_FLAG: &str = "SL_NONGENUINE_GRACE_FLAG"; +pub const SL_PROP_NONGENUINE_GRACE_FLAG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SL_NONGENUINE_GRACE_FLAG"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SL_REARM_REBOOT_REQUIRED: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -3013,7 +2869,7 @@ pub const SPP_MIGRATION_GATHER_ALL: u32 = 4294967295u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SPP_MIGRATION_GATHER_MIGRATABLE_APPS: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SP_ACCEPT_CREDENTIALS_NAME: &str = "SpAcceptCredentials\u{0}"; +pub const SP_ACCEPT_CREDENTIALS_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("SpAcceptCredentials\u{0}"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SP_PROT_ALL: u32 = 4294967295u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -3071,21 +2927,21 @@ pub const SP_PROT_UNI_CLIENT: u32 = 2147483648u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SP_PROT_UNI_SERVER: u32 = 1073741824u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SSL2SP_NAME: &str = "Microsoft SSL 2.0"; +pub const SSL2SP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft SSL 2.0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SSL2SP_NAME_A: &str = "Microsoft SSL 2.0"; +pub const SSL2SP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft SSL 2.0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SSL2SP_NAME_W: &str = "Microsoft SSL 2.0"; +pub const SSL2SP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft SSL 2.0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SSL3SP_NAME: &str = "Microsoft SSL 3.0"; +pub const SSL3SP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft SSL 3.0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SSL3SP_NAME_A: &str = "Microsoft SSL 3.0"; +pub const SSL3SP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft SSL 3.0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SSL3SP_NAME_W: &str = "Microsoft SSL 3.0"; +pub const SSL3SP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft SSL 3.0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SSL_CRACK_CERTIFICATE_NAME: &str = "SslCrackCertificate"; +pub const SSL_CRACK_CERTIFICATE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SslCrackCertificate"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const SSL_FREE_CERTIFICATE_NAME: &str = "SslFreeCertificate"; +pub const SSL_FREE_CERTIFICATE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SslFreeCertificate"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SSL_SESSION_RECONNECT: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -3101,11 +2957,11 @@ pub const SSPIPFC_USE_CREDUIBROKER: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const SZ_ALG_MAX_SIZE: u32 = 64u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const TLS1SP_NAME: &str = "Microsoft TLS 1.0"; +pub const TLS1SP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft TLS 1.0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const TLS1SP_NAME_A: &str = "Microsoft TLS 1.0"; +pub const TLS1SP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft TLS 1.0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const TLS1SP_NAME_W: &str = "Microsoft TLS 1.0"; +pub const TLS1SP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft TLS 1.0"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const TLS1_ALERT_ACCESS_DENIED: u32 = 49u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -3197,11 +3053,11 @@ pub const TRUST_ATTRIBUTE_TRUST_USES_RC4_ENCRYPTION: u32 = 128u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const UNDERSTANDS_LONG_NAMES: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const UNISP_NAME: &str = "Microsoft Unified Security Protocol Provider"; +pub const UNISP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Unified Security Protocol Provider"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const UNISP_NAME_A: &str = "Microsoft Unified Security Protocol Provider"; +pub const UNISP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft Unified Security Protocol Provider"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const UNISP_NAME_W: &str = "Microsoft Unified Security Protocol Provider"; +pub const UNISP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Unified Security Protocol Provider"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const UNISP_RPC_ID: u32 = 14u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -3251,12 +3107,13 @@ pub const USER_USE_DES_KEY_ONLY: u32 = 32768u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const USER_WORKSTATION_TRUST_ACCOUNT: u32 = 128u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const WDIGEST_SP_NAME: &str = "WDigest"; +pub const WDIGEST_SP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WDigest"); +#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] +pub const WDIGEST_SP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("WDigest"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const WDIGEST_SP_NAME_A: &str = "WDigest"; +pub const WDIGEST_SP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WDigest"); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub const WDIGEST_SP_NAME_W: &str = "WDigest"; -pub const WINDOWS_SLID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1439246132, data2: 54914, data3: 19825, data4: [152, 62, 214, 236, 63, 22, 5, 159] }; +pub const WINDOWS_SLID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x55c92734_d682_4d71_983e_d6ec3f16059f); #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub const _FACILITY_WINDOWS_STORE: u32 = 63u32; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] @@ -5956,6 +5813,7 @@ impl ::core::clone::Clone for LSA_FOREST_TRUST_RECORD_0 { *self } } +pub type LSA_HANDLE = isize; #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub struct LSA_LAST_INTER_LOGON_INFO { @@ -6179,7 +6037,6 @@ impl ::core::clone::Clone for LSA_TRUST_INFORMATION { *self } } -pub type LsaHandle = isize; #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub struct MSV1_0_AV_PAIR { @@ -8758,7 +8615,7 @@ impl ::core::clone::Clone for SecPkgContext_Flags { #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"] #[cfg(feature = "Win32_Security_Cryptography")] pub struct SecPkgContext_IssuerListInfoEx { - pub aIssuers: *mut super::super::Cryptography::CRYPTOAPI_BLOB, + pub aIssuers: *mut super::super::Cryptography::CRYPT_INTEGER_BLOB, pub cIssuers: u32, } #[cfg(feature = "Win32_Security_Cryptography")] @@ -9884,7 +9741,7 @@ pub type CHANGE_PASSWORD_FN_W = ::core::option::Option<unsafe extern "system" fn pub type COMPLETE_AUTH_TOKEN_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"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)>; +pub type CredFreeCredentialsFn = ::core::option::Option<unsafe extern "system" fn(count: u32, credentials: *mut *mut ENCRYPTED_CREDENTIALW) -> ()>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] pub type CredReadDomainCredentialsFn = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, credflags: u32, targetinfo: *const super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, flags: u32, count: *mut u32, credential: *mut *mut *mut ENCRYPTED_CREDENTIALW) -> super::super::super::Foundation::NTSTATUS>; @@ -9988,10 +9845,10 @@ pub type MAKE_SIGNATURE_FN = ::core::option::Option<unsafe extern "system" fn(pa pub type PKSEC_CREATE_CONTEXT_LIST = ::core::option::Option<unsafe extern "system" fn(r#type: KSEC_CONTEXT_TYPE) -> *mut ::core::ffi::c_void>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] -pub type PKSEC_DEREFERENCE_LIST_ENTRY = ::core::option::Option<unsafe extern "system" fn(entry: *const KSEC_LIST_ENTRY, delete: *mut u8)>; +pub type PKSEC_DEREFERENCE_LIST_ENTRY = ::core::option::Option<unsafe extern "system" fn(entry: *const KSEC_LIST_ENTRY, delete: *mut u8) -> ()>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Kernel\"`*"] #[cfg(feature = "Win32_System_Kernel")] -pub type PKSEC_INSERT_LIST_ENTRY = ::core::option::Option<unsafe extern "system" fn(list: *const ::core::ffi::c_void, entry: *const KSEC_LIST_ENTRY)>; +pub type PKSEC_INSERT_LIST_ENTRY = ::core::option::Option<unsafe extern "system" fn(list: *const ::core::ffi::c_void, entry: *const KSEC_LIST_ENTRY) -> ()>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] pub type PKSEC_LOCATE_PKG_BY_ID = ::core::option::Option<unsafe extern "system" fn(packageid: u32) -> *mut ::core::ffi::c_void>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] @@ -10026,7 +9883,7 @@ pub type PLSA_AP_CALL_PACKAGE_PASSTHROUGH = ::core::option::Option<unsafe extern pub type PLSA_AP_INITIALIZE_PACKAGE = ::core::option::Option<unsafe extern "system" fn(authenticationpackageid: u32, lsadispatchtable: *const LSA_DISPATCH_TABLE, database: *const super::super::super::System::Kernel::STRING, confidentiality: *const super::super::super::System::Kernel::STRING, authenticationpackagename: *mut *mut super::super::super::System::Kernel::STRING) -> super::super::super::Foundation::NTSTATUS>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PLSA_AP_LOGON_TERMINATED = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID)>; +pub type PLSA_AP_LOGON_TERMINATED = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID) -> ()>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PLSA_AP_LOGON_USER = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, logontype: SECURITY_LOGON_TYPE, authenticationinformation: *const ::core::ffi::c_void, clientauthenticationbase: *const ::core::ffi::c_void, authenticationinformationlength: u32, profilebuffer: *mut *mut ::core::ffi::c_void, profilebufferlength: *mut u32, logonid: *mut super::super::super::Foundation::LUID, substatus: *mut i32, tokeninformationtype: *mut LSA_TOKEN_INFORMATION_TYPE, tokeninformation: *mut *mut ::core::ffi::c_void, accountname: *mut *mut super::super::super::Foundation::UNICODE_STRING, authenticatingauthority: *mut *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS>; @@ -10112,10 +9969,10 @@ pub type PLSA_AP_PRE_LOGON_USER_SURROGATE = ::core::option::Option<unsafe extern pub type PLSA_AUDIT_ACCOUNT_LOGON = ::core::option::Option<unsafe extern "system" fn(auditid: u32, success: super::super::super::Foundation::BOOLEAN, source: *const super::super::super::Foundation::UNICODE_STRING, clientname: *const super::super::super::Foundation::UNICODE_STRING, mappedname: *const super::super::super::Foundation::UNICODE_STRING, status: super::super::super::Foundation::NTSTATUS) -> super::super::super::Foundation::NTSTATUS>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PLSA_AUDIT_LOGON = ::core::option::Option<unsafe extern "system" fn(status: super::super::super::Foundation::NTSTATUS, substatus: super::super::super::Foundation::NTSTATUS, accountname: *const super::super::super::Foundation::UNICODE_STRING, authenticatingauthority: *const super::super::super::Foundation::UNICODE_STRING, workstationname: *const super::super::super::Foundation::UNICODE_STRING, usersid: super::super::super::Foundation::PSID, logontype: SECURITY_LOGON_TYPE, tokensource: *const super::super::TOKEN_SOURCE, logonid: *const super::super::super::Foundation::LUID)>; +pub type PLSA_AUDIT_LOGON = ::core::option::Option<unsafe extern "system" fn(status: super::super::super::Foundation::NTSTATUS, substatus: super::super::super::Foundation::NTSTATUS, accountname: *const super::super::super::Foundation::UNICODE_STRING, authenticatingauthority: *const super::super::super::Foundation::UNICODE_STRING, workstationname: *const super::super::super::Foundation::UNICODE_STRING, usersid: super::super::super::Foundation::PSID, logontype: SECURITY_LOGON_TYPE, tokensource: *const super::super::TOKEN_SOURCE, logonid: *const super::super::super::Foundation::LUID) -> ()>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PLSA_AUDIT_LOGON_EX = ::core::option::Option<unsafe extern "system" fn(status: super::super::super::Foundation::NTSTATUS, substatus: super::super::super::Foundation::NTSTATUS, accountname: *const super::super::super::Foundation::UNICODE_STRING, authenticatingauthority: *const super::super::super::Foundation::UNICODE_STRING, workstationname: *const super::super::super::Foundation::UNICODE_STRING, usersid: super::super::super::Foundation::PSID, logontype: SECURITY_LOGON_TYPE, impersonationlevel: super::super::SECURITY_IMPERSONATION_LEVEL, tokensource: *const super::super::TOKEN_SOURCE, logonid: *const super::super::super::Foundation::LUID)>; +pub type PLSA_AUDIT_LOGON_EX = ::core::option::Option<unsafe extern "system" fn(status: super::super::super::Foundation::NTSTATUS, substatus: super::super::super::Foundation::NTSTATUS, accountname: *const super::super::super::Foundation::UNICODE_STRING, authenticatingauthority: *const super::super::super::Foundation::UNICODE_STRING, workstationname: *const super::super::super::Foundation::UNICODE_STRING, usersid: super::super::super::Foundation::PSID, logontype: SECURITY_LOGON_TYPE, impersonationlevel: super::super::SECURITY_IMPERSONATION_LEVEL, tokensource: *const super::super::TOKEN_SOURCE, logonid: *const super::super::super::Foundation::LUID) -> ()>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PLSA_CALLBACK_FUNCTION = ::core::option::Option<unsafe extern "system" fn(argument1: usize, argument2: usize, inputbuffer: *mut SecBuffer, outputbuffer: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>; @@ -10186,11 +10043,11 @@ pub type PLSA_EXPAND_AUTH_DATA_FOR_DOMAIN = ::core::option::Option<unsafe extern #[cfg(feature = "Win32_Foundation")] pub type PLSA_FREE_CLIENT_BUFFER = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, clientbaseaddress: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub type PLSA_FREE_LSA_HEAP = ::core::option::Option<unsafe extern "system" fn(base: *const ::core::ffi::c_void)>; +pub type PLSA_FREE_LSA_HEAP = ::core::option::Option<unsafe extern "system" fn(base: *const ::core::ffi::c_void) -> ()>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub type PLSA_FREE_PRIVATE_HEAP = ::core::option::Option<unsafe extern "system" fn(base: *const ::core::ffi::c_void)>; +pub type PLSA_FREE_PRIVATE_HEAP = ::core::option::Option<unsafe extern "system" fn(base: *const ::core::ffi::c_void) -> ()>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub type PLSA_FREE_SHARED_MEMORY = ::core::option::Option<unsafe extern "system" fn(sharedmem: *const ::core::ffi::c_void, memory: *mut ::core::ffi::c_void)>; +pub type PLSA_FREE_SHARED_MEMORY = ::core::option::Option<unsafe extern "system" fn(sharedmem: *const ::core::ffi::c_void, memory: *mut ::core::ffi::c_void) -> ()>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PLSA_GET_APP_MODE_INFO = ::core::option::Option<unsafe extern "system" fn(userfunction: *mut u32, argument1: *mut usize, argument2: *mut usize, userdata: *mut SecBuffer, returntolsa: *mut super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::NTSTATUS>; @@ -10233,7 +10090,7 @@ pub type PLSA_OPEN_SAM_USER = ::core::option::Option<unsafe extern "system" fn(n #[cfg(feature = "Win32_Foundation")] pub type PLSA_OPEN_TOKEN_BY_LOGON_ID = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, rettokenhandle: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub type PLSA_PROTECT_MEMORY = ::core::option::Option<unsafe extern "system" fn(buffer: *mut ::core::ffi::c_void, buffersize: u32)>; +pub type PLSA_PROTECT_MEMORY = ::core::option::Option<unsafe extern "system" fn(buffer: *mut ::core::ffi::c_void, buffersize: u32) -> ()>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PLSA_QUERY_CLIENT_REQUEST = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, querytype: u32, replybuffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; @@ -10242,7 +10099,7 @@ pub type PLSA_QUERY_CLIENT_REQUEST = ::core::option::Option<unsafe extern "syste pub type PLSA_REDIRECTED_LOGON_CALLBACK = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE, buffer: *mut ::core::ffi::c_void, bufferlength: u32, returnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32) -> super::super::super::Foundation::NTSTATUS>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE)>; +pub type PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE) -> ()>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PLSA_REDIRECTED_LOGON_GET_LOGON_CREDS = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE, logonbuffer: *mut *mut u8, logonbufferlength: *mut u32) -> super::super::super::Foundation::NTSTATUS>; @@ -10271,7 +10128,7 @@ pub type PLSA_UNLOAD_PACKAGE = ::core::option::Option<unsafe extern "system" fn( #[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>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub type PSAM_CREDENTIAL_UPDATE_FREE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(p: *const ::core::ffi::c_void)>; +pub type PSAM_CREDENTIAL_UPDATE_FREE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(p: *const ::core::ffi::c_void) -> ()>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PSAM_CREDENTIAL_UPDATE_NOTIFY_ROUTINE = ::core::option::Option<unsafe extern "system" fn(clearpassword: *const super::super::super::Foundation::UNICODE_STRING, oldcredentials: *const ::core::ffi::c_void, oldcredentialsize: u32, useraccountcontrol: u32, upn: *const super::super::super::Foundation::UNICODE_STRING, username: *const super::super::super::Foundation::UNICODE_STRING, netbiosdomainname: *const super::super::super::Foundation::UNICODE_STRING, dnsdomainname: *const super::super::super::Foundation::UNICODE_STRING, newcredentials: *mut *mut ::core::ffi::c_void, newcredentialsize: *mut u32) -> super::super::super::Foundation::NTSTATUS>; @@ -10325,7 +10182,7 @@ pub type QUERY_SECURITY_PACKAGE_INFO_FN_W = ::core::option::Option<unsafe extern #[cfg(feature = "Win32_Security_Credentials")] pub type REVERT_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] -pub 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)>; +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_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] #[cfg(feature = "Win32_Security_Credentials")] pub type SET_CONTEXT_ATTRIBUTES_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>; @@ -10349,7 +10206,7 @@ pub type SSL_EMPTY_CACHE_FN_A = ::core::option::Option<unsafe extern "system" fn pub type SSL_EMPTY_CACHE_FN_W = ::core::option::Option<unsafe extern "system" fn(psztargetname: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type SSL_FREE_CERTIFICATE_FN = ::core::option::Option<unsafe extern "system" fn(pcertificate: *mut X509Certificate)>; +pub type SSL_FREE_CERTIFICATE_FN = ::core::option::Option<unsafe extern "system" fn(pcertificate: *mut X509Certificate) -> ()>; #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type SpAcceptCredentialsFn = ::core::option::Option<unsafe extern "system" fn(logontype: SECURITY_LOGON_TYPE, accountname: *const super::super::super::Foundation::UNICODE_STRING, primarycredentials: *const SECPKG_PRIMARY_CRED, supplementalcredentials: *const SECPKG_SUPPLEMENTAL_CRED) -> super::super::super::Foundation::NTSTATUS>; diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Authorization/UI/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Authorization/UI/mod.rs index afa421d15..1892bd852 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/Authorization/UI/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/Authorization/UI/mod.rs @@ -1,15 +1,9 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_UI_Controls\"`*"] - #[cfg(feature = "Win32_UI_Controls")] - pub fn CreateSecurityPage(psi: ISecurityInformation) -> super::super::super::UI::Controls::HPROPSHEETPAGE; - #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn EditSecurity(hwndowner: super::super::super::Foundation::HWND, psi: ISecurityInformation) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn EditSecurityAdvanced(hwndowner: super::super::super::Foundation::HWND, psi: ISecurityInformation, usipage: SI_PAGE_TYPE) -> ::windows_sys::core::HRESULT; -} +#[cfg(feature = "Win32_UI_Controls")] +::windows_sys::core::link ! ( "aclui.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_UI_Controls\"`*"] fn CreateSecurityPage ( psi : ISecurityInformation ) -> super::super::super::UI::Controls:: HPROPSHEETPAGE ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "aclui.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"] fn EditSecurity ( hwndowner : super::super::super::Foundation:: HWND , psi : ISecurityInformation ) -> super::super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "aclui.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"] fn EditSecurityAdvanced ( hwndowner : super::super::super::Foundation:: HWND , psi : ISecurityInformation , usipage : SI_PAGE_TYPE ) -> :: windows_sys::core::HRESULT ); pub type IEffectivePermission = *mut ::core::ffi::c_void; pub type IEffectivePermission2 = *mut ::core::ffi::c_void; pub type ISecurityInformation = *mut ::core::ffi::c_void; @@ -18,7 +12,7 @@ pub type ISecurityInformation3 = *mut ::core::ffi::c_void; pub type ISecurityInformation4 = *mut ::core::ffi::c_void; pub type ISecurityObjectTypeInfo = *mut ::core::ffi::c_void; #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] -pub const CFSTR_ACLUI_SID_INFO_LIST: &str = "CFSTR_ACLUI_SID_INFO_LIST"; +pub const CFSTR_ACLUI_SID_INFO_LIST: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CFSTR_ACLUI_SID_INFO_LIST"); #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] pub const DOBJ_COND_NTACLS: i32 = 8i32; #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"] diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Authorization/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Authorization/mod.rs index a2a18dd5c..f39863ddf 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/Authorization/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/Authorization/mod.rs @@ -1,248 +1,165 @@ #[cfg(feature = "Win32_Security_Authorization_UI")] pub mod UI; -#[cfg_attr(windows, link(name = "windows"))] -extern "cdecl" { - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzInitializeObjectAccessAuditEvent(flags: AUTHZ_INITIALIZE_OBJECT_ACCESS_AUDIT_EVENT_FLAGS, hauditeventtype: AUTHZ_AUDIT_EVENT_TYPE_HANDLE, szoperationtype: ::windows_sys::core::PCWSTR, szobjecttype: ::windows_sys::core::PCWSTR, szobjectname: ::windows_sys::core::PCWSTR, szadditionalinfo: ::windows_sys::core::PCWSTR, phauditevent: *mut isize, dwadditionalparametercount: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzInitializeObjectAccessAuditEvent2(flags: u32, hauditeventtype: AUTHZ_AUDIT_EVENT_TYPE_HANDLE, szoperationtype: ::windows_sys::core::PCWSTR, szobjecttype: ::windows_sys::core::PCWSTR, szobjectname: ::windows_sys::core::PCWSTR, szadditionalinfo: ::windows_sys::core::PCWSTR, szadditionalinfo2: ::windows_sys::core::PCWSTR, phauditevent: *mut isize, dwadditionalparametercount: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzReportSecurityEvent(dwflags: u32, heventprovider: AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE, dwauditid: u32, pusersid: super::super::Foundation::PSID, dwcount: u32) -> super::super::Foundation::BOOL; -} -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzAccessCheck(flags: AUTHZ_ACCESS_CHECK_FLAGS, hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, prequest: *const AUTHZ_ACCESS_REQUEST, hauditevent: AUTHZ_AUDIT_EVENT_HANDLE, psecuritydescriptor: super::PSECURITY_DESCRIPTOR, optionalsecuritydescriptorarray: *const super::PSECURITY_DESCRIPTOR, optionalsecuritydescriptorcount: u32, preply: *mut AUTHZ_ACCESS_REPLY, phaccesscheckresults: *mut isize) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzAddSidsToContext(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, sids: *const super::SID_AND_ATTRIBUTES, sidcount: u32, restrictedsids: *const super::SID_AND_ATTRIBUTES, restrictedsidcount: u32, phnewauthzclientcontext: *mut AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzCachedAccessCheck(flags: u32, haccesscheckresults: AUTHZ_ACCESS_CHECK_RESULTS_HANDLE, prequest: *const AUTHZ_ACCESS_REQUEST, hauditevent: AUTHZ_AUDIT_EVENT_HANDLE, preply: *mut AUTHZ_ACCESS_REPLY) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzEnumerateSecurityEventSources(dwflags: u32, buffer: *mut AUTHZ_SOURCE_SCHEMA_REGISTRATION, pdwcount: *mut u32, pdwlength: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzEvaluateSacl(authzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, prequest: *const AUTHZ_ACCESS_REQUEST, sacl: *const super::ACL, grantedaccess: u32, accessgranted: super::super::Foundation::BOOL, pbgenerateaudit: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzFreeAuditEvent(hauditevent: AUTHZ_AUDIT_EVENT_HANDLE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzFreeCentralAccessPolicyCache() -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzFreeContext(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzFreeHandle(haccesscheckresults: AUTHZ_ACCESS_CHECK_RESULTS_HANDLE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzFreeResourceManager(hauthzresourcemanager: AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzGetInformationFromContext(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, infoclass: AUTHZ_CONTEXT_INFORMATION_CLASS, buffersize: u32, psizerequired: *mut u32, buffer: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzInitializeCompoundContext(usercontext: AUTHZ_CLIENT_CONTEXT_HANDLE, devicecontext: AUTHZ_CLIENT_CONTEXT_HANDLE, phcompoundcontext: *mut AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzInitializeContextFromAuthzContext(flags: u32, hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, pexpirationtime: *const i64, identifier: super::super::Foundation::LUID, dynamicgroupargs: *const ::core::ffi::c_void, phnewauthzclientcontext: *mut AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzInitializeContextFromSid(flags: u32, usersid: super::super::Foundation::PSID, hauthzresourcemanager: AUTHZ_RESOURCE_MANAGER_HANDLE, pexpirationtime: *const i64, identifier: super::super::Foundation::LUID, dynamicgroupargs: *const ::core::ffi::c_void, phauthzclientcontext: *mut AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzInitializeContextFromToken(flags: u32, tokenhandle: super::super::Foundation::HANDLE, hauthzresourcemanager: AUTHZ_RESOURCE_MANAGER_HANDLE, pexpirationtime: *const i64, identifier: super::super::Foundation::LUID, dynamicgroupargs: *const ::core::ffi::c_void, phauthzclientcontext: *mut AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzInitializeRemoteResourceManager(prpcinitinfo: *const AUTHZ_RPC_INIT_INFO_CLIENT, phauthzresourcemanager: *mut AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzInitializeResourceManager(flags: u32, pfndynamicaccesscheck: PFN_AUTHZ_DYNAMIC_ACCESS_CHECK, pfncomputedynamicgroups: PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS, pfnfreedynamicgroups: PFN_AUTHZ_FREE_DYNAMIC_GROUPS, szresourcemanagername: ::windows_sys::core::PCWSTR, phauthzresourcemanager: *mut AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzInitializeResourceManagerEx(flags: AUTHZ_RESOURCE_MANAGER_FLAGS, pauthzinitinfo: *const AUTHZ_INIT_INFO, phauthzresourcemanager: *mut AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzInstallSecurityEventSource(dwflags: u32, pregistration: *const AUTHZ_SOURCE_SCHEMA_REGISTRATION) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzModifyClaims(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, claimclass: AUTHZ_CONTEXT_INFORMATION_CLASS, pclaimoperations: *const AUTHZ_SECURITY_ATTRIBUTE_OPERATION, pclaims: *const AUTHZ_SECURITY_ATTRIBUTES_INFORMATION) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzModifySecurityAttributes(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, poperations: *const AUTHZ_SECURITY_ATTRIBUTE_OPERATION, pattributes: *const AUTHZ_SECURITY_ATTRIBUTES_INFORMATION) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzModifySids(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, sidclass: AUTHZ_CONTEXT_INFORMATION_CLASS, psidoperations: *const AUTHZ_SID_OPERATION, psids: *const super::TOKEN_GROUPS) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzOpenObjectAudit(flags: u32, hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, prequest: *const AUTHZ_ACCESS_REQUEST, hauditevent: AUTHZ_AUDIT_EVENT_HANDLE, psecuritydescriptor: super::PSECURITY_DESCRIPTOR, optionalsecuritydescriptorarray: *const super::PSECURITY_DESCRIPTOR, optionalsecuritydescriptorcount: u32, preply: *const AUTHZ_ACCESS_REPLY) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] - pub fn AuthzRegisterCapChangeNotification(phcapchangesubscription: *mut *mut AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__, pfncapchangecallback: super::super::System::Threading::LPTHREAD_START_ROUTINE, pcallbackcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzRegisterSecurityEventSource(dwflags: u32, szeventsourcename: ::windows_sys::core::PCWSTR, pheventprovider: *mut isize) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzReportSecurityEventFromParams(dwflags: u32, heventprovider: AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE, dwauditid: u32, pusersid: super::super::Foundation::PSID, pparams: *const AUDIT_PARAMS) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzSetAppContainerInformation(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, pappcontainersid: super::super::Foundation::PSID, capabilitycount: u32, pcapabilitysids: *const super::SID_AND_ATTRIBUTES) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzUninstallSecurityEventSource(dwflags: u32, szeventsourcename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzUnregisterCapChangeNotification(hcapchangesubscription: *const AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AuthzUnregisterSecurityEventSource(dwflags: u32, pheventprovider: *mut isize) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn BuildExplicitAccessWithNameA(pexplicitaccess: *mut EXPLICIT_ACCESS_A, ptrusteename: ::windows_sys::core::PCSTR, accesspermissions: u32, accessmode: ACCESS_MODE, inheritance: super::ACE_FLAGS); - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn BuildExplicitAccessWithNameW(pexplicitaccess: *mut EXPLICIT_ACCESS_W, ptrusteename: ::windows_sys::core::PCWSTR, accesspermissions: u32, accessmode: ACCESS_MODE, inheritance: super::ACE_FLAGS); - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn BuildImpersonateExplicitAccessWithNameA(pexplicitaccess: *mut EXPLICIT_ACCESS_A, ptrusteename: ::windows_sys::core::PCSTR, ptrustee: *const TRUSTEE_A, accesspermissions: u32, accessmode: ACCESS_MODE, inheritance: u32); - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn BuildImpersonateExplicitAccessWithNameW(pexplicitaccess: *mut EXPLICIT_ACCESS_W, ptrusteename: ::windows_sys::core::PCWSTR, ptrustee: *const TRUSTEE_W, accesspermissions: u32, accessmode: ACCESS_MODE, inheritance: u32); - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn BuildImpersonateTrusteeA(ptrustee: *mut TRUSTEE_A, pimpersonatetrustee: *const TRUSTEE_A); - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn BuildImpersonateTrusteeW(ptrustee: *mut TRUSTEE_W, pimpersonatetrustee: *const TRUSTEE_W); - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn BuildSecurityDescriptorA(powner: *const TRUSTEE_A, pgroup: *const TRUSTEE_A, ccountofaccessentries: u32, plistofaccessentries: *const EXPLICIT_ACCESS_A, ccountofauditentries: u32, plistofauditentries: *const EXPLICIT_ACCESS_A, poldsd: super::PSECURITY_DESCRIPTOR, psizenewsd: *mut u32, pnewsd: *mut super::PSECURITY_DESCRIPTOR) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn BuildSecurityDescriptorW(powner: *const TRUSTEE_W, pgroup: *const TRUSTEE_W, ccountofaccessentries: u32, plistofaccessentries: *const EXPLICIT_ACCESS_W, ccountofauditentries: u32, plistofauditentries: *const EXPLICIT_ACCESS_W, poldsd: super::PSECURITY_DESCRIPTOR, psizenewsd: *mut u32, pnewsd: *mut super::PSECURITY_DESCRIPTOR) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn BuildTrusteeWithNameA(ptrustee: *mut TRUSTEE_A, pname: ::windows_sys::core::PCSTR); - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn BuildTrusteeWithNameW(ptrustee: *mut TRUSTEE_W, pname: ::windows_sys::core::PCWSTR); - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn BuildTrusteeWithObjectsAndNameA(ptrustee: *mut TRUSTEE_A, pobjname: *const OBJECTS_AND_NAME_A, objecttype: SE_OBJECT_TYPE, objecttypename: ::windows_sys::core::PCSTR, inheritedobjecttypename: ::windows_sys::core::PCSTR, name: ::windows_sys::core::PCSTR); - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn BuildTrusteeWithObjectsAndNameW(ptrustee: *mut TRUSTEE_W, pobjname: *const OBJECTS_AND_NAME_W, objecttype: SE_OBJECT_TYPE, objecttypename: ::windows_sys::core::PCWSTR, inheritedobjecttypename: ::windows_sys::core::PCWSTR, name: ::windows_sys::core::PCWSTR); - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BuildTrusteeWithObjectsAndSidA(ptrustee: *mut TRUSTEE_A, pobjsid: *const OBJECTS_AND_SID, pobjectguid: *const ::windows_sys::core::GUID, pinheritedobjectguid: *const ::windows_sys::core::GUID, psid: super::super::Foundation::PSID); - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BuildTrusteeWithObjectsAndSidW(ptrustee: *mut TRUSTEE_W, pobjsid: *const OBJECTS_AND_SID, pobjectguid: *const ::windows_sys::core::GUID, pinheritedobjectguid: *const ::windows_sys::core::GUID, psid: super::super::Foundation::PSID); - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BuildTrusteeWithSidA(ptrustee: *mut TRUSTEE_A, psid: super::super::Foundation::PSID); - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BuildTrusteeWithSidW(ptrustee: *mut TRUSTEE_W, psid: super::super::Foundation::PSID); - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ConvertSecurityDescriptorToStringSecurityDescriptorA(securitydescriptor: super::PSECURITY_DESCRIPTOR, requestedstringsdrevision: u32, securityinformation: u32, stringsecuritydescriptor: *mut ::windows_sys::core::PSTR, stringsecuritydescriptorlen: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ConvertSecurityDescriptorToStringSecurityDescriptorW(securitydescriptor: super::PSECURITY_DESCRIPTOR, requestedstringsdrevision: u32, securityinformation: u32, stringsecuritydescriptor: *mut ::windows_sys::core::PWSTR, stringsecuritydescriptorlen: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ConvertSidToStringSidA(sid: super::super::Foundation::PSID, stringsid: *mut ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ConvertSidToStringSidW(sid: super::super::Foundation::PSID, stringsid: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ConvertStringSecurityDescriptorToSecurityDescriptorA(stringsecuritydescriptor: ::windows_sys::core::PCSTR, stringsdrevision: u32, securitydescriptor: *mut super::PSECURITY_DESCRIPTOR, securitydescriptorsize: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ConvertStringSecurityDescriptorToSecurityDescriptorW(stringsecuritydescriptor: ::windows_sys::core::PCWSTR, stringsdrevision: u32, securitydescriptor: *mut super::PSECURITY_DESCRIPTOR, securitydescriptorsize: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ConvertStringSidToSidA(stringsid: ::windows_sys::core::PCSTR, sid: *mut super::super::Foundation::PSID) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ConvertStringSidToSidW(stringsid: ::windows_sys::core::PCWSTR, sid: *mut super::super::Foundation::PSID) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn FreeInheritedFromArray(pinheritarray: *const INHERITED_FROMW, acecnt: u16, pfnarray: *const FN_OBJECT_MGR_FUNCTS) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetAuditedPermissionsFromAclA(pacl: *const super::ACL, ptrustee: *const TRUSTEE_A, psuccessfulauditedrights: *mut u32, pfailedauditrights: *mut u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetAuditedPermissionsFromAclW(pacl: *const super::ACL, ptrustee: *const TRUSTEE_W, psuccessfulauditedrights: *mut u32, pfailedauditrights: *mut u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetEffectiveRightsFromAclA(pacl: *const super::ACL, ptrustee: *const TRUSTEE_A, paccessrights: *mut u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetEffectiveRightsFromAclW(pacl: *const super::ACL, ptrustee: *const TRUSTEE_W, paccessrights: *mut u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetExplicitEntriesFromAclA(pacl: *const super::ACL, pccountofexplicitentries: *mut u32, plistofexplicitentries: *mut *mut EXPLICIT_ACCESS_A) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetExplicitEntriesFromAclW(pacl: *const super::ACL, pccountofexplicitentries: *mut u32, plistofexplicitentries: *mut *mut EXPLICIT_ACCESS_W) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetInheritanceSourceA(pobjectname: ::windows_sys::core::PCSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, container: super::super::Foundation::BOOL, pobjectclassguids: *const *const ::windows_sys::core::GUID, guidcount: u32, pacl: *const super::ACL, pfnarray: *const FN_OBJECT_MGR_FUNCTS, pgenericmapping: *const super::GENERIC_MAPPING, pinheritarray: *mut INHERITED_FROMA) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetInheritanceSourceW(pobjectname: ::windows_sys::core::PCWSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, container: super::super::Foundation::BOOL, pobjectclassguids: *const *const ::windows_sys::core::GUID, guidcount: u32, pacl: *const super::ACL, pfnarray: *const FN_OBJECT_MGR_FUNCTS, pgenericmapping: *const super::GENERIC_MAPPING, pinheritarray: *mut INHERITED_FROMW) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetMultipleTrusteeA(ptrustee: *const TRUSTEE_A) -> *mut TRUSTEE_A; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetMultipleTrusteeOperationA(ptrustee: *const TRUSTEE_A) -> MULTIPLE_TRUSTEE_OPERATION; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetMultipleTrusteeOperationW(ptrustee: *const TRUSTEE_W) -> MULTIPLE_TRUSTEE_OPERATION; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetMultipleTrusteeW(ptrustee: *const TRUSTEE_W) -> *mut TRUSTEE_W; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetNamedSecurityInfoA(pobjectname: ::windows_sys::core::PCSTR, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, ppsidowner: *mut super::super::Foundation::PSID, ppsidgroup: *mut super::super::Foundation::PSID, ppdacl: *mut *mut super::ACL, ppsacl: *mut *mut super::ACL, ppsecuritydescriptor: *mut super::PSECURITY_DESCRIPTOR) -> super::super::Foundation::WIN32_ERROR; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetNamedSecurityInfoW(pobjectname: ::windows_sys::core::PCWSTR, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, ppsidowner: *mut super::super::Foundation::PSID, ppsidgroup: *mut super::super::Foundation::PSID, ppdacl: *mut *mut super::ACL, ppsacl: *mut *mut super::ACL, ppsecuritydescriptor: *mut super::PSECURITY_DESCRIPTOR) -> super::super::Foundation::WIN32_ERROR; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetSecurityInfo(handle: super::super::Foundation::HANDLE, objecttype: SE_OBJECT_TYPE, securityinfo: u32, ppsidowner: *mut super::super::Foundation::PSID, ppsidgroup: *mut super::super::Foundation::PSID, ppdacl: *mut *mut super::ACL, ppsacl: *mut *mut super::ACL, ppsecuritydescriptor: *mut super::PSECURITY_DESCRIPTOR) -> super::super::Foundation::WIN32_ERROR; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetTrusteeFormA(ptrustee: *const TRUSTEE_A) -> TRUSTEE_FORM; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetTrusteeFormW(ptrustee: *const TRUSTEE_W) -> TRUSTEE_FORM; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetTrusteeNameA(ptrustee: *const TRUSTEE_A) -> ::windows_sys::core::PSTR; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetTrusteeNameW(ptrustee: *const TRUSTEE_W) -> ::windows_sys::core::PWSTR; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetTrusteeTypeA(ptrustee: *const TRUSTEE_A) -> TRUSTEE_TYPE; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn GetTrusteeTypeW(ptrustee: *const TRUSTEE_W) -> TRUSTEE_TYPE; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn LookupSecurityDescriptorPartsA(ppowner: *mut *mut TRUSTEE_A, ppgroup: *mut *mut TRUSTEE_A, pccountofaccessentries: *mut u32, pplistofaccessentries: *mut *mut EXPLICIT_ACCESS_A, pccountofauditentries: *mut u32, pplistofauditentries: *mut *mut EXPLICIT_ACCESS_A, psd: super::PSECURITY_DESCRIPTOR) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn LookupSecurityDescriptorPartsW(ppowner: *mut *mut TRUSTEE_W, ppgroup: *mut *mut TRUSTEE_W, pccountofaccessentries: *mut u32, pplistofaccessentries: *mut *mut EXPLICIT_ACCESS_W, pccountofauditentries: *mut u32, pplistofauditentries: *mut *mut EXPLICIT_ACCESS_W, psd: super::PSECURITY_DESCRIPTOR) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn SetEntriesInAclA(ccountofexplicitentries: u32, plistofexplicitentries: *const EXPLICIT_ACCESS_A, oldacl: *const super::ACL, newacl: *mut *mut super::ACL) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] - pub fn SetEntriesInAclW(ccountofexplicitentries: u32, plistofexplicitentries: *const EXPLICIT_ACCESS_W, oldacl: *const super::ACL, newacl: *mut *mut super::ACL) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetNamedSecurityInfoA(pobjectname: ::windows_sys::core::PCSTR, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, psidowner: super::super::Foundation::PSID, psidgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetNamedSecurityInfoW(pobjectname: ::windows_sys::core::PCWSTR, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, psidowner: super::super::Foundation::PSID, psidgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetSecurityInfo(handle: super::super::Foundation::HANDLE, objecttype: SE_OBJECT_TYPE, securityinfo: u32, psidowner: super::super::Foundation::PSID, psidgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn TreeResetNamedSecurityInfoA(pobjectname: ::windows_sys::core::PCSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: super::super::Foundation::PSID, pgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL, keepexplicit: super::super::Foundation::BOOL, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: *const ::core::ffi::c_void) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn TreeResetNamedSecurityInfoW(pobjectname: ::windows_sys::core::PCWSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: super::super::Foundation::PSID, pgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL, keepexplicit: super::super::Foundation::BOOL, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: *const ::core::ffi::c_void) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn TreeSetNamedSecurityInfoA(pobjectname: ::windows_sys::core::PCSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: super::super::Foundation::PSID, pgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL, dwaction: TREE_SEC_INFO, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: *const ::core::ffi::c_void) -> u32; - #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn TreeSetNamedSecurityInfoW(pobjectname: ::windows_sys::core::PCWSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: super::super::Foundation::PSID, pgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL, dwaction: TREE_SEC_INFO, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: *const ::core::ffi::c_void) -> u32; -} +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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 isize ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn AuthzFreeAuditEvent ( hauditevent : AUTHZ_AUDIT_EVENT_HANDLE ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn AuthzFreeCentralAccessPolicyCache ( ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn AuthzFreeContext ( hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn AuthzFreeHandle ( haccesscheckresults : AUTHZ_ACCESS_CHECK_RESULTS_HANDLE ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn AuthzFreeResourceManager ( hauthzresourcemanager : AUTHZ_RESOURCE_MANAGER_HANDLE ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""cdecl" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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 isize , dwadditionalparametercount : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "authz.dll""cdecl" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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 isize , dwadditionalparametercount : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn AuthzInstallSecurityEventSource ( dwflags : u32 , pregistration : *const AUTHZ_SOURCE_SCHEMA_REGISTRATION ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] fn AuthzRegisterCapChangeNotification ( phcapchangesubscription : *mut *mut AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__ , pfncapchangecallback : super::super::System::Threading:: LPTHREAD_START_ROUTINE , pcallbackcontext : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn AuthzRegisterSecurityEventSource ( dwflags : u32 , szeventsourcename : :: windows_sys::core::PCWSTR , pheventprovider : *mut isize ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "authz.dll""cdecl" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn AuthzUninstallSecurityEventSource ( dwflags : u32 , szeventsourcename : :: windows_sys::core::PCWSTR ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn AuthzUnregisterCapChangeNotification ( hcapchangesubscription : *const AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__ ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "authz.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn AuthzUnregisterSecurityEventSource ( dwflags : u32 , pheventprovider : *mut isize ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn BuildExplicitAccessWithNameA ( pexplicitaccess : *mut EXPLICIT_ACCESS_A , ptrusteename : :: windows_sys::core::PCSTR , accesspermissions : u32 , accessmode : ACCESS_MODE , inheritance : super:: ACE_FLAGS ) -> ( ) ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn BuildExplicitAccessWithNameW ( pexplicitaccess : *mut EXPLICIT_ACCESS_W , ptrusteename : :: windows_sys::core::PCWSTR , accesspermissions : u32 , accessmode : ACCESS_MODE , inheritance : super:: ACE_FLAGS ) -> ( ) ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn BuildImpersonateExplicitAccessWithNameA ( pexplicitaccess : *mut EXPLICIT_ACCESS_A , ptrusteename : :: windows_sys::core::PCSTR , ptrustee : *const TRUSTEE_A , accesspermissions : u32 , accessmode : ACCESS_MODE , inheritance : u32 ) -> ( ) ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn BuildImpersonateExplicitAccessWithNameW ( pexplicitaccess : *mut EXPLICIT_ACCESS_W , ptrusteename : :: windows_sys::core::PCWSTR , ptrustee : *const TRUSTEE_W , accesspermissions : u32 , accessmode : ACCESS_MODE , inheritance : u32 ) -> ( ) ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn BuildImpersonateTrusteeA ( ptrustee : *mut TRUSTEE_A , pimpersonatetrustee : *const TRUSTEE_A ) -> ( ) ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn BuildImpersonateTrusteeW ( ptrustee : *mut TRUSTEE_W , pimpersonatetrustee : *const TRUSTEE_W ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn BuildTrusteeWithNameA ( ptrustee : *mut TRUSTEE_A , pname : :: windows_sys::core::PCSTR ) -> ( ) ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn BuildTrusteeWithNameW ( ptrustee : *mut TRUSTEE_W , pname : :: windows_sys::core::PCWSTR ) -> ( ) ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] 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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] 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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn BuildTrusteeWithSidA ( ptrustee : *mut TRUSTEE_A , psid : super::super::Foundation:: PSID ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn BuildTrusteeWithSidW ( ptrustee : *mut TRUSTEE_W , psid : super::super::Foundation:: PSID ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn ConvertSecurityDescriptorToStringSecurityDescriptorA ( securitydescriptor : super:: PSECURITY_DESCRIPTOR , requestedstringsdrevision : u32 , securityinformation : u32 , stringsecuritydescriptor : *mut :: windows_sys::core::PSTR , stringsecuritydescriptorlen : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn ConvertSecurityDescriptorToStringSecurityDescriptorW ( securitydescriptor : super:: PSECURITY_DESCRIPTOR , requestedstringsdrevision : u32 , securityinformation : u32 , stringsecuritydescriptor : *mut :: windows_sys::core::PWSTR , stringsecuritydescriptorlen : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn ConvertSidToStringSidA ( sid : super::super::Foundation:: PSID , stringsid : *mut :: windows_sys::core::PSTR ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn ConvertSidToStringSidW ( sid : super::super::Foundation:: PSID , stringsid : *mut :: windows_sys::core::PWSTR ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn ConvertStringSidToSidA ( stringsid : :: windows_sys::core::PCSTR , sid : *mut super::super::Foundation:: PSID ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn ConvertStringSidToSidW ( stringsid : :: windows_sys::core::PCWSTR , sid : *mut super::super::Foundation:: PSID ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn GetInheritanceSourceA ( pobjectname : :: windows_sys::core::PCSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , container : super::super::Foundation:: BOOL , pobjectclassguids : *const *const :: windows_sys::core::GUID , guidcount : u32 , pacl : *const super:: ACL , pfnarray : *const FN_OBJECT_MGR_FUNCTS , pgenericmapping : *const super:: GENERIC_MAPPING , pinheritarray : *mut INHERITED_FROMA ) -> super::super::Foundation:: WIN32_ERROR ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn GetInheritanceSourceW ( pobjectname : :: windows_sys::core::PCWSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , container : super::super::Foundation:: BOOL , pobjectclassguids : *const *const :: windows_sys::core::GUID , guidcount : u32 , pacl : *const super:: ACL , pfnarray : *const FN_OBJECT_MGR_FUNCTS , pgenericmapping : *const super:: GENERIC_MAPPING , pinheritarray : *mut INHERITED_FROMW ) -> super::super::Foundation:: WIN32_ERROR ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetMultipleTrusteeA ( ptrustee : *const TRUSTEE_A ) -> *mut TRUSTEE_A ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetMultipleTrusteeOperationA ( ptrustee : *const TRUSTEE_A ) -> MULTIPLE_TRUSTEE_OPERATION ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetMultipleTrusteeOperationW ( ptrustee : *const TRUSTEE_W ) -> MULTIPLE_TRUSTEE_OPERATION ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetMultipleTrusteeW ( ptrustee : *const TRUSTEE_W ) -> *mut TRUSTEE_W ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn GetSecurityInfo ( handle : super::super::Foundation:: HANDLE , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , ppsidowner : *mut super::super::Foundation:: PSID , ppsidgroup : *mut super::super::Foundation:: PSID , ppdacl : *mut *mut super:: ACL , ppsacl : *mut *mut super:: ACL , ppsecuritydescriptor : *mut super:: PSECURITY_DESCRIPTOR ) -> super::super::Foundation:: WIN32_ERROR ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetTrusteeFormA ( ptrustee : *const TRUSTEE_A ) -> TRUSTEE_FORM ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetTrusteeFormW ( ptrustee : *const TRUSTEE_W ) -> TRUSTEE_FORM ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetTrusteeNameA ( ptrustee : *const TRUSTEE_A ) -> :: windows_sys::core::PSTR ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetTrusteeNameW ( ptrustee : *const TRUSTEE_W ) -> :: windows_sys::core::PWSTR ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetTrusteeTypeA ( ptrustee : *const TRUSTEE_A ) -> TRUSTEE_TYPE ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] fn GetTrusteeTypeW ( ptrustee : *const TRUSTEE_W ) -> TRUSTEE_TYPE ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn SetSecurityInfo ( handle : super::super::Foundation:: HANDLE , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , psidowner : super::super::Foundation:: PSID , psidgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL ) -> super::super::Foundation:: WIN32_ERROR ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn TreeResetNamedSecurityInfoA ( pobjectname : :: windows_sys::core::PCSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , powner : super::super::Foundation:: PSID , pgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL , keepexplicit : super::super::Foundation:: BOOL , fnprogress : FN_PROGRESS , progressinvokesetting : PROG_INVOKE_SETTING , args : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn TreeResetNamedSecurityInfoW ( pobjectname : :: windows_sys::core::PCWSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , powner : super::super::Foundation:: PSID , pgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL , keepexplicit : super::super::Foundation:: BOOL , fnprogress : FN_PROGRESS , progressinvokesetting : PROG_INVOKE_SETTING , args : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn TreeSetNamedSecurityInfoA ( pobjectname : :: windows_sys::core::PCSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , powner : super::super::Foundation:: PSID , pgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL , dwaction : TREE_SEC_INFO , fnprogress : FN_PROGRESS , progressinvokesetting : PROG_INVOKE_SETTING , args : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] fn TreeSetNamedSecurityInfoW ( pobjectname : :: windows_sys::core::PCWSTR , objecttype : SE_OBJECT_TYPE , securityinfo : u32 , powner : super::super::Foundation:: PSID , pgroup : super::super::Foundation:: PSID , pdacl : *const super:: ACL , psacl : *const super:: ACL , dwaction : TREE_SEC_INFO , fnprogress : FN_PROGRESS , progressinvokesetting : PROG_INVOKE_SETTING , args : *const ::core::ffi::c_void ) -> 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; @@ -278,11 +195,11 @@ pub type IAzTask = *mut ::core::ffi::c_void; pub type IAzTask2 = *mut ::core::ffi::c_void; pub type IAzTasks = *mut ::core::ffi::c_void; #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const ACCCTRL_DEFAULT_PROVIDER: &str = "Windows NT Access Provider"; +pub const ACCCTRL_DEFAULT_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Windows NT Access Provider"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const ACCCTRL_DEFAULT_PROVIDERA: &str = "Windows NT Access Provider"; +pub const ACCCTRL_DEFAULT_PROVIDERA: ::windows_sys::core::PCSTR = ::windows_sys::s!("Windows NT Access Provider"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const ACCCTRL_DEFAULT_PROVIDERW: &str = "Windows NT Access Provider"; +pub const ACCCTRL_DEFAULT_PROVIDERW: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Windows NT Access Provider"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub const ACTRL_ACCESS_NO_OPTIONS: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] @@ -519,9 +436,12 @@ pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_UINT64: u32 = 2u32; pub const AUTHZ_SKIP_TOKEN_GROUPS: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub const AUTHZ_WPD_CATEGORY_FLAG: u32 = 16u32; -pub const AzAuthorizationStore: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2998730585, data2: 42839, data3: 19211, data4: [161, 188, 234, 105, 152, 29, 166, 158] }; -pub const AzBizRuleContext: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1546504559, data2: 36177, data3: 17227, data4: [179, 60, 55, 155, 204, 174, 119, 195] }; -pub const AzPrincipalLocator: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1211824989, data2: 28895, data3: 19990, data4: [171, 220, 161, 222, 77, 1, 90, 62] }; +#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] +pub const AzAuthorizationStore: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb2bcff59_a757_4b0b_a1bc_ea69981da69e); +#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] +pub const AzBizRuleContext: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5c2dc96f_8d51_434b_b33c_379bccae77c3); +#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] +pub const AzPrincipalLocator: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x483afb5d_70df_4e16_abdc_a1de4d015a3e); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub const INHERITED_ACCESS_ENTRY: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] @@ -531,307 +451,307 @@ pub const INHERITED_PARENT: u32 = 268435456u32; #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub const OLESCRIPT_E_SYNTAX: ::windows_sys::core::HRESULT = -2147352319i32; #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACCESS_ALLOWED: &str = "A"; +pub const SDDL_ACCESS_ALLOWED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("A"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACCESS_CONTROL_ASSISTANCE_OPS: &str = "AA"; +pub const SDDL_ACCESS_CONTROL_ASSISTANCE_OPS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACCESS_DENIED: &str = "D"; +pub const SDDL_ACCESS_DENIED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("D"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACCESS_FILTER: &str = "FL"; +pub const SDDL_ACCESS_FILTER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FL"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACCOUNT_OPERATORS: &str = "AO"; +pub const SDDL_ACCOUNT_OPERATORS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AO"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACE_BEGIN: &str = "("; +pub const SDDL_ACE_BEGIN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("("); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACE_COND_ATTRIBUTE_PREFIX: &str = "@"; +pub const SDDL_ACE_COND_ATTRIBUTE_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("@"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACE_COND_BEGIN: &str = "("; +pub const SDDL_ACE_COND_BEGIN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("("); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACE_COND_BLOB_PREFIX: &str = "#"; +pub const SDDL_ACE_COND_BLOB_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("#"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACE_COND_DEVICE_ATTRIBUTE_PREFIX: &str = "@DEVICE."; +pub const SDDL_ACE_COND_DEVICE_ATTRIBUTE_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("@DEVICE."); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACE_COND_END: &str = ")"; +pub const SDDL_ACE_COND_END: ::windows_sys::core::PCWSTR = ::windows_sys::w!(")"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACE_COND_RESOURCE_ATTRIBUTE_PREFIX: &str = "@RESOURCE."; +pub const SDDL_ACE_COND_RESOURCE_ATTRIBUTE_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("@RESOURCE."); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACE_COND_SID_PREFIX: &str = "SID"; +pub const SDDL_ACE_COND_SID_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SID"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACE_COND_TOKEN_ATTRIBUTE_PREFIX: &str = "@TOKEN."; +pub const SDDL_ACE_COND_TOKEN_ATTRIBUTE_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("@TOKEN."); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACE_COND_USER_ATTRIBUTE_PREFIX: &str = "@USER."; +pub const SDDL_ACE_COND_USER_ATTRIBUTE_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("@USER."); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ACE_END: &str = ")"; +pub const SDDL_ACE_END: ::windows_sys::core::PCWSTR = ::windows_sys::w!(")"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ALARM: &str = "AL"; +pub const SDDL_ALARM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AL"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ALIAS_PREW2KCOMPACC: &str = "RU"; +pub const SDDL_ALIAS_PREW2KCOMPACC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RU"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub const SDDL_ALIAS_SIZE: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ALL_APP_PACKAGES: &str = "AC"; +pub const SDDL_ALL_APP_PACKAGES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AC"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ANONYMOUS: &str = "AN"; +pub const SDDL_ANONYMOUS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AN"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_AUDIT: &str = "AU"; +pub const SDDL_AUDIT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AU"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_AUDIT_FAILURE: &str = "FA"; +pub const SDDL_AUDIT_FAILURE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_AUDIT_SUCCESS: &str = "SA"; +pub const SDDL_AUDIT_SUCCESS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_AUTHENTICATED_USERS: &str = "AU"; +pub const SDDL_AUTHENTICATED_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AU"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_AUTHORITY_ASSERTED: &str = "AS"; +pub const SDDL_AUTHORITY_ASSERTED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AS"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_AUTO_INHERITED: &str = "AI"; +pub const SDDL_AUTO_INHERITED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AI"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_AUTO_INHERIT_REQ: &str = "AR"; +pub const SDDL_AUTO_INHERIT_REQ: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AR"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_BACKUP_OPERATORS: &str = "BO"; +pub const SDDL_BACKUP_OPERATORS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BO"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_BLOB: &str = "TX"; +pub const SDDL_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TX"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_BOOLEAN: &str = "TB"; +pub const SDDL_BOOLEAN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TB"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_BUILTIN_ADMINISTRATORS: &str = "BA"; +pub const SDDL_BUILTIN_ADMINISTRATORS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_BUILTIN_GUESTS: &str = "BG"; +pub const SDDL_BUILTIN_GUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BG"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_BUILTIN_USERS: &str = "BU"; +pub const SDDL_BUILTIN_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BU"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_CALLBACK_ACCESS_ALLOWED: &str = "XA"; +pub const SDDL_CALLBACK_ACCESS_ALLOWED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("XA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_CALLBACK_ACCESS_DENIED: &str = "XD"; +pub const SDDL_CALLBACK_ACCESS_DENIED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("XD"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_CALLBACK_AUDIT: &str = "XU"; +pub const SDDL_CALLBACK_AUDIT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("XU"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_CALLBACK_OBJECT_ACCESS_ALLOWED: &str = "ZA"; +pub const SDDL_CALLBACK_OBJECT_ACCESS_ALLOWED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ZA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_CERTSVC_DCOM_ACCESS: &str = "CD"; +pub const SDDL_CERTSVC_DCOM_ACCESS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CD"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_CERT_SERV_ADMINISTRATORS: &str = "CA"; +pub const SDDL_CERT_SERV_ADMINISTRATORS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_CLONEABLE_CONTROLLERS: &str = "CN"; +pub const SDDL_CLONEABLE_CONTROLLERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CN"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_CONTAINER_INHERIT: &str = "CI"; +pub const SDDL_CONTAINER_INHERIT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CI"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_CONTROL_ACCESS: &str = "CR"; +pub const SDDL_CONTROL_ACCESS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CR"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_CREATE_CHILD: &str = "CC"; +pub const SDDL_CREATE_CHILD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CC"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_CREATOR_GROUP: &str = "CG"; +pub const SDDL_CREATOR_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CG"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_CREATOR_OWNER: &str = "CO"; +pub const SDDL_CREATOR_OWNER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CO"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_CRITICAL: &str = "CR"; +pub const SDDL_CRITICAL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CR"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_CRYPTO_OPERATORS: &str = "CY"; +pub const SDDL_CRYPTO_OPERATORS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CY"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_DACL: &str = "D"; +pub const SDDL_DACL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("D"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_DELETE_CHILD: &str = "DC"; +pub const SDDL_DELETE_CHILD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DC"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_DELETE_TREE: &str = "DT"; +pub const SDDL_DELETE_TREE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DT"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_DELIMINATOR: &str = ":"; +pub const SDDL_DELIMINATOR: ::windows_sys::core::PCWSTR = ::windows_sys::w!(":"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_DOMAIN_ADMINISTRATORS: &str = "DA"; +pub const SDDL_DOMAIN_ADMINISTRATORS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_DOMAIN_COMPUTERS: &str = "DC"; +pub const SDDL_DOMAIN_COMPUTERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DC"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_DOMAIN_DOMAIN_CONTROLLERS: &str = "DD"; +pub const SDDL_DOMAIN_DOMAIN_CONTROLLERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DD"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_DOMAIN_GUESTS: &str = "DG"; +pub const SDDL_DOMAIN_GUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DG"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_DOMAIN_USERS: &str = "DU"; +pub const SDDL_DOMAIN_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DU"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ENTERPRISE_ADMINS: &str = "EA"; +pub const SDDL_ENTERPRISE_ADMINS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ENTERPRISE_DOMAIN_CONTROLLERS: &str = "ED"; +pub const SDDL_ENTERPRISE_DOMAIN_CONTROLLERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ED"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ENTERPRISE_KEY_ADMINS: &str = "EK"; +pub const SDDL_ENTERPRISE_KEY_ADMINS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EK"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ENTERPRISE_RO_DCs: &str = "RO"; +pub const SDDL_ENTERPRISE_RO_DCs: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RO"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_EVENT_LOG_READERS: &str = "ER"; +pub const SDDL_EVENT_LOG_READERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ER"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_EVERYONE: &str = "WD"; +pub const SDDL_EVERYONE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WD"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_FILE_ALL: &str = "FA"; +pub const SDDL_FILE_ALL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_FILE_EXECUTE: &str = "FX"; +pub const SDDL_FILE_EXECUTE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FX"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_FILE_READ: &str = "FR"; +pub const SDDL_FILE_READ: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FR"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_FILE_WRITE: &str = "FW"; +pub const SDDL_FILE_WRITE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FW"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_GENERIC_ALL: &str = "GA"; +pub const SDDL_GENERIC_ALL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("GA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_GENERIC_EXECUTE: &str = "GX"; +pub const SDDL_GENERIC_EXECUTE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("GX"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_GENERIC_READ: &str = "GR"; +pub const SDDL_GENERIC_READ: ::windows_sys::core::PCWSTR = ::windows_sys::w!("GR"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_GENERIC_WRITE: &str = "GW"; +pub const SDDL_GENERIC_WRITE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("GW"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_GROUP: &str = "G"; +pub const SDDL_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("G"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_GROUP_POLICY_ADMINS: &str = "PA"; +pub const SDDL_GROUP_POLICY_ADMINS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_HYPER_V_ADMINS: &str = "HA"; +pub const SDDL_HYPER_V_ADMINS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_IIS_USERS: &str = "IS"; +pub const SDDL_IIS_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IS"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_INHERITED: &str = "ID"; +pub const SDDL_INHERITED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ID"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_INHERIT_ONLY: &str = "IO"; +pub const SDDL_INHERIT_ONLY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IO"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_INT: &str = "TI"; +pub const SDDL_INT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TI"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_INTERACTIVE: &str = "IU"; +pub const SDDL_INTERACTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IU"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_KEY_ADMINS: &str = "KA"; +pub const SDDL_KEY_ADMINS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_KEY_ALL: &str = "KA"; +pub const SDDL_KEY_ALL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_KEY_EXECUTE: &str = "KX"; +pub const SDDL_KEY_EXECUTE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KX"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_KEY_READ: &str = "KR"; +pub const SDDL_KEY_READ: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KR"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_KEY_WRITE: &str = "KW"; +pub const SDDL_KEY_WRITE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KW"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_LIST_CHILDREN: &str = "LC"; +pub const SDDL_LIST_CHILDREN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LC"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_LIST_OBJECT: &str = "LO"; +pub const SDDL_LIST_OBJECT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LO"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_LOCAL_ADMIN: &str = "LA"; +pub const SDDL_LOCAL_ADMIN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_LOCAL_GUEST: &str = "LG"; +pub const SDDL_LOCAL_GUEST: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LG"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_LOCAL_SERVICE: &str = "LS"; +pub const SDDL_LOCAL_SERVICE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LS"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_LOCAL_SYSTEM: &str = "SY"; +pub const SDDL_LOCAL_SYSTEM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SY"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_MANDATORY_LABEL: &str = "ML"; +pub const SDDL_MANDATORY_LABEL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ML"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ML_HIGH: &str = "HI"; +pub const SDDL_ML_HIGH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HI"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ML_LOW: &str = "LW"; +pub const SDDL_ML_LOW: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LW"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ML_MEDIUM: &str = "ME"; +pub const SDDL_ML_MEDIUM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ME"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ML_MEDIUM_PLUS: &str = "MP"; +pub const SDDL_ML_MEDIUM_PLUS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MP"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_ML_SYSTEM: &str = "SI"; +pub const SDDL_ML_SYSTEM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SI"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_NETWORK: &str = "NU"; +pub const SDDL_NETWORK: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NU"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_NETWORK_CONFIGURATION_OPS: &str = "NO"; +pub const SDDL_NETWORK_CONFIGURATION_OPS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NO"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_NETWORK_SERVICE: &str = "NS"; +pub const SDDL_NETWORK_SERVICE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NS"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_NO_EXECUTE_UP: &str = "NX"; +pub const SDDL_NO_EXECUTE_UP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NX"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_NO_PROPAGATE: &str = "NP"; +pub const SDDL_NO_PROPAGATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NP"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_NO_READ_UP: &str = "NR"; +pub const SDDL_NO_READ_UP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NR"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_NO_WRITE_UP: &str = "NW"; +pub const SDDL_NO_WRITE_UP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NW"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_NULL_ACL: &str = "NO_ACCESS_CONTROL"; +pub const SDDL_NULL_ACL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NO_ACCESS_CONTROL"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_OBJECT_ACCESS_ALLOWED: &str = "OA"; +pub const SDDL_OBJECT_ACCESS_ALLOWED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_OBJECT_ACCESS_DENIED: &str = "OD"; +pub const SDDL_OBJECT_ACCESS_DENIED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OD"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_OBJECT_ALARM: &str = "OL"; +pub const SDDL_OBJECT_ALARM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OL"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_OBJECT_AUDIT: &str = "OU"; +pub const SDDL_OBJECT_AUDIT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OU"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_OBJECT_INHERIT: &str = "OI"; +pub const SDDL_OBJECT_INHERIT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OI"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_OWNER: &str = "O"; +pub const SDDL_OWNER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("O"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_OWNER_RIGHTS: &str = "OW"; +pub const SDDL_OWNER_RIGHTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OW"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_PERFLOG_USERS: &str = "LU"; +pub const SDDL_PERFLOG_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LU"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_PERFMON_USERS: &str = "MU"; +pub const SDDL_PERFMON_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MU"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_PERSONAL_SELF: &str = "PS"; +pub const SDDL_PERSONAL_SELF: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PS"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_POWER_USERS: &str = "PU"; +pub const SDDL_POWER_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PU"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_PRINTER_OPERATORS: &str = "PO"; +pub const SDDL_PRINTER_OPERATORS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PO"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_PROCESS_TRUST_LABEL: &str = "TL"; +pub const SDDL_PROCESS_TRUST_LABEL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TL"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_PROTECTED: &str = "P"; +pub const SDDL_PROTECTED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("P"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_PROTECTED_USERS: &str = "AP"; +pub const SDDL_PROTECTED_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AP"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_RAS_SERVERS: &str = "RS"; +pub const SDDL_RAS_SERVERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RS"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_RDS_ENDPOINT_SERVERS: &str = "ES"; +pub const SDDL_RDS_ENDPOINT_SERVERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ES"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_RDS_MANAGEMENT_SERVERS: &str = "MS"; +pub const SDDL_RDS_MANAGEMENT_SERVERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MS"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_RDS_REMOTE_ACCESS_SERVERS: &str = "RA"; +pub const SDDL_RDS_REMOTE_ACCESS_SERVERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_READ_CONTROL: &str = "RC"; +pub const SDDL_READ_CONTROL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RC"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_READ_PROPERTY: &str = "RP"; +pub const SDDL_READ_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RP"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_REMOTE_DESKTOP: &str = "RD"; +pub const SDDL_REMOTE_DESKTOP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RD"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_REMOTE_MANAGEMENT_USERS: &str = "RM"; +pub const SDDL_REMOTE_MANAGEMENT_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RM"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_REPLICATOR: &str = "RE"; +pub const SDDL_REPLICATOR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RE"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_RESOURCE_ATTRIBUTE: &str = "RA"; +pub const SDDL_RESOURCE_ATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_RESTRICTED_CODE: &str = "RC"; +pub const SDDL_RESTRICTED_CODE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RC"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub const SDDL_REVISION: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub const SDDL_REVISION_1: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_SACL: &str = "S"; +pub const SDDL_SACL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("S"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_SCHEMA_ADMINISTRATORS: &str = "SA"; +pub const SDDL_SCHEMA_ADMINISTRATORS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SA"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_SCOPED_POLICY_ID: &str = "SP"; +pub const SDDL_SCOPED_POLICY_ID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SP"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_SELF_WRITE: &str = "SW"; +pub const SDDL_SELF_WRITE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SW"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_SEPERATOR: &str = ";"; +pub const SDDL_SEPERATOR: ::windows_sys::core::PCWSTR = ::windows_sys::w!(";"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_SERVER_OPERATORS: &str = "SO"; +pub const SDDL_SERVER_OPERATORS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SO"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_SERVICE: &str = "SU"; +pub const SDDL_SERVICE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SU"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_SERVICE_ASSERTED: &str = "SS"; +pub const SDDL_SERVICE_ASSERTED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SS"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_SID: &str = "TD"; +pub const SDDL_SID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TD"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_SPACE: &str = " "; +pub const SDDL_SPACE: ::windows_sys::core::PCWSTR = ::windows_sys::w!(" "); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_STANDARD_DELETE: &str = "SD"; +pub const SDDL_STANDARD_DELETE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SD"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_TRUST_PROTECTED_FILTER: &str = "TP"; +pub const SDDL_TRUST_PROTECTED_FILTER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TP"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_UINT: &str = "TU"; +pub const SDDL_UINT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TU"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_USER_MODE_DRIVERS: &str = "UD"; +pub const SDDL_USER_MODE_DRIVERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("UD"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_WRITE_DAC: &str = "WD"; +pub const SDDL_WRITE_DAC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WD"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_WRITE_OWNER: &str = "WO"; +pub const SDDL_WRITE_OWNER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WO"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_WRITE_PROPERTY: &str = "WP"; +pub const SDDL_WRITE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WP"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_WRITE_RESTRICTED_CODE: &str = "WR"; +pub const SDDL_WRITE_RESTRICTED_CODE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WR"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub const SDDL_WSTRING: &str = "TS"; +pub const SDDL_WSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TS"); #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] pub const TRUSTEE_ACCESS_ALL: i32 = -1i32; #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] @@ -1989,7 +1909,7 @@ impl ::core::clone::Clone for TRUSTEE_W { } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type FN_PROGRESS = ::core::option::Option<unsafe extern "system" fn(pobjectname: ::windows_sys::core::PCWSTR, status: u32, pinvokesetting: *mut PROG_INVOKE_SETTING, args: *const ::core::ffi::c_void, securityset: super::super::Foundation::BOOL)>; +pub type 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_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS = ::core::option::Option<unsafe extern "system" fn(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, args: *const ::core::ffi::c_void, psidattrarray: *mut *mut super::SID_AND_ATTRIBUTES, psidcount: *mut u32, prestrictedsidattrarray: *mut *mut super::SID_AND_ATTRIBUTES, prestrictedsidcount: *mut u32) -> super::super::Foundation::BOOL>; @@ -1997,10 +1917,10 @@ pub type PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS = ::core::option::Option<unsafe extern #[cfg(feature = "Win32_Foundation")] pub type PFN_AUTHZ_DYNAMIC_ACCESS_CHECK = ::core::option::Option<unsafe extern "system" fn(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, pace: *const super::ACE_HEADER, pargs: *const ::core::ffi::c_void, pbaceapplicable: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"] -pub type PFN_AUTHZ_FREE_CENTRAL_ACCESS_POLICY = ::core::option::Option<unsafe extern "system" fn(pcentralaccesspolicy: *const ::core::ffi::c_void)>; +pub type PFN_AUTHZ_FREE_CENTRAL_ACCESS_POLICY = ::core::option::Option<unsafe extern "system" fn(pcentralaccesspolicy: *const ::core::ffi::c_void) -> ()>; #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_AUTHZ_FREE_DYNAMIC_GROUPS = ::core::option::Option<unsafe extern "system" fn(psidattrarray: *const super::SID_AND_ATTRIBUTES)>; +pub type PFN_AUTHZ_FREE_DYNAMIC_GROUPS = ::core::option::Option<unsafe extern "system" fn(psidattrarray: *const super::SID_AND_ATTRIBUTES) -> ()>; #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PFN_AUTHZ_GET_CENTRAL_ACCESS_POLICY = ::core::option::Option<unsafe extern "system" fn(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, capid: super::super::Foundation::PSID, pargs: *const ::core::ffi::c_void, pcentralaccesspolicyapplicable: *mut super::super::Foundation::BOOL, ppcentralaccesspolicy: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; diff --git a/vendor/windows-sys/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs index a256bd64c..fb6e7c530 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs @@ -1,9 +1,9 @@ pub type ISceSvcAttachmentData = *mut ::core::ffi::c_void; pub type ISceSvcAttachmentPersistInfo = *mut ::core::ffi::c_void; #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] -pub const CCF_SCESVC_ATTACHMENT: &str = "CCF_SCESVC_ATTACHMENT"; +pub const CCF_SCESVC_ATTACHMENT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CCF_SCESVC_ATTACHMENT"); #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] -pub const CCF_SCESVC_ATTACHMENT_DATA: &str = "CCF_SCESVC_ATTACHMENT_DATA"; +pub const CCF_SCESVC_ATTACHMENT_DATA: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CCF_SCESVC_ATTACHMENT_DATA"); #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] pub const SCESTATUS_ACCESS_DENIED: i32 = 9i32; #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] @@ -47,22 +47,25 @@ pub const SCESTATUS_TRUST_FAIL: i32 = 19i32; #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] pub const SCESVC_ENUMERATION_MAX: i32 = 100i32; #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] -pub const SCE_ROOT_PATH: &str = "Software\\Microsoft\\Windows NT\\CurrentVersion\\SeCEdit"; -pub const cNodetypeSceAnalysisServices: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1736462535, data2: 8184, data3: 4561, data4: [175, 251, 0, 192, 79, 185, 132, 249] }; -pub const cNodetypeSceEventLog: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 752903832, data2: 19443, data3: 4561, data4: [140, 48, 0, 192, 79, 185, 132, 249] }; -pub const cNodetypeSceTemplateServices: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 614987543, data2: 7948, data3: 4561, data4: [175, 251, 0, 192, 79, 185, 132, 249] }; +pub const SCE_ROOT_PATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Software\\Microsoft\\Windows NT\\CurrentVersion\\SeCEdit"); #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] -pub const lstruuidNodetypeSceAnalysisServices: &str = "{678050c7-1ff8-11d1-affb-00c04fb984f9}"; +pub const cNodetypeSceAnalysisServices: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x678050c7_1ff8_11d1_affb_00c04fb984f9); #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] -pub const lstruuidNodetypeSceEventLog: &str = "{2ce06698-4bf3-11d1-8c30-00c04fb984f9}"; +pub const cNodetypeSceEventLog: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2ce06698_4bf3_11d1_8c30_00c04fb984f9); #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] -pub const lstruuidNodetypeSceTemplateServices: &str = "{24a7f717-1f0c-11d1-affb-00c04fb984f9}"; +pub const cNodetypeSceTemplateServices: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x24a7f717_1f0c_11d1_affb_00c04fb984f9); #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] -pub const struuidNodetypeSceAnalysisServices: &str = "{678050c7-1ff8-11d1-affb-00c04fb984f9}"; +pub const lstruuidNodetypeSceAnalysisServices: ::windows_sys::core::PCWSTR = ::windows_sys::w!("{678050c7-1ff8-11d1-affb-00c04fb984f9}"); #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] -pub const struuidNodetypeSceEventLog: &str = "{2ce06698-4bf3-11d1-8c30-00c04fb984f9}"; +pub const lstruuidNodetypeSceEventLog: ::windows_sys::core::PCWSTR = ::windows_sys::w!("{2ce06698-4bf3-11d1-8c30-00c04fb984f9}"); #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] -pub const struuidNodetypeSceTemplateServices: &str = "{24a7f717-1f0c-11d1-affb-00c04fb984f9}"; +pub const lstruuidNodetypeSceTemplateServices: ::windows_sys::core::PCWSTR = ::windows_sys::w!("{24a7f717-1f0c-11d1-affb-00c04fb984f9}"); +#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] +pub const struuidNodetypeSceAnalysisServices: ::windows_sys::core::PCSTR = ::windows_sys::s!("{678050c7-1ff8-11d1-affb-00c04fb984f9}"); +#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] +pub const struuidNodetypeSceEventLog: ::windows_sys::core::PCSTR = ::windows_sys::s!("{2ce06698-4bf3-11d1-8c30-00c04fb984f9}"); +#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] +pub const struuidNodetypeSceTemplateServices: ::windows_sys::core::PCSTR = ::windows_sys::s!("{24a7f717-1f0c-11d1-affb-00c04fb984f9}"); #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] pub type SCESVC_INFO_TYPE = i32; #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"] diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Credentials/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Credentials/mod.rs index d0646f64d..76c3e7411 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/Credentials/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/Credentials/mod.rs @@ -1,311 +1,181 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredDeleteA(targetname: ::windows_sys::core::PCSTR, r#type: u32, flags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredDeleteW(targetname: ::windows_sys::core::PCWSTR, r#type: u32, flags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredEnumerateA(filter: ::windows_sys::core::PCSTR, flags: CRED_ENUMERATE_FLAGS, count: *mut u32, credential: *mut *mut *mut CREDENTIALA) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredEnumerateW(filter: ::windows_sys::core::PCWSTR, flags: CRED_ENUMERATE_FLAGS, count: *mut u32, credential: *mut *mut *mut CREDENTIALW) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredFindBestCredentialA(targetname: ::windows_sys::core::PCSTR, r#type: u32, flags: u32, credential: *mut *mut CREDENTIALA) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredFindBestCredentialW(targetname: ::windows_sys::core::PCWSTR, r#type: u32, flags: u32, credential: *mut *mut CREDENTIALW) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn CredFree(buffer: *const ::core::ffi::c_void); - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredGetSessionTypes(maximumpersistcount: u32, maximumpersist: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredGetTargetInfoA(targetname: ::windows_sys::core::PCSTR, flags: u32, targetinfo: *mut *mut CREDENTIAL_TARGET_INFORMATIONA) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredGetTargetInfoW(targetname: ::windows_sys::core::PCWSTR, flags: u32, targetinfo: *mut *mut CREDENTIAL_TARGET_INFORMATIONW) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredIsMarshaledCredentialA(marshaledcredential: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredIsMarshaledCredentialW(marshaledcredential: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredIsProtectedA(pszprotectedcredentials: ::windows_sys::core::PCSTR, pprotectiontype: *mut CRED_PROTECTION_TYPE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredIsProtectedW(pszprotectedcredentials: ::windows_sys::core::PCWSTR, pprotectiontype: *mut CRED_PROTECTION_TYPE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredMarshalCredentialA(credtype: CRED_MARSHAL_TYPE, credential: *const ::core::ffi::c_void, marshaledcredential: *mut ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredMarshalCredentialW(credtype: CRED_MARSHAL_TYPE, credential: *const ::core::ffi::c_void, marshaledcredential: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredPackAuthenticationBufferA(dwflags: CRED_PACK_FLAGS, pszusername: ::windows_sys::core::PCSTR, pszpassword: ::windows_sys::core::PCSTR, ppackedcredentials: *mut u8, pcbpackedcredentials: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredPackAuthenticationBufferW(dwflags: CRED_PACK_FLAGS, pszusername: ::windows_sys::core::PCWSTR, pszpassword: ::windows_sys::core::PCWSTR, ppackedcredentials: *mut u8, pcbpackedcredentials: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredProtectA(fasself: super::super::Foundation::BOOL, pszcredentials: ::windows_sys::core::PCSTR, cchcredentials: u32, pszprotectedcredentials: ::windows_sys::core::PSTR, pcchmaxchars: *mut u32, protectiontype: *mut CRED_PROTECTION_TYPE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredProtectW(fasself: super::super::Foundation::BOOL, pszcredentials: ::windows_sys::core::PCWSTR, cchcredentials: u32, pszprotectedcredentials: ::windows_sys::core::PWSTR, pcchmaxchars: *mut u32, protectiontype: *mut CRED_PROTECTION_TYPE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredReadA(targetname: ::windows_sys::core::PCSTR, r#type: u32, flags: u32, credential: *mut *mut CREDENTIALA) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredReadDomainCredentialsA(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONA, flags: u32, count: *mut u32, credential: *mut *mut *mut CREDENTIALA) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredReadDomainCredentialsW(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONW, flags: u32, count: *mut u32, credential: *mut *mut *mut CREDENTIALW) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredReadW(targetname: ::windows_sys::core::PCWSTR, r#type: u32, flags: u32, credential: *mut *mut CREDENTIALW) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredRenameA(oldtargetname: ::windows_sys::core::PCSTR, newtargetname: ::windows_sys::core::PCSTR, r#type: u32, flags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredRenameW(oldtargetname: ::windows_sys::core::PCWSTR, newtargetname: ::windows_sys::core::PCWSTR, r#type: u32, flags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredUICmdLinePromptForCredentialsA(psztargetname: ::windows_sys::core::PCSTR, pcontext: *mut SecHandle, dwautherror: u32, username: ::windows_sys::core::PSTR, uluserbuffersize: u32, pszpassword: ::windows_sys::core::PSTR, ulpasswordbuffersize: u32, pfsave: *mut super::super::Foundation::BOOL, dwflags: CREDUI_FLAGS) -> u32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredUICmdLinePromptForCredentialsW(psztargetname: ::windows_sys::core::PCWSTR, pcontext: *mut SecHandle, dwautherror: u32, username: ::windows_sys::core::PWSTR, uluserbuffersize: u32, pszpassword: ::windows_sys::core::PWSTR, ulpasswordbuffersize: u32, pfsave: *mut super::super::Foundation::BOOL, dwflags: CREDUI_FLAGS) -> u32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredUIConfirmCredentialsA(psztargetname: ::windows_sys::core::PCSTR, bconfirm: super::super::Foundation::BOOL) -> u32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredUIConfirmCredentialsW(psztargetname: ::windows_sys::core::PCWSTR, bconfirm: super::super::Foundation::BOOL) -> u32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn CredUIParseUserNameA(username: ::windows_sys::core::PCSTR, user: ::windows_sys::core::PSTR, userbuffersize: u32, domain: ::windows_sys::core::PSTR, domainbuffersize: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn CredUIParseUserNameW(username: ::windows_sys::core::PCWSTR, user: ::windows_sys::core::PWSTR, userbuffersize: u32, domain: ::windows_sys::core::PWSTR, domainbuffersize: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] - pub fn CredUIPromptForCredentialsA(puiinfo: *const CREDUI_INFOA, psztargetname: ::windows_sys::core::PCSTR, pcontext: *mut SecHandle, dwautherror: u32, pszusername: ::windows_sys::core::PSTR, ulusernamebuffersize: u32, pszpassword: ::windows_sys::core::PSTR, ulpasswordbuffersize: u32, save: *mut super::super::Foundation::BOOL, dwflags: CREDUI_FLAGS) -> u32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] - pub fn CredUIPromptForCredentialsW(puiinfo: *const CREDUI_INFOW, psztargetname: ::windows_sys::core::PCWSTR, pcontext: *mut SecHandle, dwautherror: u32, pszusername: ::windows_sys::core::PWSTR, ulusernamebuffersize: u32, pszpassword: ::windows_sys::core::PWSTR, ulpasswordbuffersize: u32, save: *mut super::super::Foundation::BOOL, dwflags: CREDUI_FLAGS) -> u32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] - pub fn CredUIPromptForWindowsCredentialsA(puiinfo: *const CREDUI_INFOA, dwautherror: u32, pulauthpackage: *mut u32, pvinauthbuffer: *const ::core::ffi::c_void, ulinauthbuffersize: u32, ppvoutauthbuffer: *mut *mut ::core::ffi::c_void, puloutauthbuffersize: *mut u32, pfsave: *mut super::super::Foundation::BOOL, dwflags: CREDUIWIN_FLAGS) -> u32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] - pub fn CredUIPromptForWindowsCredentialsW(puiinfo: *const CREDUI_INFOW, dwautherror: u32, pulauthpackage: *mut u32, pvinauthbuffer: *const ::core::ffi::c_void, ulinauthbuffersize: u32, ppvoutauthbuffer: *mut *mut ::core::ffi::c_void, puloutauthbuffersize: *mut u32, pfsave: *mut super::super::Foundation::BOOL, dwflags: CREDUIWIN_FLAGS) -> u32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn CredUIReadSSOCredW(pszrealm: ::windows_sys::core::PCWSTR, ppszusername: *mut ::windows_sys::core::PWSTR) -> u32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredUIStoreSSOCredW(pszrealm: ::windows_sys::core::PCWSTR, pszusername: ::windows_sys::core::PCWSTR, pszpassword: ::windows_sys::core::PCWSTR, bpersist: super::super::Foundation::BOOL) -> u32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredUnPackAuthenticationBufferA(dwflags: CRED_PACK_FLAGS, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, pszusername: ::windows_sys::core::PSTR, pcchlmaxusername: *mut u32, pszdomainname: ::windows_sys::core::PSTR, pcchmaxdomainname: *mut u32, pszpassword: ::windows_sys::core::PSTR, pcchmaxpassword: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredUnPackAuthenticationBufferW(dwflags: CRED_PACK_FLAGS, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, pszusername: ::windows_sys::core::PWSTR, pcchmaxusername: *mut u32, pszdomainname: ::windows_sys::core::PWSTR, pcchmaxdomainname: *mut u32, pszpassword: ::windows_sys::core::PWSTR, pcchmaxpassword: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredUnmarshalCredentialA(marshaledcredential: ::windows_sys::core::PCSTR, credtype: *mut CRED_MARSHAL_TYPE, credential: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredUnmarshalCredentialW(marshaledcredential: ::windows_sys::core::PCWSTR, credtype: *mut CRED_MARSHAL_TYPE, credential: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredUnprotectA(fasself: super::super::Foundation::BOOL, pszprotectedcredentials: ::windows_sys::core::PCSTR, cchprotectedcredentials: u32, pszcredentials: ::windows_sys::core::PSTR, pcchmaxchars: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredUnprotectW(fasself: super::super::Foundation::BOOL, pszprotectedcredentials: ::windows_sys::core::PCWSTR, cchprotectedcredentials: u32, pszcredentials: ::windows_sys::core::PWSTR, pcchmaxchars: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredWriteA(credential: *const CREDENTIALA, flags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredWriteDomainCredentialsA(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONA, credential: *const CREDENTIALA, flags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredWriteDomainCredentialsW(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONW, credential: *const CREDENTIALW, flags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CredWriteW(credential: *const CREDENTIALW, flags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetOpenCardNameA(param0: *mut OPENCARDNAMEA) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetOpenCardNameW(param0: *mut OPENCARDNAMEW) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn KeyCredentialManagerFreeInformation(keycredentialmanagerinfo: *const KeyCredentialManagerInfo); - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn KeyCredentialManagerGetInformation(keycredentialmanagerinfo: *mut *mut KeyCredentialManagerInfo) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn KeyCredentialManagerGetOperationErrorStates(keycredentialmanageroperationtype: KeyCredentialManagerOperationType, isready: *mut super::super::Foundation::BOOL, keycredentialmanageroperationerrorstates: *mut KeyCredentialManagerOperationErrorStates) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn KeyCredentialManagerShowUIOperation(hwndowner: super::super::Foundation::HWND, keycredentialmanageroperationtype: KeyCredentialManagerOperationType) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SCardAccessStartedEvent() -> super::super::Foundation::HANDLE; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardAddReaderToGroupA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, szgroupname: ::windows_sys::core::PCSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardAddReaderToGroupW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, szgroupname: ::windows_sys::core::PCWSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardAudit(hcontext: usize, dwevent: u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardBeginTransaction(hcard: usize) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardCancel(hcontext: usize) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardConnectA(hcontext: usize, szreader: ::windows_sys::core::PCSTR, dwsharemode: u32, dwpreferredprotocols: u32, phcard: *mut usize, pdwactiveprotocol: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardConnectW(hcontext: usize, szreader: ::windows_sys::core::PCWSTR, dwsharemode: u32, dwpreferredprotocols: u32, phcard: *mut usize, pdwactiveprotocol: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardControl(hcard: usize, dwcontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, cbinbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, cboutbuffersize: u32, lpbytesreturned: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardDisconnect(hcard: usize, dwdisposition: u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardDlgExtendedError() -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardEndTransaction(hcard: usize, dwdisposition: u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardEstablishContext(dwscope: SCARD_SCOPE, pvreserved1: *const ::core::ffi::c_void, pvreserved2: *const ::core::ffi::c_void, phcontext: *mut usize) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardForgetCardTypeA(hcontext: usize, szcardname: ::windows_sys::core::PCSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardForgetCardTypeW(hcontext: usize, szcardname: ::windows_sys::core::PCWSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardForgetReaderA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardForgetReaderGroupA(hcontext: usize, szgroupname: ::windows_sys::core::PCSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardForgetReaderGroupW(hcontext: usize, szgroupname: ::windows_sys::core::PCWSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardForgetReaderW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardFreeMemory(hcontext: usize, pvmem: *const ::core::ffi::c_void) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardGetAttrib(hcard: usize, dwattrid: u32, pbattr: *mut u8, pcbattrlen: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardGetCardTypeProviderNameA(hcontext: usize, szcardname: ::windows_sys::core::PCSTR, dwproviderid: u32, szprovider: ::windows_sys::core::PSTR, pcchprovider: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardGetCardTypeProviderNameW(hcontext: usize, szcardname: ::windows_sys::core::PCWSTR, dwproviderid: u32, szprovider: ::windows_sys::core::PWSTR, pcchprovider: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardGetDeviceTypeIdA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, pdwdevicetypeid: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardGetDeviceTypeIdW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, pdwdevicetypeid: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardGetProviderIdA(hcontext: usize, szcard: ::windows_sys::core::PCSTR, pguidproviderid: *mut ::windows_sys::core::GUID) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardGetProviderIdW(hcontext: usize, szcard: ::windows_sys::core::PCWSTR, pguidproviderid: *mut ::windows_sys::core::GUID) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardGetReaderDeviceInstanceIdA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, szdeviceinstanceid: ::windows_sys::core::PSTR, pcchdeviceinstanceid: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardGetReaderDeviceInstanceIdW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, szdeviceinstanceid: ::windows_sys::core::PWSTR, pcchdeviceinstanceid: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardGetReaderIconA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, pbicon: *mut u8, pcbicon: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardGetReaderIconW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, pbicon: *mut u8, pcbicon: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardGetStatusChangeA(hcontext: usize, dwtimeout: u32, rgreaderstates: *mut SCARD_READERSTATEA, creaders: u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardGetStatusChangeW(hcontext: usize, dwtimeout: u32, rgreaderstates: *mut SCARD_READERSTATEW, creaders: u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardGetTransmitCount(hcard: usize, pctransmitcount: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardIntroduceCardTypeA(hcontext: usize, szcardname: ::windows_sys::core::PCSTR, pguidprimaryprovider: *const ::windows_sys::core::GUID, rgguidinterfaces: *const ::windows_sys::core::GUID, dwinterfacecount: u32, pbatr: *const u8, pbatrmask: *const u8, cbatrlen: u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardIntroduceCardTypeW(hcontext: usize, szcardname: ::windows_sys::core::PCWSTR, pguidprimaryprovider: *const ::windows_sys::core::GUID, rgguidinterfaces: *const ::windows_sys::core::GUID, dwinterfacecount: u32, pbatr: *const u8, pbatrmask: *const u8, cbatrlen: u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardIntroduceReaderA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, szdevicename: ::windows_sys::core::PCSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardIntroduceReaderGroupA(hcontext: usize, szgroupname: ::windows_sys::core::PCSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardIntroduceReaderGroupW(hcontext: usize, szgroupname: ::windows_sys::core::PCWSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardIntroduceReaderW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, szdevicename: ::windows_sys::core::PCWSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardIsValidContext(hcontext: usize) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardListCardsA(hcontext: usize, pbatr: *const u8, rgquidinterfaces: *const ::windows_sys::core::GUID, cguidinterfacecount: u32, mszcards: ::windows_sys::core::PSTR, pcchcards: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardListCardsW(hcontext: usize, pbatr: *const u8, rgquidinterfaces: *const ::windows_sys::core::GUID, cguidinterfacecount: u32, mszcards: ::windows_sys::core::PWSTR, pcchcards: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardListInterfacesA(hcontext: usize, szcard: ::windows_sys::core::PCSTR, pguidinterfaces: *mut ::windows_sys::core::GUID, pcguidinterfaces: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardListInterfacesW(hcontext: usize, szcard: ::windows_sys::core::PCWSTR, pguidinterfaces: *mut ::windows_sys::core::GUID, pcguidinterfaces: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardListReaderGroupsA(hcontext: usize, mszgroups: ::windows_sys::core::PSTR, pcchgroups: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardListReaderGroupsW(hcontext: usize, mszgroups: ::windows_sys::core::PWSTR, pcchgroups: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardListReadersA(hcontext: usize, mszgroups: ::windows_sys::core::PCSTR, mszreaders: ::windows_sys::core::PSTR, pcchreaders: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardListReadersW(hcontext: usize, mszgroups: ::windows_sys::core::PCWSTR, mszreaders: ::windows_sys::core::PWSTR, pcchreaders: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardListReadersWithDeviceInstanceIdA(hcontext: usize, szdeviceinstanceid: ::windows_sys::core::PCSTR, mszreaders: ::windows_sys::core::PSTR, pcchreaders: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardListReadersWithDeviceInstanceIdW(hcontext: usize, szdeviceinstanceid: ::windows_sys::core::PCWSTR, mszreaders: ::windows_sys::core::PWSTR, pcchreaders: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardLocateCardsA(hcontext: usize, mszcards: ::windows_sys::core::PCSTR, rgreaderstates: *mut SCARD_READERSTATEA, creaders: u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardLocateCardsByATRA(hcontext: usize, rgatrmasks: *const SCARD_ATRMASK, catrs: u32, rgreaderstates: *mut SCARD_READERSTATEA, creaders: u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardLocateCardsByATRW(hcontext: usize, rgatrmasks: *const SCARD_ATRMASK, catrs: u32, rgreaderstates: *mut SCARD_READERSTATEW, creaders: u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardLocateCardsW(hcontext: usize, mszcards: ::windows_sys::core::PCWSTR, rgreaderstates: *mut SCARD_READERSTATEW, creaders: u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardReadCacheA(hcontext: usize, cardidentifier: *const ::windows_sys::core::GUID, freshnesscounter: u32, lookupname: ::windows_sys::core::PCSTR, data: *mut u8, datalen: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardReadCacheW(hcontext: usize, cardidentifier: *const ::windows_sys::core::GUID, freshnesscounter: u32, lookupname: ::windows_sys::core::PCWSTR, data: *mut u8, datalen: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardReconnect(hcard: usize, dwsharemode: u32, dwpreferredprotocols: u32, dwinitialization: u32, pdwactiveprotocol: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardReleaseContext(hcontext: usize) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardReleaseStartedEvent(); - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardRemoveReaderFromGroupA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, szgroupname: ::windows_sys::core::PCSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardRemoveReaderFromGroupW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, szgroupname: ::windows_sys::core::PCWSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardSetAttrib(hcard: usize, dwattrid: u32, pbattr: *const u8, cbattrlen: u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardSetCardTypeProviderNameA(hcontext: usize, szcardname: ::windows_sys::core::PCSTR, dwproviderid: u32, szprovider: ::windows_sys::core::PCSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardSetCardTypeProviderNameW(hcontext: usize, szcardname: ::windows_sys::core::PCWSTR, dwproviderid: u32, szprovider: ::windows_sys::core::PCWSTR) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardState(hcard: usize, pdwstate: *mut u32, pdwprotocol: *mut u32, pbatr: *mut u8, pcbatrlen: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardStatusA(hcard: usize, mszreadernames: ::windows_sys::core::PSTR, pcchreaderlen: *mut u32, pdwstate: *mut u32, pdwprotocol: *mut u32, pbatr: *mut u8, pcbatrlen: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardStatusW(hcard: usize, mszreadernames: ::windows_sys::core::PWSTR, pcchreaderlen: *mut u32, pdwstate: *mut u32, pdwprotocol: *mut u32, pbatr: *mut u8, pcbatrlen: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardTransmit(hcard: usize, piosendpci: *const SCARD_IO_REQUEST, pbsendbuffer: *const u8, cbsendlength: u32, piorecvpci: *mut SCARD_IO_REQUEST, pbrecvbuffer: *mut u8, pcbrecvlength: *mut u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] - pub fn SCardUIDlgSelectCardA(param0: *mut OPENCARDNAME_EXA) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] - pub fn SCardUIDlgSelectCardW(param0: *mut OPENCARDNAME_EXW) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardWriteCacheA(hcontext: usize, cardidentifier: *const ::windows_sys::core::GUID, freshnesscounter: u32, lookupname: ::windows_sys::core::PCSTR, data: *const u8, datalen: u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] - pub fn SCardWriteCacheW(hcontext: usize, cardidentifier: *const ::windows_sys::core::GUID, freshnesscounter: u32, lookupname: ::windows_sys::core::PCWSTR, data: *const u8, datalen: u32) -> i32; -} +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredDeleteA ( targetname : :: windows_sys::core::PCSTR , r#type : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredDeleteW ( targetname : :: windows_sys::core::PCWSTR , r#type : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredFindBestCredentialW ( targetname : :: windows_sys::core::PCWSTR , r#type : u32 , flags : u32 , credential : *mut *mut CREDENTIALW ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn CredFree ( buffer : *const ::core::ffi::c_void ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredGetSessionTypes ( maximumpersistcount : u32 , maximumpersist : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredIsMarshaledCredentialA ( marshaledcredential : :: windows_sys::core::PCSTR ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredIsMarshaledCredentialW ( marshaledcredential : :: windows_sys::core::PCWSTR ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredIsProtectedA ( pszprotectedcredentials : :: windows_sys::core::PCSTR , pprotectiontype : *mut CRED_PROTECTION_TYPE ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredIsProtectedW ( pszprotectedcredentials : :: windows_sys::core::PCWSTR , pprotectiontype : *mut CRED_PROTECTION_TYPE ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredReadA ( targetname : :: windows_sys::core::PCSTR , r#type : u32 , flags : u32 , credential : *mut *mut CREDENTIALA ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredReadW ( targetname : :: windows_sys::core::PCWSTR , r#type : u32 , flags : u32 , credential : *mut *mut CREDENTIALW ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredRenameA ( oldtargetname : :: windows_sys::core::PCSTR , newtargetname : :: windows_sys::core::PCSTR , r#type : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredRenameW ( oldtargetname : :: windows_sys::core::PCWSTR , newtargetname : :: windows_sys::core::PCWSTR , r#type : u32 , flags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredUICmdLinePromptForCredentialsA ( psztargetname : :: windows_sys::core::PCSTR , pcontext : *mut SecHandle , dwautherror : u32 , username : :: windows_sys::core::PSTR , uluserbuffersize : u32 , pszpassword : :: windows_sys::core::PSTR , ulpasswordbuffersize : u32 , pfsave : *mut super::super::Foundation:: BOOL , dwflags : CREDUI_FLAGS ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredUICmdLinePromptForCredentialsW ( psztargetname : :: windows_sys::core::PCWSTR , pcontext : *mut SecHandle , dwautherror : u32 , username : :: windows_sys::core::PWSTR , uluserbuffersize : u32 , pszpassword : :: windows_sys::core::PWSTR , ulpasswordbuffersize : u32 , pfsave : *mut super::super::Foundation:: BOOL , dwflags : CREDUI_FLAGS ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredUIConfirmCredentialsA ( psztargetname : :: windows_sys::core::PCSTR , bconfirm : super::super::Foundation:: BOOL ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredUIConfirmCredentialsW ( psztargetname : :: windows_sys::core::PCWSTR , bconfirm : super::super::Foundation:: BOOL ) -> u32 ); +::windows_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn CredUIParseUserNameA ( username : :: windows_sys::core::PCSTR , user : :: windows_sys::core::PSTR , userbuffersize : u32 , domain : :: windows_sys::core::PSTR , domainbuffersize : u32 ) -> u32 ); +::windows_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] 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_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] fn CredUIPromptForCredentialsA ( puiinfo : *const CREDUI_INFOA , psztargetname : :: windows_sys::core::PCSTR , pcontext : *mut SecHandle , dwautherror : u32 , pszusername : :: windows_sys::core::PSTR , ulusernamebuffersize : u32 , pszpassword : :: windows_sys::core::PSTR , ulpasswordbuffersize : u32 , save : *mut super::super::Foundation:: BOOL , dwflags : CREDUI_FLAGS ) -> u32 ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"] fn CredUIPromptForCredentialsW ( puiinfo : *const CREDUI_INFOW , psztargetname : :: windows_sys::core::PCWSTR , pcontext : *mut SecHandle , dwautherror : u32 , pszusername : :: windows_sys::core::PWSTR , ulusernamebuffersize : u32 , pszpassword : :: windows_sys::core::PWSTR , ulpasswordbuffersize : u32 , save : *mut super::super::Foundation:: BOOL , dwflags : CREDUI_FLAGS ) -> u32 ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn CredUIReadSSOCredW ( pszrealm : :: windows_sys::core::PCWSTR , ppszusername : *mut :: windows_sys::core::PWSTR ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "credui.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredWriteA ( credential : *const CREDENTIALA , flags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredWriteDomainCredentialsA ( targetinfo : *const CREDENTIAL_TARGET_INFORMATIONA , credential : *const CREDENTIALA , flags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredWriteDomainCredentialsW ( targetinfo : *const CREDENTIAL_TARGET_INFORMATIONW , credential : *const CREDENTIALW , flags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn CredWriteW ( credential : *const CREDENTIALW , flags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "scarddlg.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn GetOpenCardNameA ( param0 : *mut OPENCARDNAMEA ) -> i32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "scarddlg.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn GetOpenCardNameW ( param0 : *mut OPENCARDNAMEW ) -> i32 ); +::windows_sys::core::link ! ( "keycredmgr.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn KeyCredentialManagerFreeInformation ( keycredentialmanagerinfo : *const KeyCredentialManagerInfo ) -> ( ) ); +::windows_sys::core::link ! ( "keycredmgr.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn KeyCredentialManagerGetInformation ( keycredentialmanagerinfo : *mut *mut KeyCredentialManagerInfo ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "keycredmgr.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn KeyCredentialManagerGetOperationErrorStates ( keycredentialmanageroperationtype : KeyCredentialManagerOperationType , isready : *mut super::super::Foundation:: BOOL , keycredentialmanageroperationerrorstates : *mut KeyCredentialManagerOperationErrorStates ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "keycredmgr.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn KeyCredentialManagerShowUIOperation ( hwndowner : super::super::Foundation:: HWND , keycredentialmanageroperationtype : KeyCredentialManagerOperationType ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"] fn SCardAccessStartedEvent ( ) -> super::super::Foundation:: HANDLE ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardAddReaderToGroupA ( hcontext : usize , szreadername : :: windows_sys::core::PCSTR , szgroupname : :: windows_sys::core::PCSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardAddReaderToGroupW ( hcontext : usize , szreadername : :: windows_sys::core::PCWSTR , szgroupname : :: windows_sys::core::PCWSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardAudit ( hcontext : usize , dwevent : u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardBeginTransaction ( hcard : usize ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardCancel ( hcontext : usize ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardConnectA ( hcontext : usize , szreader : :: windows_sys::core::PCSTR , dwsharemode : u32 , dwpreferredprotocols : u32 , phcard : *mut usize , pdwactiveprotocol : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardConnectW ( hcontext : usize , szreader : :: windows_sys::core::PCWSTR , dwsharemode : u32 , dwpreferredprotocols : u32 , phcard : *mut usize , pdwactiveprotocol : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] 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_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardDisconnect ( hcard : usize , dwdisposition : u32 ) -> i32 ); +::windows_sys::core::link ! ( "scarddlg.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardDlgExtendedError ( ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardEndTransaction ( hcard : usize , dwdisposition : u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardEstablishContext ( dwscope : SCARD_SCOPE , pvreserved1 : *const ::core::ffi::c_void , pvreserved2 : *const ::core::ffi::c_void , phcontext : *mut usize ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardForgetCardTypeA ( hcontext : usize , szcardname : :: windows_sys::core::PCSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardForgetCardTypeW ( hcontext : usize , szcardname : :: windows_sys::core::PCWSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardForgetReaderA ( hcontext : usize , szreadername : :: windows_sys::core::PCSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardForgetReaderGroupA ( hcontext : usize , szgroupname : :: windows_sys::core::PCSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardForgetReaderGroupW ( hcontext : usize , szgroupname : :: windows_sys::core::PCWSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardForgetReaderW ( hcontext : usize , szreadername : :: windows_sys::core::PCWSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardFreeMemory ( hcontext : usize , pvmem : *const ::core::ffi::c_void ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardGetAttrib ( hcard : usize , dwattrid : u32 , pbattr : *mut u8 , pcbattrlen : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardGetCardTypeProviderNameA ( hcontext : usize , szcardname : :: windows_sys::core::PCSTR , dwproviderid : u32 , szprovider : :: windows_sys::core::PSTR , pcchprovider : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardGetCardTypeProviderNameW ( hcontext : usize , szcardname : :: windows_sys::core::PCWSTR , dwproviderid : u32 , szprovider : :: windows_sys::core::PWSTR , pcchprovider : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardGetDeviceTypeIdA ( hcontext : usize , szreadername : :: windows_sys::core::PCSTR , pdwdevicetypeid : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardGetDeviceTypeIdW ( hcontext : usize , szreadername : :: windows_sys::core::PCWSTR , pdwdevicetypeid : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardGetProviderIdA ( hcontext : usize , szcard : :: windows_sys::core::PCSTR , pguidproviderid : *mut :: windows_sys::core::GUID ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardGetProviderIdW ( hcontext : usize , szcard : :: windows_sys::core::PCWSTR , pguidproviderid : *mut :: windows_sys::core::GUID ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardGetReaderDeviceInstanceIdA ( hcontext : usize , szreadername : :: windows_sys::core::PCSTR , szdeviceinstanceid : :: windows_sys::core::PSTR , pcchdeviceinstanceid : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardGetReaderDeviceInstanceIdW ( hcontext : usize , szreadername : :: windows_sys::core::PCWSTR , szdeviceinstanceid : :: windows_sys::core::PWSTR , pcchdeviceinstanceid : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardGetReaderIconA ( hcontext : usize , szreadername : :: windows_sys::core::PCSTR , pbicon : *mut u8 , pcbicon : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardGetReaderIconW ( hcontext : usize , szreadername : :: windows_sys::core::PCWSTR , pbicon : *mut u8 , pcbicon : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardGetStatusChangeA ( hcontext : usize , dwtimeout : u32 , rgreaderstates : *mut SCARD_READERSTATEA , creaders : u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardGetStatusChangeW ( hcontext : usize , dwtimeout : u32 , rgreaderstates : *mut SCARD_READERSTATEW , creaders : u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardGetTransmitCount ( hcard : usize , pctransmitcount : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] 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_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] 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_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardIntroduceReaderA ( hcontext : usize , szreadername : :: windows_sys::core::PCSTR , szdevicename : :: windows_sys::core::PCSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardIntroduceReaderGroupA ( hcontext : usize , szgroupname : :: windows_sys::core::PCSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardIntroduceReaderGroupW ( hcontext : usize , szgroupname : :: windows_sys::core::PCWSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardIntroduceReaderW ( hcontext : usize , szreadername : :: windows_sys::core::PCWSTR , szdevicename : :: windows_sys::core::PCWSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardIsValidContext ( hcontext : usize ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] 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_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] 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_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardListInterfacesA ( hcontext : usize , szcard : :: windows_sys::core::PCSTR , pguidinterfaces : *mut :: windows_sys::core::GUID , pcguidinterfaces : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardListInterfacesW ( hcontext : usize , szcard : :: windows_sys::core::PCWSTR , pguidinterfaces : *mut :: windows_sys::core::GUID , pcguidinterfaces : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardListReaderGroupsA ( hcontext : usize , mszgroups : :: windows_sys::core::PSTR , pcchgroups : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardListReaderGroupsW ( hcontext : usize , mszgroups : :: windows_sys::core::PWSTR , pcchgroups : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardListReadersA ( hcontext : usize , mszgroups : :: windows_sys::core::PCSTR , mszreaders : :: windows_sys::core::PSTR , pcchreaders : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardListReadersW ( hcontext : usize , mszgroups : :: windows_sys::core::PCWSTR , mszreaders : :: windows_sys::core::PWSTR , pcchreaders : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardListReadersWithDeviceInstanceIdA ( hcontext : usize , szdeviceinstanceid : :: windows_sys::core::PCSTR , mszreaders : :: windows_sys::core::PSTR , pcchreaders : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardListReadersWithDeviceInstanceIdW ( hcontext : usize , szdeviceinstanceid : :: windows_sys::core::PCWSTR , mszreaders : :: windows_sys::core::PWSTR , pcchreaders : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardLocateCardsA ( hcontext : usize , mszcards : :: windows_sys::core::PCSTR , rgreaderstates : *mut SCARD_READERSTATEA , creaders : u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardLocateCardsByATRA ( hcontext : usize , rgatrmasks : *const SCARD_ATRMASK , catrs : u32 , rgreaderstates : *mut SCARD_READERSTATEA , creaders : u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardLocateCardsByATRW ( hcontext : usize , rgatrmasks : *const SCARD_ATRMASK , catrs : u32 , rgreaderstates : *mut SCARD_READERSTATEW , creaders : u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardLocateCardsW ( hcontext : usize , mszcards : :: windows_sys::core::PCWSTR , rgreaderstates : *mut SCARD_READERSTATEW , creaders : u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] 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_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] 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_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardReconnect ( hcard : usize , dwsharemode : u32 , dwpreferredprotocols : u32 , dwinitialization : u32 , pdwactiveprotocol : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardReleaseContext ( hcontext : usize ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardReleaseStartedEvent ( ) -> ( ) ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardRemoveReaderFromGroupA ( hcontext : usize , szreadername : :: windows_sys::core::PCSTR , szgroupname : :: windows_sys::core::PCSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardRemoveReaderFromGroupW ( hcontext : usize , szreadername : :: windows_sys::core::PCWSTR , szgroupname : :: windows_sys::core::PCWSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardSetAttrib ( hcard : usize , dwattrid : u32 , pbattr : *const u8 , cbattrlen : u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardSetCardTypeProviderNameA ( hcontext : usize , szcardname : :: windows_sys::core::PCSTR , dwproviderid : u32 , szprovider : :: windows_sys::core::PCSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardSetCardTypeProviderNameW ( hcontext : usize , szcardname : :: windows_sys::core::PCWSTR , dwproviderid : u32 , szprovider : :: windows_sys::core::PCWSTR ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardState ( hcard : usize , pdwstate : *mut u32 , pdwprotocol : *mut u32 , pbatr : *mut u8 , pcbatrlen : *mut u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] 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_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] 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_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] 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_sys::core::link ! ( "scarddlg.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] fn SCardUIDlgSelectCardA ( param0 : *mut OPENCARDNAME_EXA ) -> i32 ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] +::windows_sys::core::link ! ( "scarddlg.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] fn SCardUIDlgSelectCardW ( param0 : *mut OPENCARDNAME_EXW ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardWriteCacheA ( hcontext : usize , cardidentifier : *const :: windows_sys::core::GUID , freshnesscounter : u32 , lookupname : :: windows_sys::core::PCSTR , data : *const u8 , datalen : u32 ) -> i32 ); +::windows_sys::core::link ! ( "winscard.dll""system" #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] fn SCardWriteCacheW ( hcontext : usize , cardidentifier : *const :: windows_sys::core::GUID , freshnesscounter : u32 , lookupname : :: windows_sys::core::PCWSTR , data : *const u8 , datalen : u32 ) -> i32 ); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub const CERT_HASH_LENGTH: u32 = 20u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -313,7 +183,7 @@ pub const CREDSSP_CRED_EX_VERSION: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub const CREDSSP_FLAG_REDIRECT: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CREDSSP_NAME: &str = "CREDSSP"; +pub const CREDSSP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CREDSSP"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub const CREDSSP_SERVER_AUTH_CERTIFICATE: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -365,75 +235,75 @@ pub const CRED_PROTECT_AS_SELF: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub const CRED_PROTECT_TO_SYSTEM: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_SESSION_WILDCARD_NAME: &str = "*Session"; +pub const CRED_SESSION_WILDCARD_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("*Session"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_SESSION_WILDCARD_NAME_A: &str = "*Session"; +pub const CRED_SESSION_WILDCARD_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("*Session"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_SESSION_WILDCARD_NAME_W: &str = "*Session"; +pub const CRED_SESSION_WILDCARD_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("*Session"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_BATCH: &str = "batch"; +pub const CRED_TARGETNAME_ATTRIBUTE_BATCH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("batch"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_BATCH_A: &str = "batch"; +pub const CRED_TARGETNAME_ATTRIBUTE_BATCH_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("batch"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_BATCH_W: &str = "batch"; +pub const CRED_TARGETNAME_ATTRIBUTE_BATCH_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("batch"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE: &str = "cachedinteractive"; +pub const CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("cachedinteractive"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE_A: &str = "cachedinteractive"; +pub const CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("cachedinteractive"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE_W: &str = "cachedinteractive"; +pub const CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("cachedinteractive"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE: &str = "interactive"; +pub const CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("interactive"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE_A: &str = "interactive"; +pub const CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("interactive"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE_W: &str = "interactive"; +pub const CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("interactive"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_NAME: &str = "name"; +pub const CRED_TARGETNAME_ATTRIBUTE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("name"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_NAME_A: &str = "name"; +pub const CRED_TARGETNAME_ATTRIBUTE_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("name"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_NAME_W: &str = "name"; +pub const CRED_TARGETNAME_ATTRIBUTE_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("name"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_NETWORK: &str = "network"; +pub const CRED_TARGETNAME_ATTRIBUTE_NETWORK: ::windows_sys::core::PCWSTR = ::windows_sys::w!("network"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT: &str = "networkcleartext"; +pub const CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("networkcleartext"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT_A: &str = "networkcleartext"; +pub const CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("networkcleartext"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT_W: &str = "networkcleartext"; +pub const CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("networkcleartext"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_NETWORK_A: &str = "network"; +pub const CRED_TARGETNAME_ATTRIBUTE_NETWORK_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("network"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_NETWORK_W: &str = "network"; +pub const CRED_TARGETNAME_ATTRIBUTE_NETWORK_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("network"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE: &str = "remoteinteractive"; +pub const CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("remoteinteractive"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE_A: &str = "remoteinteractive"; +pub const CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("remoteinteractive"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE_W: &str = "remoteinteractive"; +pub const CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("remoteinteractive"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_SERVICE: &str = "service"; +pub const CRED_TARGETNAME_ATTRIBUTE_SERVICE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("service"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_SERVICE_A: &str = "service"; +pub const CRED_TARGETNAME_ATTRIBUTE_SERVICE_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("service"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_SERVICE_W: &str = "service"; +pub const CRED_TARGETNAME_ATTRIBUTE_SERVICE_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("service"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_TARGET: &str = "target"; +pub const CRED_TARGETNAME_ATTRIBUTE_TARGET: ::windows_sys::core::PCWSTR = ::windows_sys::w!("target"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_TARGET_A: &str = "target"; +pub const CRED_TARGETNAME_ATTRIBUTE_TARGET_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("target"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_ATTRIBUTE_TARGET_W: &str = "target"; +pub const CRED_TARGETNAME_ATTRIBUTE_TARGET_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("target"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_DOMAIN_NAMESPACE: &str = "Domain"; +pub const CRED_TARGETNAME_DOMAIN_NAMESPACE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Domain"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_DOMAIN_NAMESPACE_A: &str = "Domain"; +pub const CRED_TARGETNAME_DOMAIN_NAMESPACE_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Domain"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_DOMAIN_NAMESPACE_W: &str = "Domain"; +pub const CRED_TARGETNAME_DOMAIN_NAMESPACE_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Domain"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_LEGACYGENERIC_NAMESPACE_A: &str = "LegacyGeneric"; +pub const CRED_TARGETNAME_LEGACYGENERIC_NAMESPACE_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("LegacyGeneric"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const CRED_TARGETNAME_LEGACYGENERIC_NAMESPACE_W: &str = "LegacyGeneric"; +pub const CRED_TARGETNAME_LEGACYGENERIC_NAMESPACE_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LegacyGeneric"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub const CRED_TI_CREATE_EXPLICIT_CRED: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -456,7 +326,8 @@ pub const CRED_UNPROTECT_ALLOW_TO_SYSTEM: u32 = 2u32; pub const CRED_UNPROTECT_AS_SELF: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub const FILE_DEVICE_SMARTCARD: u32 = 49u32; -pub const GUID_DEVINTERFACE_SMARTCARD_READER: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1356681776, data2: 47754, data3: 4561, data4: [191, 93, 0, 0, 248, 5, 245, 48] }; +#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] +pub const GUID_DEVINTERFACE_SMARTCARD_READER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x50dd5230_ba8a_11d1_bf5d_0000f805f530); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub const MAXIMUM_ATTR_STRING_LENGTH: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -464,7 +335,7 @@ pub const MAXIMUM_SMARTCARD_READERS: u32 = 10u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub const SCARD_ABSENT: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const SCARD_ALL_READERS: &str = "SCard$AllReaders\u{0}00"; +pub const SCARD_ALL_READERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SCard$AllReaders\u{0}00"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub const SCARD_ATR_LENGTH: u32 = 33u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -496,13 +367,13 @@ pub const SCARD_CLASS_VENDOR_INFO: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub const SCARD_COLD_RESET: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const SCARD_DEFAULT_READERS: &str = "SCard$DefaultReaders\u{0}00"; +pub const SCARD_DEFAULT_READERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SCard$DefaultReaders\u{0}00"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub const SCARD_EJECT_CARD: u32 = 3u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub const SCARD_LEAVE_CARD: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const SCARD_LOCAL_READERS: &str = "SCard$LocalReaders\u{0}00"; +pub const SCARD_LOCAL_READERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SCard$LocalReaders\u{0}00"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub const SCARD_NEGOTIABLE: u32 = 5u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -580,7 +451,7 @@ pub const SCARD_STATE_UNPOWERED: u32 = 1024u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub const SCARD_SWALLOWED: u32 = 3u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const SCARD_SYSTEM_READERS: &str = "SCard$SystemReaders\u{0}00"; +pub const SCARD_SYSTEM_READERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SCard$SystemReaders\u{0}00"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub const SCARD_T0_CMD_LENGTH: u32 = 5u32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -653,11 +524,11 @@ pub const STATUS_PASSWORD_MUST_CHANGE: super::super::Foundation::NTSTATUS = -107 #[cfg(feature = "Win32_Foundation")] pub const STATUS_WRONG_PASSWORD: super::super::Foundation::NTSTATUS = -1073741718i32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const TS_SSP_NAME: &str = "TSSSP"; +pub const TS_SSP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TSSSP"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const TS_SSP_NAME_A: &str = "TSSSP"; +pub const TS_SSP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("TSSSP"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub const szOID_TS_KP_TS_SERVER_AUTH: &str = "1.3.6.1.4.1.311.54.1.2"; +pub const szOID_TS_KP_TS_SERVER_AUTH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.54.1.2"); #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub type CREDSPP_SUBMIT_TYPE = i32; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] @@ -1502,4 +1373,4 @@ pub type LPOCNCONNPROCA = ::core::option::Option<unsafe extern "system" fn(param #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] pub type LPOCNCONNPROCW = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: ::windows_sys::core::PCWSTR, param2: ::windows_sys::core::PCWSTR, param3: *const ::core::ffi::c_void) -> usize>; #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"] -pub type LPOCNDSCPROC = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: usize, param2: *const ::core::ffi::c_void)>; +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 index b18882803..859ecc050 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs @@ -1,106 +1,69 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATAdminAcquireContext(phcatadmin: *mut isize, pgsubsystem: *const ::windows_sys::core::GUID, dwflags: u32) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATAdminAcquireContext2(phcatadmin: *mut isize, pgsubsystem: *const ::windows_sys::core::GUID, pwszhashalgorithm: ::windows_sys::core::PCWSTR, pstronghashpolicy: *const super::CERT_STRONG_SIGN_PARA, dwflags: u32) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] - pub fn CryptCATAdminAddCatalog(hcatadmin: isize, pwszcatalogfile: ::windows_sys::core::PCWSTR, pwszselectbasename: ::windows_sys::core::PCWSTR, dwflags: u32) -> isize; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATAdminCalcHashFromFileHandle(hfile: super::super::super::Foundation::HANDLE, pcbhash: *mut u32, pbhash: *mut u8, dwflags: u32) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATAdminCalcHashFromFileHandle2(hcatadmin: isize, hfile: super::super::super::Foundation::HANDLE, pcbhash: *mut u32, pbhash: *mut u8, dwflags: u32) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] - pub fn CryptCATAdminEnumCatalogFromHash(hcatadmin: isize, pbhash: *const u8, cbhash: u32, dwflags: u32, phprevcatinfo: *mut isize) -> isize; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATAdminPauseServiceForBackup(dwflags: u32, fresume: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATAdminReleaseCatalogContext(hcatadmin: isize, hcatinfo: isize, dwflags: u32) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATAdminReleaseContext(hcatadmin: isize, dwflags: u32) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATAdminRemoveCatalog(hcatadmin: isize, pwszcatalogfile: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATAdminResolveCatalogPath(hcatadmin: isize, pwszcatalogfile: ::windows_sys::core::PCWSTR, pscatinfo: *mut CATALOG_INFO, dwflags: u32) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] - pub fn CryptCATAllocSortedMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATMEMBER; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATCDFClose(pcdf: *mut CRYPTCATCDF) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] - pub fn CryptCATCDFEnumAttributes(pcdf: *mut CRYPTCATCDF, pmember: *mut CRYPTCATMEMBER, pprevattr: *mut CRYPTCATATTRIBUTE, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATCDFEnumCatAttributes(pcdf: *mut CRYPTCATCDF, pprevattr: *mut CRYPTCATATTRIBUTE, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] - pub fn CryptCATCDFEnumMembers(pcdf: *mut CRYPTCATCDF, pprevmember: *mut CRYPTCATMEMBER, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATMEMBER; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATCDFOpen(pwszfilepath: ::windows_sys::core::PCWSTR, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATCDF; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATCatalogInfoFromContext(hcatinfo: isize, pscatinfo: *mut CATALOG_INFO, dwflags: u32) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATClose(hcatalog: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] - pub fn CryptCATEnumerateAttr(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER, pprevattr: *mut CRYPTCATATTRIBUTE) -> *mut CRYPTCATATTRIBUTE; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATEnumerateCatAttr(hcatalog: super::super::super::Foundation::HANDLE, pprevattr: *mut CRYPTCATATTRIBUTE) -> *mut CRYPTCATATTRIBUTE; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] - pub fn CryptCATEnumerateMember(hcatalog: super::super::super::Foundation::HANDLE, pprevmember: *mut CRYPTCATMEMBER) -> *mut CRYPTCATMEMBER; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] - pub fn CryptCATFreeSortedMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER); - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] - pub fn CryptCATGetAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATATTRIBUTE; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATGetCatAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATATTRIBUTE; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] - pub fn CryptCATGetMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATMEMBER; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATHandleFromStore(pcatstore: *mut CRYPTCATSTORE) -> super::super::super::Foundation::HANDLE; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATOpen(pwszfilename: ::windows_sys::core::PCWSTR, fdwopenflags: CRYPTCAT_OPEN_FLAGS, hprov: usize, dwpublicversion: CRYPTCAT_VERSION, dwencodingtype: u32) -> super::super::super::Foundation::HANDLE; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATPersistStore(hcatalog: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] - pub fn CryptCATPutAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER, pwszreferencetag: ::windows_sys::core::PCWSTR, dwattrtypeandaction: u32, cbdata: u32, pbdata: *mut u8) -> *mut CRYPTCATATTRIBUTE; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATPutCatAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR, dwattrtypeandaction: u32, cbdata: u32, pbdata: *mut u8) -> *mut CRYPTCATATTRIBUTE; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] - pub fn CryptCATPutMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszfilename: ::windows_sys::core::PCWSTR, pwszreferencetag: ::windows_sys::core::PCWSTR, pgsubjecttype: *mut ::windows_sys::core::GUID, dwcertversion: u32, cbsipindirectdata: u32, pbsipindirectdata: *mut u8) -> *mut CRYPTCATMEMBER; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCATStoreFromHandle(hcatalog: super::super::super::Foundation::HANDLE) -> *mut CRYPTCATSTORE; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn IsCatalogFile(hfile: super::super::super::Foundation::HANDLE, pwszfilename: ::windows_sys::core::PCWSTR) -> super::super::super::Foundation::BOOL; -} +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] fn CryptCATAdminAddCatalog ( hcatadmin : isize , pwszcatalogfile : :: windows_sys::core::PCWSTR , pwszselectbasename : :: windows_sys::core::PCWSTR , dwflags : u32 ) -> isize ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] fn CryptCATAdminEnumCatalogFromHash ( hcatadmin : isize , pbhash : *const u8 , cbhash : u32 , dwflags : u32 , phprevcatinfo : *mut isize ) -> isize ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] fn CryptCATAdminPauseServiceForBackup ( dwflags : u32 , fresume : super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] fn CryptCATAdminReleaseCatalogContext ( hcatadmin : isize , hcatinfo : isize , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] fn CryptCATAdminReleaseContext ( hcatadmin : isize , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] fn CryptCATAdminRemoveCatalog ( hcatadmin : isize , pwszcatalogfile : :: windows_sys::core::PCWSTR , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] fn CryptCATCDFClose ( pcdf : *mut CRYPTCATCDF ) -> super::super::super::Foundation:: BOOL ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] fn CryptCATCDFOpen ( pwszfilepath : :: windows_sys::core::PCWSTR , pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK ) -> *mut CRYPTCATCDF ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] fn CryptCATCatalogInfoFromContext ( hcatinfo : isize , pscatinfo : *mut CATALOG_INFO , dwflags : u32 ) -> super::super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] fn CryptCATHandleFromStore ( pcatstore : *mut CRYPTCATSTORE ) -> super::super::super::Foundation:: HANDLE ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] fn CryptCATStoreFromHandle ( hcatalog : super::super::super::Foundation:: HANDLE ) -> *mut CRYPTCATSTORE ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"] fn IsCatalogFile ( hfile : super::super::super::Foundation:: HANDLE , pwszfilename : :: windows_sys::core::PCWSTR ) -> super::super::super::Foundation:: BOOL ); #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] pub const CRYPTCAT_ADDCATALOG_HARDLINK: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] @@ -146,17 +109,17 @@ pub const CRYPTCAT_E_CDF_TAGNOTFOUND: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] pub const CRYPTCAT_E_CDF_UNSUPPORTED: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] -pub const CRYPTCAT_FILEEXT: &str = "CAT"; +pub const CRYPTCAT_FILEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAT"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] pub const CRYPTCAT_MAX_MEMBERTAG: u32 = 64u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] pub const CRYPTCAT_MEMBER_SORTED: u32 = 1073741824u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] -pub const szOID_CATALOG_LIST: &str = "1.3.6.1.4.1.311.12.1.1"; +pub const szOID_CATALOG_LIST: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.12.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] -pub const szOID_CATALOG_LIST_MEMBER: &str = "1.3.6.1.4.1.311.12.1.2"; +pub const szOID_CATALOG_LIST_MEMBER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.12.1.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] -pub const szOID_CATALOG_LIST_MEMBER2: &str = "1.3.6.1.4.1.311.12.1.3"; +pub const szOID_CATALOG_LIST_MEMBER2: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.12.1.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] pub type CRYPTCAT_OPEN_FLAGS = u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] @@ -244,8 +207,8 @@ pub struct CRYPTCATMEMBER { pub dwCertVersion: u32, pub dwReserved: u32, pub hReserved: super::super::super::Foundation::HANDLE, - pub sEncodedIndirectData: super::CRYPTOAPI_BLOB, - pub sEncodedMemberInfo: super::CRYPTOAPI_BLOB, + 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 {} @@ -295,4 +258,4 @@ impl ::core::clone::Clone for MS_ADDINFO_CATALOGMEMBER { } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"] -pub type PFN_CDF_PARSE_ERROR_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwerrorarea: u32, dwlocalerror: u32, pwszline: ::windows_sys::core::PCWSTR)>; +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 index c1ce410aa..0e6f376ee 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs @@ -1,67 +1,38 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvBackupClose(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvBackupEnd(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvBackupFree(pv: *mut ::core::ffi::c_void); - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvBackupGetBackupLogsW(hbc: *const ::core::ffi::c_void, ppwszzbackuplogfiles: *mut ::windows_sys::core::PWSTR, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvBackupGetDatabaseNamesW(hbc: *const ::core::ffi::c_void, ppwszzattachmentinformation: *mut ::windows_sys::core::PWSTR, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvBackupGetDynamicFileListW(hbc: *const ::core::ffi::c_void, ppwszzfilelist: *mut ::windows_sys::core::PWSTR, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvBackupOpenFileW(hbc: *mut ::core::ffi::c_void, pwszattachmentname: ::windows_sys::core::PCWSTR, cbreadhintsize: u32, plifilesize: *mut i64) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvBackupPrepareW(pwszservername: ::windows_sys::core::PCWSTR, grbitjet: u32, dwbackupflags: CSBACKUP_TYPE, phbc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvBackupRead(hbc: *mut ::core::ffi::c_void, pvbuffer: *mut ::core::ffi::c_void, cbbuffer: u32, pcbread: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvBackupTruncateLogs(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertSrvIsServerOnlineW(pwszservername: ::windows_sys::core::PCWSTR, pfserveronline: *mut super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvRestoreEnd(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvRestoreGetDatabaseLocationsW(hbc: *const ::core::ffi::c_void, ppwszzdatabaselocationlist: *mut ::windows_sys::core::PWSTR, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvRestorePrepareW(pwszservername: ::windows_sys::core::PCWSTR, dwrestoreflags: u32, phbc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvRestoreRegisterComplete(hbc: *mut ::core::ffi::c_void, hrrestorestate: ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvRestoreRegisterThroughFile(hbc: *mut ::core::ffi::c_void, pwszcheckpointfilepath: ::windows_sys::core::PCWSTR, pwszlogpath: ::windows_sys::core::PCWSTR, rgrstmap: *mut CSEDB_RSTMAPW, crstmap: i32, pwszbackuplogpath: ::windows_sys::core::PCWSTR, genlow: u32, genhigh: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvRestoreRegisterW(hbc: *mut ::core::ffi::c_void, pwszcheckpointfilepath: ::windows_sys::core::PCWSTR, pwszlogpath: ::windows_sys::core::PCWSTR, rgrstmap: *mut CSEDB_RSTMAPW, crstmap: i32, pwszbackuplogpath: ::windows_sys::core::PCWSTR, genlow: u32, genhigh: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] - pub fn CertSrvServerControlW(pwszservername: ::windows_sys::core::PCWSTR, dwcontrolflags: u32, pcbout: *mut u32, ppbout: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn PstAcquirePrivateKey(pcert: *const super::CERT_CONTEXT) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] - pub fn PstGetCertificateChain(pcert: *const super::CERT_CONTEXT, ptrustedissuers: *const super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx, ppcertchaincontext: *mut *mut super::CERT_CHAIN_CONTEXT) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn PstGetCertificates(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, ccriteria: u32, rgpcriteria: *const super::CERT_SELECT_CRITERIA, bisclient: super::super::super::Foundation::BOOL, pdwcertchaincontextcount: *mut u32, ppcertchaincontexts: *mut *mut *mut super::CERT_CHAIN_CONTEXT) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] - pub fn PstGetTrustAnchors(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, ccriteria: u32, rgpcriteria: *const super::CERT_SELECT_CRITERIA, pptrustedissuers: *mut *mut super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] - pub fn PstGetTrustAnchorsEx(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, ccriteria: u32, rgpcriteria: *const super::CERT_SELECT_CRITERIA, pcertcontext: *const super::CERT_CONTEXT, pptrustedissuers: *mut *mut super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn PstGetUserNameForCertificate(pcertcontext: *const super::CERT_CONTEXT, username: *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] - pub fn PstMapCertificate(pcert: *const super::CERT_CONTEXT, ptokeninformationtype: *mut super::super::Authentication::Identity::LSA_TOKEN_INFORMATION_TYPE, pptokeninformation: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn PstValidate(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, bisclient: super::super::super::Foundation::BOOL, prequestedissuancepolicy: *const super::CERT_USAGE_MATCH, phadditionalcertstore: *const super::HCERTSTORE, pcert: *const super::CERT_CONTEXT, pprovguid: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::NTSTATUS; -} +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] fn CertSrvBackupClose ( hbc : *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] fn CertSrvBackupEnd ( hbc : *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] fn CertSrvBackupFree ( pv : *mut ::core::ffi::c_void ) -> ( ) ); +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] fn CertSrvBackupGetBackupLogsW ( hbc : *const ::core::ffi::c_void , ppwszzbackuplogfiles : *mut :: windows_sys::core::PWSTR , pcbsize : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] fn CertSrvBackupGetDatabaseNamesW ( hbc : *const ::core::ffi::c_void , ppwszzattachmentinformation : *mut :: windows_sys::core::PWSTR , pcbsize : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] fn CertSrvBackupGetDynamicFileListW ( hbc : *const ::core::ffi::c_void , ppwszzfilelist : *mut :: windows_sys::core::PWSTR , pcbsize : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] fn CertSrvBackupOpenFileW ( hbc : *mut ::core::ffi::c_void , pwszattachmentname : :: windows_sys::core::PCWSTR , cbreadhintsize : u32 , plifilesize : *mut i64 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] fn CertSrvBackupPrepareW ( pwszservername : :: windows_sys::core::PCWSTR , grbitjet : u32 , dwbackupflags : CSBACKUP_TYPE , phbc : *mut *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] fn CertSrvBackupRead ( hbc : *mut ::core::ffi::c_void , pvbuffer : *mut ::core::ffi::c_void , cbbuffer : u32 , pcbread : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] fn CertSrvBackupTruncateLogs ( hbc : *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] fn CertSrvIsServerOnlineW ( pwszservername : :: windows_sys::core::PCWSTR , pfserveronline : *mut super::super::super::Foundation:: BOOL ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] fn CertSrvRestoreEnd ( hbc : *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] fn CertSrvRestoreGetDatabaseLocationsW ( hbc : *const ::core::ffi::c_void , ppwszzdatabaselocationlist : *mut :: windows_sys::core::PWSTR , pcbsize : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] fn CertSrvRestorePrepareW ( pwszservername : :: windows_sys::core::PCWSTR , dwrestoreflags : u32 , phbc : *mut *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] fn CertSrvRestoreRegisterComplete ( hbc : *mut ::core::ffi::c_void , hrrestorestate : :: windows_sys::core::HRESULT ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] 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_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] 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_sys::core::link ! ( "certadm.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] 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_sys::core::link ! ( "certpoleng.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"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_sys::core::link ! ( "certpoleng.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"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_sys::core::link ! ( "certpoleng.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"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_sys::core::link ! ( "certpoleng.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"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_sys::core::link ! ( "certpoleng.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"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_sys::core::link ! ( "certpoleng.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"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_sys::core::link ! ( "certpoleng.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"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_sys::core::link ! ( "certpoleng.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"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; @@ -241,56 +212,98 @@ pub const CA_DISP_REVOKED: u32 = 2u32; pub const CA_DISP_UNDER_SUBMISSION: u32 = 5u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub const CA_DISP_VALID: u32 = 3u32; -pub const CAlternativeName: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821395, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CAlternativeNames: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821396, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CBinaryConverter: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821378, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CAlternativeName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2013_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CAlternativeNames: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2014_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CBinaryConverter: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2002_217d_11da_b2a4_000e7bbb2b09); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub const CCLOCKSKEWMINUTESDEFAULT: u32 = 10u32; -pub const CCertAdmin: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 938130160, data2: 32694, data3: 4560, data4: [136, 23, 0, 160, 201, 3, 184, 60] }; -pub const CCertConfig: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 925879864, data2: 17188, data3: 4560, data4: [136, 16, 0, 160, 201, 3, 184, 60] }; -pub const CCertEncodeAltName: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 486296794, data2: 4721, data3: 4561, data4: [155, 212, 0, 192, 79, 182, 131, 250] }; -pub const CCertEncodeBitString: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1835744472, data2: 4728, data3: 4561, data4: [155, 212, 0, 192, 79, 182, 131, 250] }; -pub const CCertEncodeCRLDistInfo: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 33185952, data2: 48127, data3: 4560, data4: [136, 37, 0, 160, 201, 3, 184, 60] }; -pub const CCertEncodeDateArray: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 807368624, data2: 42096, data3: 4560, data4: [136, 33, 0, 160, 201, 3, 184, 60] }; -pub const CCertEncodeLongArray: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1309048992, data2: 41122, data3: 4560, data4: [136, 33, 0, 160, 201, 3, 184, 60] }; -pub const CCertEncodeStringArray: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 430403552, data2: 29844, data3: 4560, data4: [136, 22, 0, 160, 201, 3, 184, 60] }; -pub const CCertGetConfig: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3335276976, data2: 52759, data3: 4560, data4: [136, 51, 0, 160, 201, 3, 184, 60] }; -pub const CCertProperties: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821423, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCertProperty: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821422, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCertPropertyArchived: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821431, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCertPropertyArchivedKeyHash: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821435, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCertPropertyAutoEnroll: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821426, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCertPropertyBackedUp: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821432, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCertPropertyDescription: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821425, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCertPropertyEnrollment: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821433, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCertPropertyEnrollmentPolicyServer: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821452, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCertPropertyFriendlyName: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821424, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCertPropertyKeyProvInfo: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821430, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCertPropertyRenewal: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821434, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCertPropertyRequestOriginator: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821427, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCertPropertySHA1Hash: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821428, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCertRequest: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2561668080, data2: 21796, data3: 4560, data4: [136, 18, 0, 160, 201, 3, 184, 60] }; -pub const CCertServerExit: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1279942208, data2: 29484, data3: 4560, data4: [136, 22, 0, 160, 201, 3, 184, 60] }; -pub const CCertServerPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2852129062, data2: 65470, data3: 4559, data4: [136, 0, 0, 160, 201, 3, 184, 60] }; -pub const CCertView: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2704084858, data2: 7812, data3: 4561, data4: [155, 214, 0, 192, 79, 182, 131, 250] }; -pub const CCertificateAttestationChallenge: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 325234081, data2: 60256, data3: 17770, data4: [182, 225, 17, 128, 80, 219, 116, 27] }; -pub const CCertificatePolicies: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821407, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCertificatePolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821406, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCryptAttribute: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821420, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCryptAttributes: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821421, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCspInformation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821383, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCspInformations: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821384, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CCspStatus: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821385, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertAdmin: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x37eabaf0_7fb6_11d0_8817_00a0c903b83c); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertConfig: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x372fce38_4324_11d0_8810_00a0c903b83c); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertEncodeAltName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1cfc4cda_1271_11d1_9bd4_00c04fb683fa); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertEncodeBitString: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6d6b3cd8_1278_11d1_9bd4_00c04fb683fa); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertEncodeCRLDistInfo: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x01fa60a0_bbff_11d0_8825_00a0c903b83c); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertEncodeDateArray: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x301f77b0_a470_11d0_8821_00a0c903b83c); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertEncodeLongArray: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4e0680a0_a0a2_11d0_8821_00a0c903b83c); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertEncodeStringArray: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x19a76fe0_7494_11d0_8816_00a0c903b83c); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertGetConfig: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc6cc49b0_ce17_11d0_8833_00a0c903b83c); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertProperties: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202f_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertProperty: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202e_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertPropertyArchived: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2037_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertPropertyArchivedKeyHash: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e203b_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertPropertyAutoEnroll: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2032_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertPropertyBackedUp: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2038_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertPropertyDescription: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2031_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertPropertyEnrollment: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2039_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertPropertyEnrollmentPolicyServer: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e204c_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertPropertyFriendlyName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2030_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertPropertyKeyProvInfo: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2036_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertPropertyRenewal: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e203a_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertPropertyRequestOriginator: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2033_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertPropertySHA1Hash: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2034_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertRequest: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x98aff3f0_5524_11d0_8812_00a0c903b83c); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertServerExit: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4c4a5e40_732c_11d0_8816_00a0c903b83c); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertServerPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaa000926_ffbe_11cf_8800_00a0c903b83c); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertView: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa12d0f7a_1e84_11d1_9bd6_00c04fb683fa); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertificateAttestationChallenge: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1362ada1_eb60_456a_b6e1_118050db741b); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertificatePolicies: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201f_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCertificatePolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201e_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCryptAttribute: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202c_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCryptAttributes: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202d_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCspInformation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2007_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCspInformations: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2008_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CCspStatus: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2009_217d_11da_b2a4_000e7bbb2b09); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub const CERTENROLL_INDEX_BASE: u32 = 0u32; -pub const CEnroll: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1140388489, data2: 31264, data3: 4560, data4: [143, 6, 0, 192, 79, 194, 149, 225] }; -pub const CEnroll2: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 309762276, data2: 59184, data3: 20060, data4: [162, 177, 33, 73, 10, 112, 200, 161] }; +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CEnroll: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x43f8f289_7a20_11d0_8f06_00c04fc295e1); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CEnroll2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x127698e4_e730_4e5c_a2b1_21490a70c8a1); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub const CMM_READONLY: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub const CMM_REFRESHONLY: u32 = 1u32; -pub const CObjectId: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821376, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CObjectIds: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821377, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CObjectId: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2000_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CObjectIds: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2001_217d_11da_b2a4_000e7bbb2b09); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub const CPF_BADURL_ERROR: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] @@ -319,8 +332,10 @@ pub const CPF_POSTPONED_BASE_LDAP_ERROR: u32 = 4096u32; pub const CPF_SHADOW: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub const CPF_SIGNATURE_ERROR: u32 = 128u32; -pub const CPolicyQualifier: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821404, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CPolicyQualifiers: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821405, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CPolicyQualifier: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201c_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CPolicyQualifiers: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201d_217d_11da_b2a4_000e7bbb2b09); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub const CRLF_ALLOW_REQUEST_ATTRIBUTE_SUBJECT: u32 = 65536u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] @@ -651,9 +666,12 @@ pub const CSVER_MINOR_WIN7: u32 = 1u32; pub const CSVER_MINOR_WIN8: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub const CSVER_MINOR_WINBLUE: u32 = 1u32; -pub const CSignerCertificate: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821437, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CSmimeCapabilities: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821402, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CSmimeCapability: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821401, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CSignerCertificate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e203d_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CSmimeCapabilities: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201a_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CSmimeCapability: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2019_217d_11da_b2a4_000e7bbb2b09); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub const CVIEWAGEMINUTESDEFAULT: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] @@ -688,51 +706,96 @@ pub const CV_OUT_HEXRAW: u32 = 12u32; pub const CV_OUT_NOCR: u32 = 2147483648u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub const CV_OUT_NOCRLF: u32 = 1073741824u32; -pub const CX500DistinguishedName: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821379, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509Attribute: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821410, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509AttributeArchiveKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821415, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509AttributeArchiveKeyHash: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821416, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509AttributeClientId: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821413, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509AttributeCspProvider: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821419, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509AttributeExtensions: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821412, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509AttributeOSVersion: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821418, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509AttributeRenewalCertificate: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821414, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509Attributes: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821411, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509CertificateRequestCertificate: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821443, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509CertificateRequestCmc: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821445, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509CertificateRequestPkcs10: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821442, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509CertificateRequestPkcs7: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821444, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509CertificateRevocationList: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821472, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509CertificateRevocationListEntries: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821471, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509CertificateRevocationListEntry: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821470, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509CertificateTemplateADWritable: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2201412387, data2: 11882, data3: 18948, data4: [147, 124, 84, 143, 104, 24, 57, 179] }; -pub const CX509EndorsementKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 295852573, data2: 47523, data3: 20189, data4: [175, 131, 59, 89, 173, 190, 211, 97] }; -pub const CX509Enrollment: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821446, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509EnrollmentHelper: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821456, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509EnrollmentPolicyActiveDirectory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2448658471, data2: 8575, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509EnrollmentPolicyWebService: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2448658472, data2: 8575, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509EnrollmentWebClassFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821449, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509Extension: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821389, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509ExtensionAlternativeNames: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821397, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509ExtensionAuthorityKeyIdentifier: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821400, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509ExtensionBasicConstraints: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821398, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509ExtensionCertificatePolicies: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821408, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509ExtensionEnhancedKeyUsage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821392, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509ExtensionKeyUsage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821391, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509ExtensionMSApplicationPolicies: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821409, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509ExtensionSmimeCapabilities: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821403, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509ExtensionSubjectKeyIdentifier: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821399, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509ExtensionTemplate: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821394, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509ExtensionTemplateName: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821393, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509Extensions: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821390, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509MachineEnrollmentFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821457, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509NameValuePair: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821439, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509PolicyServerListManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2448658473, data2: 8575, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509PolicyServerUrl: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2448658474, data2: 8575, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509PrivateKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821388, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509PublicKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821387, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509SCEPEnrollment: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821473, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; -pub const CX509SCEPEnrollmentHelper: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821474, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] }; +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX500DistinguishedName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2003_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509Attribute: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2022_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509AttributeArchiveKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2027_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509AttributeArchiveKeyHash: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2028_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509AttributeClientId: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2025_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509AttributeCspProvider: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202b_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509AttributeExtensions: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2024_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509AttributeOSVersion: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202a_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509AttributeRenewalCertificate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2026_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509Attributes: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2023_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509CertificateRequestCertificate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2043_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509CertificateRequestCmc: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2045_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509CertificateRequestPkcs10: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2042_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509CertificateRequestPkcs7: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2044_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509CertificateRevocationList: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2060_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509CertificateRevocationListEntries: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e205f_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509CertificateRevocationListEntry: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e205e_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509CertificateTemplateADWritable: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8336e323_2e6a_4a04_937c_548f681839b3); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509EndorsementKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x11a25a1d_b9a3_4edd_af83_3b59adbed361); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509Enrollment: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2046_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509EnrollmentHelper: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2050_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509EnrollmentPolicyActiveDirectory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x91f39027_217f_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509EnrollmentPolicyWebService: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x91f39028_217f_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509EnrollmentWebClassFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2049_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509Extension: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e200d_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509ExtensionAlternativeNames: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2015_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509ExtensionAuthorityKeyIdentifier: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2018_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509ExtensionBasicConstraints: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2016_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509ExtensionCertificatePolicies: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2020_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509ExtensionEnhancedKeyUsage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2010_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509ExtensionKeyUsage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e200f_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509ExtensionMSApplicationPolicies: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2021_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509ExtensionSmimeCapabilities: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201b_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509ExtensionSubjectKeyIdentifier: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2017_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509ExtensionTemplate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2012_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509ExtensionTemplateName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2011_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509Extensions: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e200e_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509MachineEnrollmentFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2051_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509NameValuePair: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e203f_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509PolicyServerListManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x91f39029_217f_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509PolicyServerUrl: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x91f3902a_217f_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509PrivateKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e200c_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509PublicKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e200b_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509SCEPEnrollment: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2061_217d_11da_b2a4_000e7bbb2b09); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const CX509SCEPEnrollmentHelper: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2062_217d_11da_b2a4_000e7bbb2b09); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub const DBFLAGS_CHECKPOINTDEPTH60MB: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] @@ -973,8 +1036,10 @@ pub const KR_ENABLE_USER: u32 = 2u32; pub const LDAPF_SIGNDISABLE: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub const LDAPF_SSLENABLE: u32 = 1u32; -pub const OCSPAdmin: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3556193553, data2: 37577, data3: 18379, data4: [143, 242, 141, 137, 26, 124, 77, 228] }; -pub const OCSPPropertyCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4181042472, data2: 47754, data3: 19929, data4: [186, 121, 242, 131, 39, 92, 178, 222] }; +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const OCSPAdmin: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd3f73511_92c9_47cb_8ff2_8d891a7c4de4); +#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] +pub const OCSPPropertyCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf935a528_ba8a_4dd9_ba79_f283275cb2de); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub const PROCFLG_ENFORCEGOODKEYS: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] @@ -1110,1153 +1175,1153 @@ pub const dwVALIDITYPERIODCOUNTDEFAULT_ROOT: u32 = 5u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub const dwVALIDITYPERIODCOUNTDEFAULT_STANDALONE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const szBACKUPANNOTATION: &str = "Cert Server Backup Interface"; +pub const szBACKUPANNOTATION: ::windows_sys::core::PCSTR = ::windows_sys::s!("Cert Server Backup Interface"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const szDBBASENAMEPARM: &str = "edb"; +pub const szDBBASENAMEPARM: ::windows_sys::core::PCSTR = ::windows_sys::s!("edb"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const szNAMESEPARATORDEFAULT: &str = "\n"; +pub const szNAMESEPARATORDEFAULT: ::windows_sys::core::PCSTR = ::windows_sys::s!("\n"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const szPROPASNTAG: &str = "{asn}"; +pub const szPROPASNTAG: ::windows_sys::core::PCSTR = ::windows_sys::s!("{asn}"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const szRESTOREANNOTATION: &str = "Cert Server Restore Interface"; +pub const szRESTOREANNOTATION: ::windows_sys::core::PCSTR = ::windows_sys::s!("Cert Server Restore Interface"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszAT_EKCERTINF: &str = "@EKCert"; +pub const wszAT_EKCERTINF: ::windows_sys::core::PCWSTR = ::windows_sys::w!("@EKCert"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszAT_TESTROOT: &str = "@TestRoot"; +pub const wszAT_TESTROOT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("@TestRoot"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCAPOLICYFILE: &str = "CAPolicy.inf"; +pub const wszCAPOLICYFILE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAPolicy.inf"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCERTEXITMODULE_POSTFIX: &str = ".Exit"; +pub const wszCERTEXITMODULE_POSTFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".Exit"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCERTIFICATETRANSPARENCYFLAGS: &str = "CertificateTransparencyFlags"; +pub const wszCERTIFICATETRANSPARENCYFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateTransparencyFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCERTMANAGE_SUFFIX: &str = "Manage"; +pub const wszCERTMANAGE_SUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Manage"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCERTPOLICYMODULE_POSTFIX: &str = ".Policy"; +pub const wszCERTPOLICYMODULE_POSTFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".Policy"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCERT_TYPE: &str = "RequestType"; +pub const wszCERT_TYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestType"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCERT_TYPE_CLIENT: &str = "Client"; +pub const wszCERT_TYPE_CLIENT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Client"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCERT_TYPE_CODESIGN: &str = "CodeSign"; +pub const wszCERT_TYPE_CODESIGN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CodeSign"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCERT_TYPE_CUSTOMER: &str = "SetCustomer"; +pub const wszCERT_TYPE_CUSTOMER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SetCustomer"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCERT_TYPE_MERCHANT: &str = "SetMerchant"; +pub const wszCERT_TYPE_MERCHANT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SetMerchant"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCERT_TYPE_PAYMENT: &str = "SetPayment"; +pub const wszCERT_TYPE_PAYMENT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SetPayment"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCERT_TYPE_SERVER: &str = "Server"; +pub const wszCERT_TYPE_SERVER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Server"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCERT_VERSION: &str = "Version"; +pub const wszCERT_VERSION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Version"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCERT_VERSION_1: &str = "1"; +pub const wszCERT_VERSION_1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCERT_VERSION_2: &str = "2"; +pub const wszCERT_VERSION_2: ::windows_sys::core::PCWSTR = ::windows_sys::w!("2"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCERT_VERSION_3: &str = "3"; +pub const wszCERT_VERSION_3: ::windows_sys::core::PCWSTR = ::windows_sys::w!("3"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCLASS_CERTADMIN: &str = "CertificateAuthority.Admin"; +pub const wszCLASS_CERTADMIN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateAuthority.Admin"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCLASS_CERTCONFIG: &str = "CertificateAuthority.Config"; +pub const wszCLASS_CERTCONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateAuthority.Config"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCLASS_CERTDBMEM: &str = "CertificateAuthority.DBMem"; +pub const wszCLASS_CERTDBMEM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateAuthority.DBMem"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCLASS_CERTENCODE: &str = "CertificateAuthority.Encode"; +pub const wszCLASS_CERTENCODE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateAuthority.Encode"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCLASS_CERTGETCONFIG: &str = "CertificateAuthority.GetConfig"; +pub const wszCLASS_CERTGETCONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateAuthority.GetConfig"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCLASS_CERTREQUEST: &str = "CertificateAuthority.Request"; +pub const wszCLASS_CERTREQUEST: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateAuthority.Request"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCLASS_CERTSERVEREXIT: &str = "CertificateAuthority.ServerExit"; +pub const wszCLASS_CERTSERVEREXIT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateAuthority.ServerExit"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCLASS_CERTSERVERPOLICY: &str = "CertificateAuthority.ServerPolicy"; +pub const wszCLASS_CERTSERVERPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateAuthority.ServerPolicy"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCLASS_CERTVIEW: &str = "CertificateAuthority.View"; +pub const wszCLASS_CERTVIEW: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateAuthority.View"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCMM_PROP_COPYRIGHT: &str = "Copyright"; +pub const wszCMM_PROP_COPYRIGHT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Copyright"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCMM_PROP_DESCRIPTION: &str = "Description"; +pub const wszCMM_PROP_DESCRIPTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Description"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCMM_PROP_DISPLAY_HWND: &str = "HWND"; +pub const wszCMM_PROP_DISPLAY_HWND: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HWND"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCMM_PROP_FILEVER: &str = "File Version"; +pub const wszCMM_PROP_FILEVER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("File Version"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCMM_PROP_ISMULTITHREADED: &str = "IsMultiThreaded"; +pub const wszCMM_PROP_ISMULTITHREADED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IsMultiThreaded"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCMM_PROP_NAME: &str = "Name"; +pub const wszCMM_PROP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Name"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCMM_PROP_PRODUCTVER: &str = "Product Version"; +pub const wszCMM_PROP_PRODUCTVER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Product Version"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCNGENCRYPTIONALGORITHM: &str = "CNGEncryptionAlgorithm"; +pub const wszCNGENCRYPTIONALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CNGEncryptionAlgorithm"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCNGHASHALGORITHM: &str = "CNGHashAlgorithm"; +pub const wszCNGHASHALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CNGHashAlgorithm"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCNGPUBLICKEYALGORITHM: &str = "CNGPublicKeyAlgorithm"; +pub const wszCNGPUBLICKEYALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CNGPublicKeyAlgorithm"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_AUTHORITY: &str = "Authority"; +pub const wszCONFIG_AUTHORITY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Authority"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_COMMENT: &str = "Comment"; +pub const wszCONFIG_COMMENT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Comment"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_COMMONNAME: &str = "CommonName"; +pub const wszCONFIG_COMMONNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CommonName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_CONFIG: &str = "Config"; +pub const wszCONFIG_CONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Config"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_COUNTRY: &str = "Country"; +pub const wszCONFIG_COUNTRY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Country"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_DESCRIPTION: &str = "Description"; +pub const wszCONFIG_DESCRIPTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Description"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_EXCHANGECERTIFICATE: &str = "ExchangeCertificate"; +pub const wszCONFIG_EXCHANGECERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ExchangeCertificate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_FLAGS: &str = "Flags"; +pub const wszCONFIG_FLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Flags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_LOCALITY: &str = "Locality"; +pub const wszCONFIG_LOCALITY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Locality"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_ORGANIZATION: &str = "Organization"; +pub const wszCONFIG_ORGANIZATION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Organization"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_ORGUNIT: &str = "OrgUnit"; +pub const wszCONFIG_ORGUNIT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OrgUnit"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_SANITIZEDNAME: &str = "SanitizedName"; +pub const wszCONFIG_SANITIZEDNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SanitizedName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_SANITIZEDSHORTNAME: &str = "SanitizedShortName"; +pub const wszCONFIG_SANITIZEDSHORTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SanitizedShortName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_SERVER: &str = "Server"; +pub const wszCONFIG_SERVER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Server"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_SHORTNAME: &str = "ShortName"; +pub const wszCONFIG_SHORTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ShortName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_SIGNATURECERTIFICATE: &str = "SignatureCertificate"; +pub const wszCONFIG_SIGNATURECERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SignatureCertificate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_STATE: &str = "State"; +pub const wszCONFIG_STATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("State"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCONFIG_WEBENROLLMENTSERVERS: &str = "WebEnrollmentServers"; +pub const wszCONFIG_WEBENROLLMENTSERVERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WebEnrollmentServers"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCRLPUBLISHRETRYCOUNT: &str = "CRLPublishRetryCount"; +pub const wszCRLPUBLISHRETRYCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLPublishRetryCount"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszCRTFILENAMEEXT: &str = ".crt"; +pub const wszCRTFILENAMEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".crt"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszDATFILENAMEEXT: &str = ".dat"; +pub const wszDATFILENAMEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".dat"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszDBBACKUPCERTBACKDAT: &str = "certbkxp.dat"; +pub const wszDBBACKUPCERTBACKDAT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("certbkxp.dat"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszDBBACKUPSUBDIR: &str = "DataBase"; +pub const wszDBBACKUPSUBDIR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DataBase"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszDBFILENAMEEXT: &str = ".edb"; +pub const wszDBFILENAMEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".edb"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszENCRYPTIONALGORITHM: &str = "EncryptionAlgorithm"; +pub const wszENCRYPTIONALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EncryptionAlgorithm"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszENROLLMENTAGENTRIGHTS: &str = "EnrollmentAgentRights"; +pub const wszENROLLMENTAGENTRIGHTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EnrollmentAgentRights"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszHASHALGORITHM: &str = "HashAlgorithm"; +pub const wszHASHALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HashAlgorithm"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_ALTERNATESIGNATUREALGORITHM: &str = "AlternateSignatureAlgorithm"; +pub const wszINFKEY_ALTERNATESIGNATUREALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AlternateSignatureAlgorithm"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_ATTESTPRIVATEKEY: &str = "AttestPrivateKey"; +pub const wszINFKEY_ATTESTPRIVATEKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AttestPrivateKey"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_CACAPABILITIES: &str = "CACapabilities"; +pub const wszINFKEY_CACAPABILITIES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CACapabilities"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_CACERTS: &str = "CACerts"; +pub const wszINFKEY_CACERTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CACerts"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_CATHUMBPRINT: &str = "CAThumbprint"; +pub const wszINFKEY_CATHUMBPRINT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAThumbprint"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_CCDPSYNCDELTATIME: &str = "SyncDeltaTime"; +pub const wszINFKEY_CCDPSYNCDELTATIME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SyncDeltaTime"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_CHALLENGEPASSWORD: &str = "ChallengePassword"; +pub const wszINFKEY_CHALLENGEPASSWORD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ChallengePassword"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_CONTINUE: &str = "_continue_"; +pub const wszINFKEY_CONTINUE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("_continue_"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_CRITICAL: &str = "Critical"; +pub const wszINFKEY_CRITICAL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Critical"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_CRLDELTAPERIODCOUNT: &str = "CRLDeltaPeriodUnits"; +pub const wszINFKEY_CRLDELTAPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLDeltaPeriodUnits"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_CRLDELTAPERIODSTRING: &str = "CRLDeltaPeriod"; +pub const wszINFKEY_CRLDELTAPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLDeltaPeriod"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_CRLPERIODCOUNT: &str = "CRLPeriodUnits"; +pub const wszINFKEY_CRLPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLPeriodUnits"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_CRLPERIODSTRING: &str = "CRLPeriod"; +pub const wszINFKEY_CRLPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLPeriod"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_DIRECTORYNAME: &str = "DirectoryName"; +pub const wszINFKEY_DIRECTORYNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DirectoryName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_DNS: &str = "DNS"; +pub const wszINFKEY_DNS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DNS"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_ECCKEYPARAMETERS: &str = "EccKeyParameters"; +pub const wszINFKEY_ECCKEYPARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EccKeyParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_ECCKEYPARAMETERSTYPE: &str = "EccKeyParametersType"; +pub const wszINFKEY_ECCKEYPARAMETERSTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EccKeyParametersType"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_ECCKEYPARAMETERS_A: &str = "EccKeyParameters_A"; +pub const wszINFKEY_ECCKEYPARAMETERS_A: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EccKeyParameters_A"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_ECCKEYPARAMETERS_B: &str = "EccKeyParameters_B"; +pub const wszINFKEY_ECCKEYPARAMETERS_B: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EccKeyParameters_B"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_ECCKEYPARAMETERS_BASE: &str = "EccKeyParameters_Base"; +pub const wszINFKEY_ECCKEYPARAMETERS_BASE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EccKeyParameters_Base"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_ECCKEYPARAMETERS_COFACTOR: &str = "EccKeyParameters_Cofactor"; +pub const wszINFKEY_ECCKEYPARAMETERS_COFACTOR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EccKeyParameters_Cofactor"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_ECCKEYPARAMETERS_ORDER: &str = "EccKeyParameters_Order"; +pub const wszINFKEY_ECCKEYPARAMETERS_ORDER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EccKeyParameters_Order"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_ECCKEYPARAMETERS_P: &str = "EccKeyParameters_P"; +pub const wszINFKEY_ECCKEYPARAMETERS_P: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EccKeyParameters_P"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_ECCKEYPARAMETERS_SEED: &str = "EccKeyParameters_Seed"; +pub const wszINFKEY_ECCKEYPARAMETERS_SEED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EccKeyParameters_Seed"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_EMAIL: &str = "EMail"; +pub const wszINFKEY_EMAIL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EMail"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_EMPTY: &str = "Empty"; +pub const wszINFKEY_EMPTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Empty"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_ENABLEKEYCOUNTING: &str = "EnableKeyCounting"; +pub const wszINFKEY_ENABLEKEYCOUNTING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EnableKeyCounting"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_ENCRYPTIONALGORITHM: &str = "EncryptionAlgorithm"; +pub const wszINFKEY_ENCRYPTIONALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EncryptionAlgorithm"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_ENCRYPTIONLENGTH: &str = "EncryptionLength"; +pub const wszINFKEY_ENCRYPTIONLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EncryptionLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_EXCLUDE: &str = "Exclude"; +pub const wszINFKEY_EXCLUDE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Exclude"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_EXPORTABLE: &str = "Exportable"; +pub const wszINFKEY_EXPORTABLE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Exportable"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_EXPORTABLEENCRYPTED: &str = "ExportableEncrypted"; +pub const wszINFKEY_EXPORTABLEENCRYPTED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ExportableEncrypted"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_FLAGS: &str = "Flags"; +pub const wszINFKEY_FLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Flags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_FORCEUTF8: &str = "ForceUTF8"; +pub const wszINFKEY_FORCEUTF8: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ForceUTF8"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_FRIENDLYNAME: &str = "FriendlyName"; +pub const wszINFKEY_FRIENDLYNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FriendlyName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_HASHALGORITHM: &str = "HashAlgorithm"; +pub const wszINFKEY_HASHALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HashAlgorithm"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_INCLUDE: &str = "Include"; +pub const wszINFKEY_INCLUDE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Include"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_INHIBITPOLICYMAPPING: &str = "InhibitPolicyMapping"; +pub const wszINFKEY_INHIBITPOLICYMAPPING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("InhibitPolicyMapping"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_IPADDRESS: &str = "IPAddress"; +pub const wszINFKEY_IPADDRESS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IPAddress"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_KEYALGORITHM: &str = "KeyAlgorithm"; +pub const wszINFKEY_KEYALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyAlgorithm"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_KEYALGORITHMPARMETERS: &str = "KeyAlgorithmParameters"; +pub const wszINFKEY_KEYALGORITHMPARMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyAlgorithmParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_KEYCONTAINER: &str = "KeyContainer"; +pub const wszINFKEY_KEYCONTAINER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyContainer"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_KEYLENGTH: &str = "KeyLength"; +pub const wszINFKEY_KEYLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_KEYPROTECTION: &str = "KeyProtection"; +pub const wszINFKEY_KEYPROTECTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyProtection"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_KEYUSAGEEXTENSION: &str = "KeyUsage"; +pub const wszINFKEY_KEYUSAGEEXTENSION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyUsage"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_KEYUSAGEPROPERTY: &str = "KeyUsageProperty"; +pub const wszINFKEY_KEYUSAGEPROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyUsageProperty"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_LEGACYKEYSPEC: &str = "KeySpec"; +pub const wszINFKEY_LEGACYKEYSPEC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeySpec"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_LOADDEFAULTTEMPLATES: &str = "LoadDefaultTemplates"; +pub const wszINFKEY_LOADDEFAULTTEMPLATES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LoadDefaultTemplates"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_MACHINEKEYSET: &str = "MachineKeySet"; +pub const wszINFKEY_MACHINEKEYSET: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MachineKeySet"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_NOTAFTER: &str = "NotAfter"; +pub const wszINFKEY_NOTAFTER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NotAfter"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_NOTBEFORE: &str = "NotBefore"; +pub const wszINFKEY_NOTBEFORE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NotBefore"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_NOTICE: &str = "Notice"; +pub const wszINFKEY_NOTICE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Notice"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_OID: &str = "OID"; +pub const wszINFKEY_OID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OID"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_OTHERNAME: &str = "OtherName"; +pub const wszINFKEY_OTHERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OtherName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_PATHLENGTH: &str = "PathLength"; +pub const wszINFKEY_PATHLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PathLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_POLICIES: &str = "Policies"; +pub const wszINFKEY_POLICIES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Policies"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_PRIVATEKEYARCHIVE: &str = "PrivateKeyArchive"; +pub const wszINFKEY_PRIVATEKEYARCHIVE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PrivateKeyArchive"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_PROVIDERNAME: &str = "ProviderName"; +pub const wszINFKEY_PROVIDERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ProviderName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_PROVIDERTYPE: &str = "ProviderType"; +pub const wszINFKEY_PROVIDERTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ProviderType"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_PUBLICKEY: &str = "PublicKey"; +pub const wszINFKEY_PUBLICKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PublicKey"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_PUBLICKEYPARAMETERS: &str = "PublicKeyParameters"; +pub const wszINFKEY_PUBLICKEYPARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PublicKeyParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_READERNAME: &str = "ReaderName"; +pub const wszINFKEY_READERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ReaderName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_REGISTEREDID: &str = "RegisteredId"; +pub const wszINFKEY_REGISTEREDID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RegisteredId"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_RENEWALCERT: &str = "RenewalCert"; +pub const wszINFKEY_RENEWALCERT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RenewalCert"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_RENEWALKEYLENGTH: &str = "RenewalKeyLength"; +pub const wszINFKEY_RENEWALKEYLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RenewalKeyLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_RENEWALVALIDITYPERIODCOUNT: &str = "RenewalValidityPeriodUnits"; +pub const wszINFKEY_RENEWALVALIDITYPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RenewalValidityPeriodUnits"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_RENEWALVALIDITYPERIODSTRING: &str = "RenewalValidityPeriod"; +pub const wszINFKEY_RENEWALVALIDITYPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RenewalValidityPeriod"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_REQUESTTYPE: &str = "RequestType"; +pub const wszINFKEY_REQUESTTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestType"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_REQUIREEXPLICITPOLICY: &str = "RequireExplicitPolicy"; +pub const wszINFKEY_REQUIREEXPLICITPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequireExplicitPolicy"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_SECURITYDESCRIPTOR: &str = "SecurityDescriptor"; +pub const wszINFKEY_SECURITYDESCRIPTOR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SecurityDescriptor"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_SERIALNUMBER: &str = "SerialNumber"; +pub const wszINFKEY_SERIALNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SerialNumber"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_SHOWALLCSPS: &str = "ShowAllCSPs"; +pub const wszINFKEY_SHOWALLCSPS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ShowAllCSPs"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_SILENT: &str = "Silent"; +pub const wszINFKEY_SILENT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Silent"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_SMIME: &str = "SMIME"; +pub const wszINFKEY_SMIME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SMIME"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_SUBJECT: &str = "Subject"; +pub const wszINFKEY_SUBJECT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Subject"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_SUBJECTNAMEFLAGS: &str = "SubjectNameFlags"; +pub const wszINFKEY_SUBJECTNAMEFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SubjectNameFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_SUBTREE: &str = "SubTree"; +pub const wszINFKEY_SUBTREE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SubTree"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_SUPPRESSDEFAULTS: &str = "SuppressDefaults"; +pub const wszINFKEY_SUPPRESSDEFAULTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SuppressDefaults"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_UICONTEXTMESSAGE: &str = "UIContextMessage"; +pub const wszINFKEY_UICONTEXTMESSAGE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("UIContextMessage"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_UPN: &str = "UPN"; +pub const wszINFKEY_UPN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("UPN"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_URL: &str = "URL"; +pub const wszINFKEY_URL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("URL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_USEEXISTINGKEY: &str = "UseExistingKeySet"; +pub const wszINFKEY_USEEXISTINGKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("UseExistingKeySet"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_USERPROTECTED: &str = "UserProtected"; +pub const wszINFKEY_USERPROTECTED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("UserProtected"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_UTF8: &str = "UTF8"; +pub const wszINFKEY_UTF8: ::windows_sys::core::PCWSTR = ::windows_sys::w!("UTF8"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFKEY_X500NAMEFLAGS: &str = "X500NameFlags"; +pub const wszINFKEY_X500NAMEFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("X500NameFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_AIA: &str = "AuthorityInformationAccess"; +pub const wszINFSECTION_AIA: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AuthorityInformationAccess"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_APPLICATIONPOLICYCONSTRAINTS: &str = "ApplicationPolicyConstraintsExtension"; +pub const wszINFSECTION_APPLICATIONPOLICYCONSTRAINTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ApplicationPolicyConstraintsExtension"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_APPLICATIONPOLICYMAPPINGS: &str = "ApplicationPolicyMappingsExtension"; +pub const wszINFSECTION_APPLICATIONPOLICYMAPPINGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ApplicationPolicyMappingsExtension"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_APPLICATIONPOLICYSTATEMENT: &str = "ApplicationPolicyStatementExtension"; +pub const wszINFSECTION_APPLICATIONPOLICYSTATEMENT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ApplicationPolicyStatementExtension"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_BASICCONSTRAINTS: &str = "BasicConstraintsExtension"; +pub const wszINFSECTION_BASICCONSTRAINTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BasicConstraintsExtension"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_CAPOLICY: &str = "CAPolicy"; +pub const wszINFSECTION_CAPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAPolicy"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_CCDP: &str = "CrossCertificateDistributionPointsExtension"; +pub const wszINFSECTION_CCDP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CrossCertificateDistributionPointsExtension"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_CDP: &str = "CRLDistributionPoint"; +pub const wszINFSECTION_CDP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLDistributionPoint"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_CERTSERVER: &str = "certsrv_server"; +pub const wszINFSECTION_CERTSERVER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("certsrv_server"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_EKU: &str = "EnhancedKeyUsageExtension"; +pub const wszINFSECTION_EKU: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EnhancedKeyUsageExtension"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_EXTENSIONS: &str = "Extensions"; +pub const wszINFSECTION_EXTENSIONS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Extensions"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_NAMECONSTRAINTS: &str = "NameConstraintsExtension"; +pub const wszINFSECTION_NAMECONSTRAINTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NameConstraintsExtension"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_NEWREQUEST: &str = "NewRequest"; +pub const wszINFSECTION_NEWREQUEST: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NewRequest"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_POLICYCONSTRAINTS: &str = "PolicyConstraintsExtension"; +pub const wszINFSECTION_POLICYCONSTRAINTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PolicyConstraintsExtension"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_POLICYMAPPINGS: &str = "PolicyMappingsExtension"; +pub const wszINFSECTION_POLICYMAPPINGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PolicyMappingsExtension"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_POLICYSTATEMENT: &str = "PolicyStatementExtension"; +pub const wszINFSECTION_POLICYSTATEMENT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PolicyStatementExtension"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_PROPERTIES: &str = "Properties"; +pub const wszINFSECTION_PROPERTIES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Properties"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFSECTION_REQUESTATTRIBUTES: &str = "RequestAttributes"; +pub const wszINFSECTION_REQUESTATTRIBUTES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestAttributes"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFVALUE_ENDORSEMENTKEY: &str = "EndorsementKey"; +pub const wszINFVALUE_ENDORSEMENTKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EndorsementKey"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFVALUE_REQUESTTYPE_CERT: &str = "Cert"; +pub const wszINFVALUE_REQUESTTYPE_CERT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Cert"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFVALUE_REQUESTTYPE_CMC: &str = "CMC"; +pub const wszINFVALUE_REQUESTTYPE_CMC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CMC"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFVALUE_REQUESTTYPE_PKCS10: &str = "PKCS10"; +pub const wszINFVALUE_REQUESTTYPE_PKCS10: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PKCS10"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFVALUE_REQUESTTYPE_PKCS7: &str = "PKCS7"; +pub const wszINFVALUE_REQUESTTYPE_PKCS7: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PKCS7"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszINFVALUE_REQUESTTYPE_SCEP: &str = "SCEP"; +pub const wszINFVALUE_REQUESTTYPE_SCEP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SCEP"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszLDAPSESSIONOPTIONVALUE: &str = "LDAPSessionOptionValue"; +pub const wszLDAPSESSIONOPTIONVALUE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LDAPSessionOptionValue"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszLOCALIZEDTIMEPERIODUNITS: &str = "LocalizedTimePeriodUnits"; +pub const wszLOCALIZEDTIMEPERIODUNITS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LocalizedTimePeriodUnits"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszLOGFILENAMEEXT: &str = ".log"; +pub const wszLOGFILENAMEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".log"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszLOGPATH: &str = "CertLog"; +pub const wszLOGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertLog"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszMACHINEKEYSET: &str = "MachineKeyset"; +pub const wszMACHINEKEYSET: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MachineKeyset"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszMICROSOFTCERTMODULE_PREFIX: &str = "CertificateAuthority_MicrosoftDefault"; +pub const wszMICROSOFTCERTMODULE_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateAuthority_MicrosoftDefault"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszNETSCAPEREVOCATIONTYPE: &str = "Netscape"; +pub const wszNETSCAPEREVOCATIONTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Netscape"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCAPROP_CACERTIFICATE: &str = "CACertificate"; +pub const wszOCSPCAPROP_CACERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CACertificate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCAPROP_CACONFIG: &str = "CAConfig"; +pub const wszOCSPCAPROP_CACONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAConfig"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCAPROP_CSPNAME: &str = "CSPName"; +pub const wszOCSPCAPROP_CSPNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CSPName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCAPROP_ERRORCODE: &str = "ErrorCode"; +pub const wszOCSPCAPROP_ERRORCODE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ErrorCode"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCAPROP_HASHALGORITHMID: &str = "HashAlgorithmId"; +pub const wszOCSPCAPROP_HASHALGORITHMID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HashAlgorithmId"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCAPROP_KEYSPEC: &str = "KeySpec"; +pub const wszOCSPCAPROP_KEYSPEC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeySpec"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCAPROP_LOCALREVOCATIONINFORMATION: &str = "LocalRevocationInformation"; +pub const wszOCSPCAPROP_LOCALREVOCATIONINFORMATION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LocalRevocationInformation"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCAPROP_PROVIDERCLSID: &str = "ProviderCLSID"; +pub const wszOCSPCAPROP_PROVIDERCLSID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ProviderCLSID"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCAPROP_PROVIDERPROPERTIES: &str = "Provider"; +pub const wszOCSPCAPROP_PROVIDERPROPERTIES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCAPROP_REMINDERDURATION: &str = "ReminderDuration"; +pub const wszOCSPCAPROP_REMINDERDURATION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ReminderDuration"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCAPROP_SIGNINGCERTIFICATE: &str = "SigningCertificate"; +pub const wszOCSPCAPROP_SIGNINGCERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SigningCertificate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCAPROP_SIGNINGCERTIFICATETEMPLATE: &str = "SigningCertificateTemplate"; +pub const wszOCSPCAPROP_SIGNINGCERTIFICATETEMPLATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SigningCertificateTemplate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCAPROP_SIGNINGFLAGS: &str = "SigningFlags"; +pub const wszOCSPCAPROP_SIGNINGFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SigningFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCOMMONPROP_MAXINCOMINGMESSAGESIZE: &str = "MaxIncomingMessageSize"; +pub const wszOCSPCOMMONPROP_MAXINCOMINGMESSAGESIZE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxIncomingMessageSize"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCOMMONPROP_MAXNUMOFREQUESTENTRIES: &str = "MaxNumOfRequestEntries"; +pub const wszOCSPCOMMONPROP_MAXNUMOFREQUESTENTRIES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxNumOfRequestEntries"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPCOMMONPROP_REQFLAGS: &str = "RequestFlags"; +pub const wszOCSPCOMMONPROP_REQFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPISAPIPROP_DEBUG: &str = "ISAPIDebug"; +pub const wszOCSPISAPIPROP_DEBUG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ISAPIDebug"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPISAPIPROP_MAXAGE: &str = "MaxAge"; +pub const wszOCSPISAPIPROP_MAXAGE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxAge"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPISAPIPROP_MAXNUMOFCACHEENTRIES: &str = "MaxNumOfCacheEntries"; +pub const wszOCSPISAPIPROP_MAXNUMOFCACHEENTRIES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxNumOfCacheEntries"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPISAPIPROP_NUMOFBACKENDCONNECTIONS: &str = "NumOfBackendConnections"; +pub const wszOCSPISAPIPROP_NUMOFBACKENDCONNECTIONS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NumOfBackendConnections"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPISAPIPROP_NUMOFTHREADS: &str = "NumOfThreads"; +pub const wszOCSPISAPIPROP_NUMOFTHREADS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NumOfThreads"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPISAPIPROP_REFRESHRATE: &str = "RefreshRate"; +pub const wszOCSPISAPIPROP_REFRESHRATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RefreshRate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPISAPIPROP_VIRTUALROOTNAME: &str = "VirtualRootName"; +pub const wszOCSPISAPIPROP_VIRTUALROOTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("VirtualRootName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPPROP_ARRAYCONTROLLER: &str = "ArrayController"; +pub const wszOCSPPROP_ARRAYCONTROLLER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ArrayController"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPPROP_ARRAYMEMBERS: &str = "ArrayMembers"; +pub const wszOCSPPROP_ARRAYMEMBERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ArrayMembers"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPPROP_AUDITFILTER: &str = "AuditFilter"; +pub const wszOCSPPROP_AUDITFILTER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AuditFilter"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPPROP_DEBUG: &str = "Debug"; +pub const wszOCSPPROP_DEBUG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Debug"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPPROP_ENROLLPOLLINTERVAL: &str = "EnrollPollInterval"; +pub const wszOCSPPROP_ENROLLPOLLINTERVAL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EnrollPollInterval"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPPROP_LOGLEVEL: &str = "LogLevel"; +pub const wszOCSPPROP_LOGLEVEL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LogLevel"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPREVPROP_BASECRL: &str = "BaseCrl"; +pub const wszOCSPREVPROP_BASECRL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BaseCrl"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPREVPROP_BASECRLURLS: &str = "BaseCrlUrls"; +pub const wszOCSPREVPROP_BASECRLURLS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BaseCrlUrls"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPREVPROP_CRLURLTIMEOUT: &str = "CrlUrlTimeOut"; +pub const wszOCSPREVPROP_CRLURLTIMEOUT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CrlUrlTimeOut"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPREVPROP_DELTACRL: &str = "DeltaCrl"; +pub const wszOCSPREVPROP_DELTACRL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DeltaCrl"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPREVPROP_DELTACRLURLS: &str = "DeltaCrlUrls"; +pub const wszOCSPREVPROP_DELTACRLURLS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DeltaCrlUrls"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPREVPROP_ERRORCODE: &str = "RevocationErrorCode"; +pub const wszOCSPREVPROP_ERRORCODE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RevocationErrorCode"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPREVPROP_REFRESHTIMEOUT: &str = "RefreshTimeOut"; +pub const wszOCSPREVPROP_REFRESHTIMEOUT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RefreshTimeOut"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszOCSPREVPROP_SERIALNUMBERSDIRS: &str = "IssuedSerialNumbersDirectories"; +pub const wszOCSPREVPROP_SERIALNUMBERSDIRS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IssuedSerialNumbersDirectories"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPERIODDAYS: &str = "Days"; +pub const wszPERIODDAYS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Days"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPERIODHOURS: &str = "Hours"; +pub const wszPERIODHOURS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Hours"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPERIODMINUTES: &str = "Minutes"; +pub const wszPERIODMINUTES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Minutes"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPERIODMONTHS: &str = "Months"; +pub const wszPERIODMONTHS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Months"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPERIODSECONDS: &str = "Seconds"; +pub const wszPERIODSECONDS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Seconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPERIODWEEKS: &str = "Weeks"; +pub const wszPERIODWEEKS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Weeks"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPERIODYEARS: &str = "Years"; +pub const wszPERIODYEARS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Years"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPFXFILENAMEEXT: &str = ".p12"; +pub const wszPFXFILENAMEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".p12"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPATTESTATIONCHALLENGE: &str = "AttestationChallenge"; +pub const wszPROPATTESTATIONCHALLENGE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AttestationChallenge"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPATTRIBNAME: &str = "AttributeName"; +pub const wszPROPATTRIBNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AttributeName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPATTRIBREQUESTID: &str = "AttributeRequestId"; +pub const wszPROPATTRIBREQUESTID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AttributeRequestId"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPATTRIBVALUE: &str = "AttributeValue"; +pub const wszPROPATTRIBVALUE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AttributeValue"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCALLERNAME: &str = "CallerName"; +pub const wszPROPCALLERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CallerName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCATYPE: &str = "CAType"; +pub const wszPROPCATYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAType"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTCLIENTMACHINE: &str = "ccm"; +pub const wszPROPCERTCLIENTMACHINE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ccm"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTCOUNT: &str = "CertCount"; +pub const wszPROPCERTCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertCount"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATEENROLLMENTFLAGS: &str = "EnrollmentFlags"; +pub const wszPROPCERTIFICATEENROLLMENTFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EnrollmentFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATEGENERALFLAGS: &str = "GeneralFlags"; +pub const wszPROPCERTIFICATEGENERALFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("GeneralFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATEHASH: &str = "CertificateHash"; +pub const wszPROPCERTIFICATEHASH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateHash"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATENOTAFTERDATE: &str = "NotAfter"; +pub const wszPROPCERTIFICATENOTAFTERDATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NotAfter"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATENOTBEFOREDATE: &str = "NotBefore"; +pub const wszPROPCERTIFICATENOTBEFOREDATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NotBefore"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATEPRIVATEKEYFLAGS: &str = "PrivatekeyFlags"; +pub const wszPROPCERTIFICATEPRIVATEKEYFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PrivatekeyFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATEPUBLICKEYALGORITHM: &str = "PublicKeyAlgorithm"; +pub const wszPROPCERTIFICATEPUBLICKEYALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PublicKeyAlgorithm"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATEPUBLICKEYLENGTH: &str = "PublicKeyLength"; +pub const wszPROPCERTIFICATEPUBLICKEYLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PublicKeyLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATERAWPUBLICKEY: &str = "RawPublicKey"; +pub const wszPROPCERTIFICATERAWPUBLICKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RawPublicKey"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATERAWPUBLICKEYALGORITHMPARAMETERS: &str = "RawPublicKeyAlgorithmParameters"; +pub const wszPROPCERTIFICATERAWPUBLICKEYALGORITHMPARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RawPublicKeyAlgorithmParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATERAWSMIMECAPABILITIES: &str = "RawSMIMECapabilities"; +pub const wszPROPCERTIFICATERAWSMIMECAPABILITIES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RawSMIMECapabilities"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATEREQUESTID: &str = "RequestID"; +pub const wszPROPCERTIFICATEREQUESTID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestID"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATESERIALNUMBER: &str = "SerialNumber"; +pub const wszPROPCERTIFICATESERIALNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SerialNumber"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATESUBJECTKEYIDENTIFIER: &str = "SubjectKeyIdentifier"; +pub const wszPROPCERTIFICATESUBJECTKEYIDENTIFIER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SubjectKeyIdentifier"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATETEMPLATE: &str = "CertificateTemplate"; +pub const wszPROPCERTIFICATETEMPLATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateTemplate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATETYPE: &str = "CertificateType"; +pub const wszPROPCERTIFICATETYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateType"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTIFICATEUPN: &str = "UPN"; +pub const wszPROPCERTIFICATEUPN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("UPN"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTSTATE: &str = "CertState"; +pub const wszPROPCERTSTATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertState"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTSUFFIX: &str = "CertSuffix"; +pub const wszPROPCERTSUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertSuffix"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTTEMPLATE: &str = "CertificateTemplate"; +pub const wszPROPCERTTEMPLATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateTemplate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTTYPE: &str = "CertType"; +pub const wszPROPCERTTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertType"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCERTUSAGE: &str = "CertificateUsage"; +pub const wszPROPCERTUSAGE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertificateUsage"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCHALLENGE: &str = "Challenge"; +pub const wszPROPCHALLENGE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Challenge"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCLIENTBROWSERMACHINE: &str = "cbm"; +pub const wszPROPCLIENTBROWSERMACHINE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("cbm"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCLIENTDCDNS: &str = "cdc"; +pub const wszPROPCLIENTDCDNS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("cdc"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCOMMONNAME: &str = "CommonName"; +pub const wszPROPCOMMONNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CommonName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCONFIGDN: &str = "ConfigDN"; +pub const wszPROPCONFIGDN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ConfigDN"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCOUNTRY: &str = "Country"; +pub const wszPROPCOUNTRY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Country"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRITICALTAG: &str = "{critical}"; +pub const wszPROPCRITICALTAG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("{critical}"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLCOUNT: &str = "CRLCount"; +pub const wszPROPCRLCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLCount"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLEFFECTIVE: &str = "CRLEffective"; +pub const wszPROPCRLEFFECTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLEffective"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLINDEX: &str = "CRLIndex"; +pub const wszPROPCRLINDEX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLIndex"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLLASTPUBLISHED: &str = "CRLLastPublished"; +pub const wszPROPCRLLASTPUBLISHED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLLastPublished"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLMINBASE: &str = "CRLMinBase"; +pub const wszPROPCRLMINBASE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLMinBase"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLNAMEID: &str = "CRLNameId"; +pub const wszPROPCRLNAMEID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLNameId"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLNEXTPUBLISH: &str = "CRLNextPublish"; +pub const wszPROPCRLNEXTPUBLISH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLNextPublish"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLNEXTUPDATE: &str = "CRLNextUpdate"; +pub const wszPROPCRLNEXTUPDATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLNextUpdate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLNUMBER: &str = "CRLNumber"; +pub const wszPROPCRLNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLNumber"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLPROPAGATIONCOMPLETE: &str = "CRLPropagationComplete"; +pub const wszPROPCRLPROPAGATIONCOMPLETE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLPropagationComplete"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLPUBLISHATTEMPTS: &str = "CRLPublishAttempts"; +pub const wszPROPCRLPUBLISHATTEMPTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLPublishAttempts"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLPUBLISHERROR: &str = "CRLPublishError"; +pub const wszPROPCRLPUBLISHERROR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLPublishError"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLPUBLISHFLAGS: &str = "CRLPublishFlags"; +pub const wszPROPCRLPUBLISHFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLPublishFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLPUBLISHSTATUSCODE: &str = "CRLPublishStatusCode"; +pub const wszPROPCRLPUBLISHSTATUSCODE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLPublishStatusCode"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLRAWCRL: &str = "CRLRawCRL"; +pub const wszPROPCRLRAWCRL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLRawCRL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLROWID: &str = "CRLRowId"; +pub const wszPROPCRLROWID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLRowId"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLSTATE: &str = "CRLState"; +pub const wszPROPCRLSTATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLState"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLSUFFIX: &str = "CRLSuffix"; +pub const wszPROPCRLSUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLSuffix"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLTHISPUBLISH: &str = "CRLThisPublish"; +pub const wszPROPCRLTHISPUBLISH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLThisPublish"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCRLTHISUPDATE: &str = "CRLThisUpdate"; +pub const wszPROPCRLTHISUPDATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLThisUpdate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPCROSSFOREST: &str = "CrossForest"; +pub const wszPROPCROSSFOREST: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CrossForest"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPDCNAME: &str = "DCName"; +pub const wszPROPDCNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DCName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPDECIMALTAG: &str = "{decimal}"; +pub const wszPROPDECIMALTAG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("{decimal}"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPDELTACRLSDISABLED: &str = "fDeltaCRLsDisabled"; +pub const wszPROPDELTACRLSDISABLED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("fDeltaCRLsDisabled"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPDEVICESERIALNUMBER: &str = "DeviceSerialNumber"; +pub const wszPROPDEVICESERIALNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DeviceSerialNumber"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPDISPOSITION: &str = "Disposition"; +pub const wszPROPDISPOSITION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Disposition"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPDISPOSITIONDENY: &str = "Deny"; +pub const wszPROPDISPOSITIONDENY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Deny"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPDISPOSITIONPENDING: &str = "Pending"; +pub const wszPROPDISPOSITIONPENDING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Pending"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPDISTINGUISHEDNAME: &str = "DistinguishedName"; +pub const wszPROPDISTINGUISHEDNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DistinguishedName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPDN: &str = "dn"; +pub const wszPROPDN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("dn"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPDNS: &str = "dns"; +pub const wszPROPDNS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("dns"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPDOMAINCOMPONENT: &str = "DomainComponent"; +pub const wszPROPDOMAINCOMPONENT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DomainComponent"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPDOMAINDN: &str = "DomainDN"; +pub const wszPROPDOMAINDN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DomainDN"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPEMAIL: &str = "EMail"; +pub const wszPROPEMAIL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EMail"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPENDORSEMENTCERTIFICATEHASH: &str = "EndorsementCertificateHash"; +pub const wszPROPENDORSEMENTCERTIFICATEHASH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EndorsementCertificateHash"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPENDORSEMENTKEYHASH: &str = "EndorsementKeyHash"; +pub const wszPROPENDORSEMENTKEYHASH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EndorsementKeyHash"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPEVENTLOGERROR: &str = "EventLogError"; +pub const wszPROPEVENTLOGERROR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EventLogError"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPEVENTLOGEXHAUSTIVE: &str = "EventLogExhaustive"; +pub const wszPROPEVENTLOGEXHAUSTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EventLogExhaustive"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPEVENTLOGTERSE: &str = "EventLogTerse"; +pub const wszPROPEVENTLOGTERSE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EventLogTerse"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPEVENTLOGVERBOSE: &str = "EventLogVerbose"; +pub const wszPROPEVENTLOGVERBOSE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EventLogVerbose"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPEVENTLOGWARNING: &str = "EventLogWarning"; +pub const wszPROPEVENTLOGWARNING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EventLogWarning"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPEXITCERTFILE: &str = "CertFile"; +pub const wszPROPEXITCERTFILE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertFile"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPEXPECTEDCHALLENGE: &str = "ExpectedChallenge"; +pub const wszPROPEXPECTEDCHALLENGE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ExpectedChallenge"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPEXPIRATIONDATE: &str = "ExpirationDate"; +pub const wszPROPEXPIRATIONDATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ExpirationDate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPEXTFLAGS: &str = "ExtensionFlags"; +pub const wszPROPEXTFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ExtensionFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPEXTNAME: &str = "ExtensionName"; +pub const wszPROPEXTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ExtensionName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPEXTRAWVALUE: &str = "ExtensionRawValue"; +pub const wszPROPEXTRAWVALUE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ExtensionRawValue"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPEXTREQUESTID: &str = "ExtensionRequestId"; +pub const wszPROPEXTREQUESTID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ExtensionRequestId"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPFILETAG: &str = "{file}"; +pub const wszPROPFILETAG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("{file}"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPGIVENNAME: &str = "GivenName"; +pub const wszPROPGIVENNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("GivenName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPGUID: &str = "guid"; +pub const wszPROPGUID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("guid"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPHEXTAG: &str = "{hex}"; +pub const wszPROPHEXTAG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("{hex}"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPINITIALS: &str = "Initials"; +pub const wszPROPINITIALS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Initials"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPIPADDRESS: &str = "ipaddress"; +pub const wszPROPIPADDRESS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ipaddress"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPKEYARCHIVED: &str = "KeyArchived"; +pub const wszPROPKEYARCHIVED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyArchived"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPLOCALITY: &str = "Locality"; +pub const wszPROPLOCALITY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Locality"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPLOGLEVEL: &str = "LogLevel"; +pub const wszPROPLOGLEVEL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LogLevel"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPMACHINEDNSNAME: &str = "MachineDNSName"; +pub const wszPROPMACHINEDNSNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MachineDNSName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPMODULEREGLOC: &str = "ModuleRegistryLocation"; +pub const wszPROPMODULEREGLOC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ModuleRegistryLocation"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPNAMETYPE: &str = "NameType"; +pub const wszPROPNAMETYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NameType"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPOCTETTAG: &str = "{octet}"; +pub const wszPROPOCTETTAG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("{octet}"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPOFFICER: &str = "Officer"; +pub const wszPROPOFFICER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Officer"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPOID: &str = "oid"; +pub const wszPROPOID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("oid"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPORGANIZATION: &str = "Organization"; +pub const wszPROPORGANIZATION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Organization"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPORGUNIT: &str = "OrgUnit"; +pub const wszPROPORGUNIT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OrgUnit"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPPUBLISHEXPIREDCERTINCRL: &str = "PublishExpiredCertInCRL"; +pub const wszPROPPUBLISHEXPIREDCERTINCRL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PublishExpiredCertInCRL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPRAWCACERTIFICATE: &str = "RawCACertificate"; +pub const wszPROPRAWCACERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RawCACertificate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPRAWCERTIFICATE: &str = "RawCertificate"; +pub const wszPROPRAWCERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RawCertificate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPRAWCRL: &str = "RawCRL"; +pub const wszPROPRAWCRL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RawCRL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPRAWDELTACRL: &str = "RawDeltaCRL"; +pub const wszPROPRAWDELTACRL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RawDeltaCRL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPRAWNAME: &str = "RawName"; +pub const wszPROPRAWNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RawName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPRAWPRECERTIFICATE: &str = "RawPrecertificate"; +pub const wszPROPRAWPRECERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RawPrecertificate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTARCHIVEDKEY: &str = "ArchivedKey"; +pub const wszPROPREQUESTARCHIVEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ArchivedKey"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTATTRIBUTES: &str = "RequestAttributes"; +pub const wszPROPREQUESTATTRIBUTES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestAttributes"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTCSPPROVIDER: &str = "RequestCSPProvider"; +pub const wszPROPREQUESTCSPPROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestCSPProvider"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTDISPOSITION: &str = "Disposition"; +pub const wszPROPREQUESTDISPOSITION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Disposition"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTDISPOSITIONMESSAGE: &str = "DispositionMessage"; +pub const wszPROPREQUESTDISPOSITIONMESSAGE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DispositionMessage"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTDOT: &str = "Request."; +pub const wszPROPREQUESTDOT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Request."); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTERCAACCESS: &str = "RequesterCAAccess"; +pub const wszPROPREQUESTERCAACCESS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequesterCAAccess"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTERDN: &str = "RequesterDN"; +pub const wszPROPREQUESTERDN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequesterDN"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTERNAME: &str = "RequesterName"; +pub const wszPROPREQUESTERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequesterName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTERNAMEFROMOLDCERTIFICATE: &str = "RequesterNameFromOldCertificate"; +pub const wszPROPREQUESTERNAMEFROMOLDCERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequesterNameFromOldCertificate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTERSAMNAME: &str = "RequesterSAMName"; +pub const wszPROPREQUESTERSAMNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequesterSAMName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTERUPN: &str = "RequesterUPN"; +pub const wszPROPREQUESTERUPN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequesterUPN"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTFLAGS: &str = "RequestFlags"; +pub const wszPROPREQUESTFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTKEYRECOVERYHASHES: &str = "KeyRecoveryHashes"; +pub const wszPROPREQUESTKEYRECOVERYHASHES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyRecoveryHashes"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTMACHINEDNS: &str = "rmd"; +pub const wszPROPREQUESTMACHINEDNS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("rmd"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTOSVERSION: &str = "RequestOSVersion"; +pub const wszPROPREQUESTOSVERSION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestOSVersion"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTRAWARCHIVEDKEY: &str = "RawArchivedKey"; +pub const wszPROPREQUESTRAWARCHIVEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RawArchivedKey"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTRAWOLDCERTIFICATE: &str = "RawOldCertificate"; +pub const wszPROPREQUESTRAWOLDCERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RawOldCertificate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTRAWREQUEST: &str = "RawRequest"; +pub const wszPROPREQUESTRAWREQUEST: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RawRequest"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTREQUESTID: &str = "RequestID"; +pub const wszPROPREQUESTREQUESTID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestID"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTRESOLVEDWHEN: &str = "ResolvedWhen"; +pub const wszPROPREQUESTRESOLVEDWHEN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ResolvedWhen"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTREVOKEDEFFECTIVEWHEN: &str = "RevokedEffectiveWhen"; +pub const wszPROPREQUESTREVOKEDEFFECTIVEWHEN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RevokedEffectiveWhen"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTREVOKEDREASON: &str = "RevokedReason"; +pub const wszPROPREQUESTREVOKEDREASON: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RevokedReason"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTREVOKEDWHEN: &str = "RevokedWhen"; +pub const wszPROPREQUESTREVOKEDWHEN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RevokedWhen"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTSTATUSCODE: &str = "StatusCode"; +pub const wszPROPREQUESTSTATUSCODE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("StatusCode"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTSUBMITTEDWHEN: &str = "SubmittedWhen"; +pub const wszPROPREQUESTSUBMITTEDWHEN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SubmittedWhen"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPREQUESTTYPE: &str = "RequestType"; +pub const wszPROPREQUESTTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestType"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPSANITIZEDCANAME: &str = "SanitizedCAName"; +pub const wszPROPSANITIZEDCANAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SanitizedCAName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPSANITIZEDSHORTNAME: &str = "SanitizedShortName"; +pub const wszPROPSANITIZEDSHORTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SanitizedShortName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPSEAUDITFILTER: &str = "SEAuditFilter"; +pub const wszPROPSEAUDITFILTER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SEAuditFilter"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPSEAUDITID: &str = "SEAuditId"; +pub const wszPROPSEAUDITID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SEAuditId"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPSERVERUPGRADED: &str = "fServerUpgraded"; +pub const wszPROPSERVERUPGRADED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("fServerUpgraded"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPSESSIONCOUNT: &str = "SessionCount"; +pub const wszPROPSESSIONCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SessionCount"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPSIGNERAPPLICATIONPOLICIES: &str = "SignerApplicationPolicies"; +pub const wszPROPSIGNERAPPLICATIONPOLICIES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SignerApplicationPolicies"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPSIGNERPOLICIES: &str = "SignerPolicies"; +pub const wszPROPSIGNERPOLICIES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SignerPolicies"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPSTATE: &str = "State"; +pub const wszPROPSTATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("State"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPSTREETADDRESS: &str = "StreetAddress"; +pub const wszPROPSTREETADDRESS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("StreetAddress"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPSUBJECTALTNAME2: &str = "san"; +pub const wszPROPSUBJECTALTNAME2: ::windows_sys::core::PCWSTR = ::windows_sys::w!("san"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPSUBJECTDOT: &str = "Subject."; +pub const wszPROPSUBJECTDOT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Subject."); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPSURNAME: &str = "SurName"; +pub const wszPROPSURNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SurName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPTEMPLATECHANGESEQUENCENUMBER: &str = "TemplateChangeSequenceNumber"; +pub const wszPROPTEMPLATECHANGESEQUENCENUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TemplateChangeSequenceNumber"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPTEXTTAG: &str = "{text}"; +pub const wszPROPTEXTTAG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("{text}"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPTITLE: &str = "Title"; +pub const wszPROPTITLE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Title"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPUNSTRUCTUREDADDRESS: &str = "UnstructuredAddress"; +pub const wszPROPUNSTRUCTUREDADDRESS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("UnstructuredAddress"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPUNSTRUCTUREDNAME: &str = "UnstructuredName"; +pub const wszPROPUNSTRUCTUREDNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("UnstructuredName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPUPN: &str = "upn"; +pub const wszPROPUPN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("upn"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPURL: &str = "url"; +pub const wszPROPURL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("url"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPUSEDS: &str = "fUseDS"; +pub const wszPROPUSEDS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("fUseDS"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPUSERDN: &str = "UserDN"; +pub const wszPROPUSERDN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("UserDN"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPUTF8TAG: &str = "{utf8}"; +pub const wszPROPUTF8TAG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("{utf8}"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPVALIDITYPERIODCOUNT: &str = "ValidityPeriodUnits"; +pub const wszPROPVALIDITYPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ValidityPeriodUnits"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPVALIDITYPERIODSTRING: &str = "ValidityPeriod"; +pub const wszPROPVALIDITYPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ValidityPeriod"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszPROPVOLATILEMODE: &str = "VolatileMode"; +pub const wszPROPVOLATILEMODE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("VolatileMode"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGACTIVE: &str = "Active"; +pub const wszREGACTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Active"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGAELOGLEVEL_OLD: &str = "AEEventLogLevel"; +pub const wszREGAELOGLEVEL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AEEventLogLevel"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGAIKCLOUDCAURL: &str = "AIKCloudCAURL"; +pub const wszREGAIKCLOUDCAURL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AIKCloudCAURL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGAIKKEYALGORITHM: &str = "AIKKeyAlgorithm"; +pub const wszREGAIKKEYALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AIKKeyAlgorithm"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGAIKKEYLENGTH: &str = "AIKKeyLength"; +pub const wszREGAIKKEYLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AIKKeyLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGALLPROVIDERS: &str = "All"; +pub const wszREGALLPROVIDERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("All"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGALTERNATEPUBLISHDOMAINS: &str = "AlternatePublishDomains"; +pub const wszREGALTERNATEPUBLISHDOMAINS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AlternatePublishDomains"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGALTERNATESIGNATUREALGORITHM: &str = "AlternateSignatureAlgorithm"; +pub const wszREGALTERNATESIGNATUREALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AlternateSignatureAlgorithm"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGAUDITFILTER: &str = "AuditFilter"; +pub const wszREGAUDITFILTER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AuditFilter"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGB2ICERTMANAGEMODULE: &str = "ICertManageModule"; +pub const wszREGB2ICERTMANAGEMODULE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ICertManageModule"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGBACKUPLOGDIRECTORY: &str = "BackupLogDirectory"; +pub const wszREGBACKUPLOGDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BackupLogDirectory"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCACERTFILENAME: &str = "CACertFileName"; +pub const wszREGCACERTFILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CACertFileName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCACERTHASH: &str = "CACertHash"; +pub const wszREGCACERTHASH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CACertHash"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCACERTPUBLICATIONURLS: &str = "CACertPublicationURLs"; +pub const wszREGCACERTPUBLICATIONURLS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CACertPublicationURLs"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCADESCRIPTION: &str = "CADescription"; +pub const wszREGCADESCRIPTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CADescription"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCAPATHLENGTH: &str = "CAPathLength"; +pub const wszREGCAPATHLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAPathLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCASECURITY: &str = "Security"; +pub const wszREGCASECURITY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Security"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCASERIALNUMBER: &str = "CACertSerialNumber"; +pub const wszREGCASERIALNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CACertSerialNumber"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCASERVERNAME: &str = "CAServerName"; +pub const wszREGCASERVERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAServerName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCATYPE: &str = "CAType"; +pub const wszREGCATYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAType"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCAUSEDS: &str = "UseDS"; +pub const wszREGCAUSEDS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("UseDS"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCAXCHGCERTHASH: &str = "CAXchgCertHash"; +pub const wszREGCAXCHGCERTHASH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAXchgCertHash"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCAXCHGOVERLAPPERIODCOUNT: &str = "CAXchgOverlapPeriodUnits"; +pub const wszREGCAXCHGOVERLAPPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAXchgOverlapPeriodUnits"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCAXCHGOVERLAPPERIODSTRING: &str = "CAXchgOverlapPeriod"; +pub const wszREGCAXCHGOVERLAPPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAXchgOverlapPeriod"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCAXCHGVALIDITYPERIODCOUNT: &str = "CAXchgValidityPeriodUnits"; +pub const wszREGCAXCHGVALIDITYPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAXchgValidityPeriodUnits"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCAXCHGVALIDITYPERIODSTRING: &str = "CAXchgValidityPeriod"; +pub const wszREGCAXCHGVALIDITYPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAXchgValidityPeriod"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCERTENROLLCOMPATIBLE: &str = "CertEnrollCompatible"; +pub const wszREGCERTENROLLCOMPATIBLE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertEnrollCompatible"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCERTIFICATETRANSPARENCYINFOOID: &str = "CTInformationExtensionOid"; +pub const wszREGCERTIFICATETRANSPARENCYINFOOID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CTInformationExtensionOid"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCERTPUBLISHFLAGS: &str = "PublishCertFlags"; +pub const wszREGCERTPUBLISHFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PublishCertFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCERTSRVDEBUG: &str = "Debug"; +pub const wszREGCERTSRVDEBUG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Debug"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCHECKPOINTFILE: &str = "CheckPointFile"; +pub const wszREGCHECKPOINTFILE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CheckPointFile"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCLOCKSKEWMINUTES: &str = "ClockSkewMinutes"; +pub const wszREGCLOCKSKEWMINUTES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ClockSkewMinutes"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCOMMONNAME: &str = "CommonName"; +pub const wszREGCOMMONNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CommonName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCRLATTEMPTREPUBLISH: &str = "CRLAttemptRepublish"; +pub const wszREGCRLATTEMPTREPUBLISH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLAttemptRepublish"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCRLDELTANEXTPUBLISH: &str = "CRLDeltaNextPublish"; +pub const wszREGCRLDELTANEXTPUBLISH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLDeltaNextPublish"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCRLDELTAOVERLAPPERIODCOUNT: &str = "CRLDeltaOverlapUnits"; +pub const wszREGCRLDELTAOVERLAPPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLDeltaOverlapUnits"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCRLDELTAOVERLAPPERIODSTRING: &str = "CRLDeltaOverlapPeriod"; +pub const wszREGCRLDELTAOVERLAPPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLDeltaOverlapPeriod"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCRLDELTAPERIODCOUNT: &str = "CRLDeltaPeriodUnits"; +pub const wszREGCRLDELTAPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLDeltaPeriodUnits"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCRLDELTAPERIODSTRING: &str = "CRLDeltaPeriod"; +pub const wszREGCRLDELTAPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLDeltaPeriod"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCRLEDITFLAGS: &str = "CRLEditFlags"; +pub const wszREGCRLEDITFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLEditFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCRLFLAGS: &str = "CRLFlags"; +pub const wszREGCRLFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCRLNEXTPUBLISH: &str = "CRLNextPublish"; +pub const wszREGCRLNEXTPUBLISH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLNextPublish"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCRLOVERLAPPERIODCOUNT: &str = "CRLOverlapUnits"; +pub const wszREGCRLOVERLAPPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLOverlapUnits"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCRLOVERLAPPERIODSTRING: &str = "CRLOverlapPeriod"; +pub const wszREGCRLOVERLAPPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLOverlapPeriod"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCRLPATH_OLD: &str = "CRLPath"; +pub const wszREGCRLPATH_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLPath"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCRLPERIODCOUNT: &str = "CRLPeriodUnits"; +pub const wszREGCRLPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLPeriodUnits"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCRLPERIODSTRING: &str = "CRLPeriod"; +pub const wszREGCRLPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLPeriod"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGCRLPUBLICATIONURLS: &str = "CRLPublicationURLs"; +pub const wszREGCRLPUBLICATIONURLS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLPublicationURLs"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDATABASERECOVERED: &str = "DatabaseRecovered"; +pub const wszREGDATABASERECOVERED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DatabaseRecovered"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDBDIRECTORY: &str = "DBDirectory"; +pub const wszREGDBDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DBDirectory"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDBFLAGS: &str = "DBFlags"; +pub const wszREGDBFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DBFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDBLASTFULLBACKUP: &str = "DBLastFullBackup"; +pub const wszREGDBLASTFULLBACKUP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DBLastFullBackup"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDBLASTINCREMENTALBACKUP: &str = "DBLastIncrementalBackup"; +pub const wszREGDBLASTINCREMENTALBACKUP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DBLastIncrementalBackup"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDBLASTRECOVERY: &str = "DBLastRecovery"; +pub const wszREGDBLASTRECOVERY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DBLastRecovery"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDBLOGDIRECTORY: &str = "DBLogDirectory"; +pub const wszREGDBLOGDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DBLogDirectory"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDBMAXREADSESSIONCOUNT: &str = "DBMaxReadSessionCount"; +pub const wszREGDBMAXREADSESSIONCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DBMaxReadSessionCount"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDBSESSIONCOUNT: &str = "DBSessionCount"; +pub const wszREGDBSESSIONCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DBSessionCount"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDBSYSDIRECTORY: &str = "DBSystemDirectory"; +pub const wszREGDBSYSDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DBSystemDirectory"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDBTEMPDIRECTORY: &str = "DBTempDirectory"; +pub const wszREGDBTEMPDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DBTempDirectory"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDEFAULTSMIME: &str = "DefaultSMIME"; +pub const wszREGDEFAULTSMIME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DefaultSMIME"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDIRECTORY: &str = "ConfigurationDirectory"; +pub const wszREGDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ConfigurationDirectory"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDISABLEEXTENSIONLIST: &str = "DisableExtensionList"; +pub const wszREGDISABLEEXTENSIONLIST: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisableExtensionList"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDSCONFIGDN: &str = "DSConfigDN"; +pub const wszREGDSCONFIGDN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DSConfigDN"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGDSDOMAINDN: &str = "DSDomainDN"; +pub const wszREGDSDOMAINDN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DSDomainDN"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEDITFLAGS: &str = "EditFlags"; +pub const wszREGEDITFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EditFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEKPUBLISTDIRECTORIES: &str = "EndorsementKeyListDirectories"; +pub const wszREGEKPUBLISTDIRECTORIES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EndorsementKeyListDirectories"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEKUOIDSFORPUBLISHEXPIREDCERTINCRL: &str = "EKUOIDsForPublishExpiredCertInCRL"; +pub const wszREGEKUOIDSFORPUBLISHEXPIREDCERTINCRL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EKUOIDsForPublishExpiredCertInCRL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEKUOIDSFORVOLATILEREQUESTS: &str = "EKUOIDsforVolatileRequests"; +pub const wszREGEKUOIDSFORVOLATILEREQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EKUOIDsforVolatileRequests"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGENABLED: &str = "Enabled"; +pub const wszREGENABLED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Enabled"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGENABLEDEKUFORDEFINEDCACERT: &str = "EnabledEKUForDefinedCACert"; +pub const wszREGENABLEDEKUFORDEFINEDCACERT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EnabledEKUForDefinedCACert"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGENABLEENROLLEEREQUESTEXTENSIONLIST: &str = "EnableEnrolleeRequestExtensionList"; +pub const wszREGENABLEENROLLEEREQUESTEXTENSIONLIST: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EnableEnrolleeRequestExtensionList"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGENABLEREQUESTEXTENSIONLIST: &str = "EnableRequestExtensionList"; +pub const wszREGENABLEREQUESTEXTENSIONLIST: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EnableRequestExtensionList"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGENFORCEX500NAMELENGTHS: &str = "EnforceX500NameLengths"; +pub const wszREGENFORCEX500NAMELENGTHS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EnforceX500NameLengths"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGENROLLFLAGS: &str = "EnrollFlags"; +pub const wszREGENROLLFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EnrollFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITBODYARG: &str = "BodyArg"; +pub const wszREGEXITBODYARG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BodyArg"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITBODYFORMAT: &str = "BodyFormat"; +pub const wszREGEXITBODYFORMAT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BodyFormat"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITCRLISSUEDKEY: &str = "CRLIssued"; +pub const wszREGEXITCRLISSUEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLIssued"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITDENIEDKEY: &str = "Denied"; +pub const wszREGEXITDENIEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Denied"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITIMPORTEDKEY: &str = "Imported"; +pub const wszREGEXITIMPORTEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Imported"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITISSUEDKEY: &str = "Issued"; +pub const wszREGEXITISSUEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Issued"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITPENDINGKEY: &str = "Pending"; +pub const wszREGEXITPENDINGKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Pending"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITPROPNOTFOUND: &str = "???"; +pub const wszREGEXITPROPNOTFOUND: ::windows_sys::core::PCWSTR = ::windows_sys::w!("???"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITREVOKEDKEY: &str = "Revoked"; +pub const wszREGEXITREVOKEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Revoked"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITSHUTDOWNKEY: &str = "Shutdown"; +pub const wszREGEXITSHUTDOWNKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Shutdown"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITSMTPAUTHENTICATE: &str = "SMTPAuthenticate"; +pub const wszREGEXITSMTPAUTHENTICATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SMTPAuthenticate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITSMTPCC: &str = "Cc"; +pub const wszREGEXITSMTPCC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Cc"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITSMTPEVENTFILTER: &str = "EventFilter"; +pub const wszREGEXITSMTPEVENTFILTER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EventFilter"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITSMTPFROM: &str = "From"; +pub const wszREGEXITSMTPFROM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("From"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITSMTPKEY: &str = "SMTP"; +pub const wszREGEXITSMTPKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SMTP"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITSMTPSERVER: &str = "SMTPServer"; +pub const wszREGEXITSMTPSERVER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SMTPServer"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITSMTPTEMPLATES: &str = "Templates"; +pub const wszREGEXITSMTPTEMPLATES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Templates"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITSMTPTO: &str = "To"; +pub const wszREGEXITSMTPTO: ::windows_sys::core::PCWSTR = ::windows_sys::w!("To"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITSTARTUPKEY: &str = "Startup"; +pub const wszREGEXITSTARTUPKEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Startup"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITTITLEARG: &str = "TitleArg"; +pub const wszREGEXITTITLEARG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TitleArg"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGEXITTITLEFORMAT: &str = "TitleFormat"; +pub const wszREGEXITTITLEFORMAT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TitleFormat"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGFILEISSUERCERTURL_OLD: &str = "FileIssuerCertURL"; +pub const wszREGFILEISSUERCERTURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FileIssuerCertURL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGFILEREVOCATIONCRLURL_OLD: &str = "FileRevocationCRLURL"; +pub const wszREGFILEREVOCATIONCRLURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FileRevocationCRLURL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGFORCETELETEX: &str = "ForceTeletex"; +pub const wszREGFORCETELETEX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ForceTeletex"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGFTPISSUERCERTURL_OLD: &str = "FTPIssuerCertURL"; +pub const wszREGFTPISSUERCERTURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FTPIssuerCertURL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGFTPREVOCATIONCRLURL_OLD: &str = "FTPRevocationCRLURL"; +pub const wszREGFTPREVOCATIONCRLURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FTPRevocationCRLURL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGHIGHLOGNUMBER: &str = "HighLogNumber"; +pub const wszREGHIGHLOGNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HighLogNumber"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGHIGHSERIAL: &str = "HighSerial"; +pub const wszREGHIGHSERIAL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HighSerial"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGINTERFACEFLAGS: &str = "InterfaceFlags"; +pub const wszREGINTERFACEFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("InterfaceFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGISSUERCERTURLFLAGS: &str = "IssuerCertURLFlags"; +pub const wszREGISSUERCERTURLFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IssuerCertURLFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGISSUERCERTURL_OLD: &str = "IssuerCertURL"; +pub const wszREGISSUERCERTURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IssuerCertURL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKEYBASE: &str = "SYSTEM\\CurrentControlSet\\Services\\CertSvc"; +pub const wszREGKEYBASE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SYSTEM\\CurrentControlSet\\Services\\CertSvc"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKEYCERTSVCPATH: &str = "SYSTEM\\CurrentControlSet\\Services\\CertSvc"; +pub const wszREGKEYCERTSVCPATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SYSTEM\\CurrentControlSet\\Services\\CertSvc"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKEYCONFIG: &str = "Configuration"; +pub const wszREGKEYCONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Configuration"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKEYCSP: &str = "CSP"; +pub const wszREGKEYCSP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CSP"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKEYDBPARAMETERS: &str = "DBParameters"; +pub const wszREGKEYDBPARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DBParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKEYENCRYPTIONCSP: &str = "EncryptionCSP"; +pub const wszREGKEYENCRYPTIONCSP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EncryptionCSP"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKEYENROLLMENT: &str = "Software\\Microsoft\\Cryptography\\AutoEnrollment"; +pub const wszREGKEYENROLLMENT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Software\\Microsoft\\Cryptography\\AutoEnrollment"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKEYEXITMODULES: &str = "ExitModules"; +pub const wszREGKEYEXITMODULES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ExitModules"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKEYGROUPPOLICYENROLLMENT: &str = "Software\\Policies\\Microsoft\\Cryptography\\AutoEnrollment"; +pub const wszREGKEYGROUPPOLICYENROLLMENT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Software\\Policies\\Microsoft\\Cryptography\\AutoEnrollment"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKEYNOSYSTEMCERTSVCPATH: &str = "CurrentControlSet\\Services\\CertSvc"; +pub const wszREGKEYNOSYSTEMCERTSVCPATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CurrentControlSet\\Services\\CertSvc"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKEYPOLICYMODULES: &str = "PolicyModules"; +pub const wszREGKEYPOLICYMODULES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PolicyModules"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKEYREPAIR: &str = "KeyRepair"; +pub const wszREGKEYREPAIR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyRepair"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKEYRESTOREINPROGRESS: &str = "RestoreInProgress"; +pub const wszREGKEYRESTOREINPROGRESS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RestoreInProgress"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKEYSIZE: &str = "KeySize"; +pub const wszREGKEYSIZE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeySize"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKRACERTCOUNT: &str = "KRACertCount"; +pub const wszREGKRACERTCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KRACertCount"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKRACERTHASH: &str = "KRACertHash"; +pub const wszREGKRACERTHASH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KRACertHash"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGKRAFLAGS: &str = "KRAFlags"; +pub const wszREGKRAFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KRAFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGLDAPFLAGS: &str = "LDAPFlags"; +pub const wszREGLDAPFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LDAPFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGLDAPISSUERCERTURL_OLD: &str = "LDAPIssuerCertURL"; +pub const wszREGLDAPISSUERCERTURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LDAPIssuerCertURL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGLDAPREVOCATIONCRLURL_OLD: &str = "LDAPRevocationCRLURL"; +pub const wszREGLDAPREVOCATIONCRLURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LDAPRevocationCRLURL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGLDAPREVOCATIONDNTEMPLATE_OLD: &str = "LDAPRevocationDNTemplate"; +pub const wszREGLDAPREVOCATIONDNTEMPLATE_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LDAPRevocationDNTemplate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGLDAPREVOCATIONDN_OLD: &str = "LDAPRevocationDN"; +pub const wszREGLDAPREVOCATIONDN_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LDAPRevocationDN"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGLDAPSESSIONOPTIONS: &str = "LDAPSessionOptions"; +pub const wszREGLDAPSESSIONOPTIONS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LDAPSessionOptions"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGLOGLEVEL: &str = "LogLevel"; +pub const wszREGLOGLEVEL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LogLevel"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGLOGPATH: &str = "LogPath"; +pub const wszREGLOGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LogPath"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGLOWLOGNUMBER: &str = "LowLogNumber"; +pub const wszREGLOWLOGNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LowLogNumber"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGMAXINCOMINGALLOCSIZE: &str = "MaxIncomingAllocSize"; +pub const wszREGMAXINCOMINGALLOCSIZE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxIncomingAllocSize"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGMAXINCOMINGMESSAGESIZE: &str = "MaxIncomingMessageSize"; +pub const wszREGMAXINCOMINGMESSAGESIZE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxIncomingMessageSize"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGMAXPENDINGREQUESTDAYS: &str = "MaxPendingRequestDays"; +pub const wszREGMAXPENDINGREQUESTDAYS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxPendingRequestDays"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGMAXSCTLISTSIZE: &str = "MaxSCTListSize"; +pub const wszREGMAXSCTLISTSIZE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxSCTListSize"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGNAMESEPARATOR: &str = "SubjectNameSeparator"; +pub const wszREGNAMESEPARATOR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SubjectNameSeparator"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGNETSCAPECERTTYPE: &str = "NetscapeCertType"; +pub const wszREGNETSCAPECERTTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NetscapeCertType"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGOFFICERRIGHTS: &str = "OfficerRights"; +pub const wszREGOFFICERRIGHTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OfficerRights"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGPARENTCAMACHINE: &str = "ParentCAMachine"; +pub const wszREGPARENTCAMACHINE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ParentCAMachine"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGPARENTCANAME: &str = "ParentCAName"; +pub const wszREGPARENTCANAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ParentCAName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGPOLICYFLAGS: &str = "PolicyFlags"; +pub const wszREGPOLICYFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PolicyFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGPRESERVESCEPDUMMYCERTS: &str = "PreserveSCEPDummyCerts"; +pub const wszREGPRESERVESCEPDUMMYCERTS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PreserveSCEPDummyCerts"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGPROCESSINGFLAGS: &str = "ProcessingFlags"; +pub const wszREGPROCESSINGFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ProcessingFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGPROVIDER: &str = "Provider"; +pub const wszREGPROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGPROVIDERTYPE: &str = "ProviderType"; +pub const wszREGPROVIDERTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ProviderType"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGREQUESTDISPOSITION: &str = "RequestDisposition"; +pub const wszREGREQUESTDISPOSITION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestDisposition"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGREQUESTFILENAME: &str = "RequestFileName"; +pub const wszREGREQUESTFILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestFileName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGREQUESTID: &str = "RequestId"; +pub const wszREGREQUESTID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestId"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGREQUESTKEYCONTAINER: &str = "RequestKeyContainer"; +pub const wszREGREQUESTKEYCONTAINER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestKeyContainer"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGREQUESTKEYINDEX: &str = "RequestKeyIndex"; +pub const wszREGREQUESTKEYINDEX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequestKeyIndex"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGRESTOREMAP: &str = "RestoreMap"; +pub const wszREGRESTOREMAP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RestoreMap"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGRESTOREMAPCOUNT: &str = "RestoreMapCount"; +pub const wszREGRESTOREMAPCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RestoreMapCount"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGRESTORESTATUS: &str = "RestoreStatus"; +pub const wszREGRESTORESTATUS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RestoreStatus"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGREVOCATIONCRLURL_OLD: &str = "RevocationCRLURL"; +pub const wszREGREVOCATIONCRLURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RevocationCRLURL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGREVOCATIONTYPE: &str = "RevocationType"; +pub const wszREGREVOCATIONTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RevocationType"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGREVOCATIONURL: &str = "RevocationURL"; +pub const wszREGREVOCATIONURL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RevocationURL"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGROLESEPARATIONENABLED: &str = "RoleSeparationEnabled"; +pub const wszREGROLESEPARATIONENABLED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RoleSeparationEnabled"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGSETUPSTATUS: &str = "SetupStatus"; +pub const wszREGSETUPSTATUS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SetupStatus"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGSP4DEFAULTCONFIGURATION: &str = "DefaultConfiguration"; +pub const wszREGSP4DEFAULTCONFIGURATION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DefaultConfiguration"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGSP4KEYSETNAME: &str = "KeySetName"; +pub const wszREGSP4KEYSETNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeySetName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGSP4NAMES: &str = "Names"; +pub const wszREGSP4NAMES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Names"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGSP4QUERIES: &str = "Queries"; +pub const wszREGSP4QUERIES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Queries"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGSP4SUBJECTNAMESEPARATOR: &str = "SubjectNameSeparator"; +pub const wszREGSP4SUBJECTNAMESEPARATOR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SubjectNameSeparator"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGSUBJECTALTNAME: &str = "SubjectAltName"; +pub const wszREGSUBJECTALTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SubjectAltName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGSUBJECTALTNAME2: &str = "SubjectAltName2"; +pub const wszREGSUBJECTALTNAME2: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SubjectAltName2"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGSUBJECTTEMPLATE: &str = "SubjectTemplate"; +pub const wszREGSUBJECTTEMPLATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SubjectTemplate"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGSYMMETRICKEYSIZE: &str = "SymmetricKeySize"; +pub const wszREGSYMMETRICKEYSIZE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SymmetricKeySize"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGUNICODE: &str = "Unicode"; +pub const wszREGUNICODE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Unicode"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGUPNMAP: &str = "UPNMap"; +pub const wszREGUPNMAP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("UPNMap"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGUSEDEFINEDCACERTINREQ: &str = "UseDefinedCACertInRequest"; +pub const wszREGUSEDEFINEDCACERTINREQ: ::windows_sys::core::PCWSTR = ::windows_sys::w!("UseDefinedCACertInRequest"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGVALIDITYPERIODCOUNT: &str = "ValidityPeriodUnits"; +pub const wszREGVALIDITYPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ValidityPeriodUnits"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGVALIDITYPERIODSTRING: &str = "ValidityPeriod"; +pub const wszREGVALIDITYPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ValidityPeriod"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGVERIFYFLAGS: &str = "VerifyFlags"; +pub const wszREGVERIFYFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("VerifyFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGVERSION: &str = "Version"; +pub const wszREGVERSION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Version"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGVIEWAGEMINUTES: &str = "ViewAgeMinutes"; +pub const wszREGVIEWAGEMINUTES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ViewAgeMinutes"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGVIEWIDLEMINUTES: &str = "ViewIdleMinutes"; +pub const wszREGVIEWIDLEMINUTES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ViewIdleMinutes"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGWEBCLIENTCAMACHINE: &str = "WebClientCAMachine"; +pub const wszREGWEBCLIENTCAMACHINE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WebClientCAMachine"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGWEBCLIENTCANAME: &str = "WebClientCAName"; +pub const wszREGWEBCLIENTCANAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WebClientCAName"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszREGWEBCLIENTCATYPE: &str = "WebClientCAType"; +pub const wszREGWEBCLIENTCATYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WebClientCAType"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszSECUREDATTRIBUTES: &str = "SignedAttributes"; +pub const wszSECUREDATTRIBUTES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SignedAttributes"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszSERVICE_NAME: &str = "CertSvc"; +pub const wszSERVICE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertSvc"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub const wszzDEFAULTSIGNEDATTRIBUTES: &str = "RequesterName\u{0}"; +pub const wszzDEFAULTSIGNEDATTRIBUTES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequesterName\u{0}"); #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub type ADDED_CERT_TYPE = u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] @@ -4641,13 +4706,13 @@ pub type FNCERTSRVBACKUPCLOSE = ::core::option::Option<unsafe extern "system" fn #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub type FNCERTSRVBACKUPEND = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub type FNCERTSRVBACKUPFREE = ::core::option::Option<unsafe extern "system" fn(pv: *mut ::core::ffi::c_void)>; +pub type FNCERTSRVBACKUPFREE = ::core::option::Option<unsafe extern "system" fn(pv: *mut ::core::ffi::c_void) -> ()>; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub type FNCERTSRVBACKUPGETBACKUPLOGSW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, ppwszzbackuplogfiles: *mut *mut u16, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub type FNCERTSRVBACKUPGETDATABASENAMESW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, ppwszzattachmentinformation: *mut *mut u16, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] -pub type FNCERTSRVBACKUPGETDYNAMICFILELISTW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, ppwszzfilelist: *mut *mut u16, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT>; +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>; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] pub type FNCERTSRVBACKUPOPENFILEW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, pwszattachmentname: ::windows_sys::core::PCWSTR, cbreadhintsize: u32, plifilesize: *mut i64) -> ::windows_sys::core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"] @@ -4676,4 +4741,4 @@ pub type FNCERTSRVSERVERCONTROLW = ::core::option::Option<unsafe extern "system" pub type FNIMPORTPFXTOPROVIDER = ::core::option::Option<unsafe extern "system" fn(hwndparent: super::super::super::Foundation::HWND, pbpfx: *const u8, cbpfx: u32, importflags: ImportPFXFlags, pwszpassword: ::windows_sys::core::PCWSTR, pwszprovidername: ::windows_sys::core::PCWSTR, pwszreadername: ::windows_sys::core::PCWSTR, pwszcontainernameprefix: ::windows_sys::core::PCWSTR, pwszpin: ::windows_sys::core::PCWSTR, pwszfriendlyname: ::windows_sys::core::PCWSTR, pccertout: *mut u32, prgpcertout: *mut *mut *mut super::CERT_CONTEXT) -> ::windows_sys::core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type FNIMPORTPFXTOPROVIDERFREEDATA = ::core::option::Option<unsafe extern "system" fn(ccert: u32, rgpcert: *const *const super::CERT_CONTEXT)>; +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 index a89ce022f..52889391b 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs @@ -1,42 +1,27 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSIPAddProvider(psnewprov: *mut SIP_ADD_NEWPROVIDER) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] - pub fn CryptSIPCreateIndirectData(psubjectinfo: *mut SIP_SUBJECTINFO, pcbindirectdata: *mut u32, pindirectdata: *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] - pub fn CryptSIPGetCaps(psubjinfo: *const SIP_SUBJECTINFO, pcaps: *mut SIP_CAP_SET_V3) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] - pub fn CryptSIPGetSealedDigest(psubjectinfo: *const SIP_SUBJECTINFO, psig: *const u8, dwsig: u32, pbdigest: *mut u8, pcbdigest: *mut u32) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] - pub fn CryptSIPGetSignedDataMsg(psubjectinfo: *mut SIP_SUBJECTINFO, pdwencodingtype: *mut super::CERT_QUERY_ENCODING_TYPE, dwindex: u32, pcbsigneddatamsg: *mut u32, pbsigneddatamsg: *mut u8) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] - pub fn CryptSIPLoad(pgsubject: *const ::windows_sys::core::GUID, dwflags: u32, psipdispatch: *mut SIP_DISPATCH_INFO) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] - pub fn CryptSIPPutSignedDataMsg(psubjectinfo: *mut SIP_SUBJECTINFO, dwencodingtype: super::CERT_QUERY_ENCODING_TYPE, pdwindex: *mut u32, cbsigneddatamsg: u32, pbsigneddatamsg: *mut u8) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSIPRemoveProvider(pgprov: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] - pub fn CryptSIPRemoveSignedDataMsg(psubjectinfo: *mut SIP_SUBJECTINFO, dwindex: u32) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSIPRetrieveSubjectGuid(filename: ::windows_sys::core::PCWSTR, hfilein: super::super::super::Foundation::HANDLE, pgsubject: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSIPRetrieveSubjectGuidForCatalogFile(filename: ::windows_sys::core::PCWSTR, hfilein: super::super::super::Foundation::HANDLE, pgsubject: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] - pub fn CryptSIPVerifyIndirectData(psubjectinfo: *mut SIP_SUBJECTINFO, pindirectdata: *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation::BOOL; -} +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] fn CryptSIPRemoveSignedDataMsg ( psubjectinfo : *mut SIP_SUBJECTINFO , dwindex : u32 ) -> super::super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"] fn CryptSIPVerifyIndirectData ( psubjectinfo : *mut SIP_SUBJECTINFO , pindirectdata : *mut SIP_INDIRECT_DATA ) -> super::super::super::Foundation:: BOOL ); #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"] pub const MSSIP_ADDINFO_BLOB: u32 = 3u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"] @@ -208,7 +193,7 @@ impl ::core::clone::Clone for SIP_DISPATCH_INFO { pub struct SIP_INDIRECT_DATA { pub Data: super::CRYPT_ATTRIBUTE_TYPE_VALUE, pub DigestAlgorithm: super::CRYPT_ALGORITHM_IDENTIFIER, - pub Digest: super::CRYPTOAPI_BLOB, + pub Digest: super::CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for SIP_INDIRECT_DATA {} impl ::core::clone::Clone for SIP_INDIRECT_DATA { 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 index 1a789428c..23af86d6b 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs @@ -1,36 +1,23 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertSelectionGetSerializedBlob(pcsi: *const CERT_SELECTUI_INPUT, ppoutbuffer: *mut *mut ::core::ffi::c_void, puloutbuffersize: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptUIDlgCertMgr(pcryptuicertmgr: *const CRYPTUI_CERT_MGR_STRUCT) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptUIDlgSelectCertificateFromStore(hcertstore: super::HCERTSTORE, hwnd: super::super::super::Foundation::HWND, pwsztitle: ::windows_sys::core::PCWSTR, pwszdisplaystring: ::windows_sys::core::PCWSTR, dwdontusecolumn: u32, dwflags: u32, pvreserved: *const ::core::ffi::c_void) -> *mut super::CERT_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] - pub fn CryptUIDlgViewCertificateA(pcertviewinfo: *const CRYPTUI_VIEWCERTIFICATE_STRUCTA, pfpropertieschanged: *mut super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] - pub fn CryptUIDlgViewCertificateW(pcertviewinfo: *const CRYPTUI_VIEWCERTIFICATE_STRUCTW, pfpropertieschanged: *mut super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptUIDlgViewContext(dwcontexttype: u32, pvcontext: *const ::core::ffi::c_void, hwnd: super::super::super::Foundation::HWND, pwsztitle: ::windows_sys::core::PCWSTR, dwflags: u32, pvreserved: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptUIWizDigitalSign(dwflags: u32, hwndparent: super::super::super::Foundation::HWND, pwszwizardtitle: ::windows_sys::core::PCWSTR, pdigitalsigninfo: *const CRYPTUI_WIZ_DIGITAL_SIGN_INFO, ppsigncontext: *mut *mut CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptUIWizExport(dwflags: CRYPTUI_WIZ_FLAGS, hwndparent: super::super::super::Foundation::HWND, pwszwizardtitle: ::windows_sys::core::PCWSTR, pexportinfo: *const CRYPTUI_WIZ_EXPORT_INFO, pvoid: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptUIWizFreeDigitalSignContext(psigncontext: *const CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT) -> super::super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptUIWizImport(dwflags: CRYPTUI_WIZ_FLAGS, hwndparent: super::super::super::Foundation::HWND, pwszwizardtitle: ::windows_sys::core::PCWSTR, pimportsrc: *const CRYPTUI_WIZ_IMPORT_SRC_INFO, hdestcertstore: super::HCERTSTORE) -> super::super::super::Foundation::BOOL; -} +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "cryptui.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"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_sys::core::link ! ( "cryptui.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] fn CryptUIDlgCertMgr ( pcryptuicertmgr : *const CRYPTUI_CERT_MGR_STRUCT ) -> super::super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "cryptui.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"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_sys::core::link ! ( "cryptui.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] 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_sys::core::link ! ( "cryptui.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] fn CryptUIDlgViewCertificateW ( pcertviewinfo : *const CRYPTUI_VIEWCERTIFICATE_STRUCTW , pfpropertieschanged : *mut super::super::super::Foundation:: BOOL ) -> super::super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "cryptui.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"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_sys::core::link ! ( "cryptui.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"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_sys::core::link ! ( "cryptui.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"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_sys::core::link ! ( "cryptui.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"] fn CryptUIWizFreeDigitalSignContext ( psigncontext : *const CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT ) -> super::super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "cryptui.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"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 ); #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"] pub const ACTION_REVOCATION_DEFAULT_CACHE: u32 = 131072u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"] @@ -188,7 +175,7 @@ pub const SELCERT_THUMBPRINT: u32 = 107u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"] pub const SELCERT_VALIDITY: u32 = 104u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"] -pub const szCERT_CERTIFICATE_ACTION_VERIFY: &str = "{7801ebd0-cf4b-11d0-851f-0060979387ea}"; +pub const szCERT_CERTIFICATE_ACTION_VERIFY: ::windows_sys::core::PCSTR = ::windows_sys::s!("{7801ebd0-cf4b-11d0-851f-0060979387ea}"); #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"] pub type CERT_SELECT_STRUCT_FLAGS = u32; #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"] @@ -503,7 +490,7 @@ pub struct CERT_VERIFY_CERTIFICATE_TRUST { pub pcChain: *mut u32, pub prgChain: *mut *mut *mut super::CERT_CONTEXT, pub prgdwErrors: *mut *mut u32, - pub prgpbTrustInfo: *mut *mut super::CRYPTOAPI_BLOB, + pub prgpbTrustInfo: *mut *mut super::CRYPT_INTEGER_BLOB, } #[cfg(feature = "Win32_Foundation")] impl ::core::marker::Copy for CERT_VERIFY_CERTIFICATE_TRUST {} diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/mod.rs index b4b043e4f..510e04375 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/mod.rs @@ -6,1106 +6,706 @@ pub mod Certificates; pub mod Sip; #[cfg(feature = "Win32_Security_Cryptography_UI")] pub mod UI; -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptAddContextFunction(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, dwposition: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptCloseAlgorithmProvider(halgorithm: BCRYPT_ALG_HANDLE, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptConfigureContext(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, pconfig: *const CRYPT_CONTEXT_CONFIG) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptConfigureContextFunction(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, pconfig: *const CRYPT_CONTEXT_FUNCTION_CONFIG) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptCreateContext(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, pconfig: *const CRYPT_CONTEXT_CONFIG) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptCreateHash(halgorithm: BCRYPT_ALG_HANDLE, phhash: *mut BCRYPT_HASH_HANDLE, pbhashobject: *mut u8, cbhashobject: u32, pbsecret: *const u8, cbsecret: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptCreateMultiHash(halgorithm: BCRYPT_ALG_HANDLE, phhash: *mut BCRYPT_HASH_HANDLE, nhashes: u32, pbhashobject: *mut u8, cbhashobject: u32, pbsecret: *const u8, cbsecret: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptDecrypt(hkey: BCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, ppaddinginfo: *const ::core::ffi::c_void, pbiv: *mut u8, cbiv: u32, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptDeleteContext(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptDeriveKey(hsharedsecret: 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; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptDeriveKeyCapi(hhash: BCRYPT_HASH_HANDLE, htargetalg: BCRYPT_ALG_HANDLE, pbderivedkey: *mut u8, cbderivedkey: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptDeriveKeyPBKDF2(hprf: BCRYPT_ALG_HANDLE, pbpassword: *const u8, cbpassword: u32, pbsalt: *const u8, cbsalt: u32, citerations: u64, pbderivedkey: *mut u8, cbderivedkey: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptDestroyHash(hhash: BCRYPT_HASH_HANDLE) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptDestroyKey(hkey: BCRYPT_KEY_HANDLE) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptDestroySecret(hsecret: BCRYPT_SECRET_HANDLE) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptDuplicateHash(hhash: BCRYPT_HASH_HANDLE, phnewhash: *mut BCRYPT_HASH_HANDLE, pbhashobject: *mut u8, cbhashobject: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptDuplicateKey(hkey: BCRYPT_KEY_HANDLE, phnewkey: *mut BCRYPT_KEY_HANDLE, pbkeyobject: *mut u8, cbkeyobject: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptEncrypt(hkey: BCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, ppaddinginfo: *const ::core::ffi::c_void, pbiv: *mut u8, cbiv: u32, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptEnumAlgorithms(dwalgoperations: BCRYPT_OPERATION, palgcount: *mut u32, ppalglist: *mut *mut BCRYPT_ALGORITHM_IDENTIFIER, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptEnumContextFunctionProviders(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXT_FUNCTION_PROVIDERS) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptEnumContextFunctions(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXT_FUNCTIONS) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptEnumContexts(dwtable: BCRYPT_TABLE, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXTS) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptEnumProviders(pszalgid: ::windows_sys::core::PCWSTR, pimplcount: *mut u32, ppimpllist: *mut *mut BCRYPT_PROVIDER_NAME, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptEnumRegisteredProviders(pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_PROVIDERS) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptExportKey(hkey: BCRYPT_KEY_HANDLE, hexportkey: BCRYPT_KEY_HANDLE, pszblobtype: ::windows_sys::core::PCWSTR, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptFinalizeKeyPair(hkey: BCRYPT_KEY_HANDLE, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptFinishHash(hhash: BCRYPT_HASH_HANDLE, pboutput: *mut u8, cboutput: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn BCryptFreeBuffer(pvbuffer: *const ::core::ffi::c_void); - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptGenRandom(halgorithm: BCRYPT_ALG_HANDLE, pbbuffer: *mut u8, cbbuffer: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptGenerateKeyPair(halgorithm: BCRYPT_ALG_HANDLE, phkey: *mut BCRYPT_KEY_HANDLE, dwlength: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptGenerateSymmetricKey(halgorithm: BCRYPT_ALG_HANDLE, phkey: *mut BCRYPT_KEY_HANDLE, pbkeyobject: *mut u8, cbkeyobject: u32, pbsecret: *const u8, cbsecret: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptGetFipsAlgorithmMode(pfenabled: *mut u8) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptGetProperty(hobject: BCRYPT_HANDLE, pszproperty: ::windows_sys::core::PCWSTR, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptHash(halgorithm: BCRYPT_ALG_HANDLE, pbsecret: *const u8, cbsecret: u32, pbinput: *const u8, cbinput: u32, pboutput: *mut u8, cboutput: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptHashData(hhash: BCRYPT_HASH_HANDLE, pbinput: *const u8, cbinput: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptImportKey(halgorithm: BCRYPT_ALG_HANDLE, himportkey: BCRYPT_KEY_HANDLE, pszblobtype: ::windows_sys::core::PCWSTR, phkey: *mut BCRYPT_KEY_HANDLE, pbkeyobject: *mut u8, cbkeyobject: u32, pbinput: *const u8, cbinput: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptImportKeyPair(halgorithm: BCRYPT_ALG_HANDLE, himportkey: BCRYPT_KEY_HANDLE, pszblobtype: ::windows_sys::core::PCWSTR, phkey: *mut BCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptKeyDerivation(hkey: BCRYPT_KEY_HANDLE, pparameterlist: *const BCryptBufferDesc, pbderivedkey: *mut u8, cbderivedkey: u32, pcbresult: *mut u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptOpenAlgorithmProvider(phalgorithm: *mut BCRYPT_ALG_HANDLE, pszalgid: ::windows_sys::core::PCWSTR, pszimplementation: ::windows_sys::core::PCWSTR, dwflags: BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptProcessMultiOperations(hobject: BCRYPT_HANDLE, operationtype: BCRYPT_MULTI_OPERATION_TYPE, poperations: *const ::core::ffi::c_void, cboperations: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptQueryContextConfiguration(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXT_CONFIG) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptQueryContextFunctionConfiguration(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXT_FUNCTION_CONFIG) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptQueryContextFunctionProperty(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, pszproperty: ::windows_sys::core::PCWSTR, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptQueryProviderRegistration(pszprovider: ::windows_sys::core::PCWSTR, dwmode: BCRYPT_QUERY_PROVIDER_MODE, dwinterface: BCRYPT_INTERFACE, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_PROVIDER_REG) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptRegisterConfigChangeNotify(phevent: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptRemoveContextFunction(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptResolveProviders(pszcontext: ::windows_sys::core::PCWSTR, dwinterface: u32, pszfunction: ::windows_sys::core::PCWSTR, pszprovider: ::windows_sys::core::PCWSTR, dwmode: BCRYPT_QUERY_PROVIDER_MODE, dwflags: BCRYPT_RESOLVE_PROVIDERS_FLAGS, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_PROVIDER_REFS) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptSecretAgreement(hprivkey: BCRYPT_KEY_HANDLE, hpubkey: BCRYPT_KEY_HANDLE, phagreedsecret: *mut BCRYPT_SECRET_HANDLE, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptSetContextFunctionProperty(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, pszproperty: ::windows_sys::core::PCWSTR, cbvalue: u32, pbvalue: *const u8) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptSetProperty(hobject: BCRYPT_HANDLE, pszproperty: ::windows_sys::core::PCWSTR, pbinput: *const u8, cbinput: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptSignHash(hkey: BCRYPT_KEY_HANDLE, ppaddinginfo: *const ::core::ffi::c_void, pbinput: *const u8, cbinput: u32, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptUnregisterConfigChangeNotify(hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn BCryptVerifySignature(hkey: BCRYPT_KEY_HANDLE, ppaddinginfo: *const ::core::ffi::c_void, pbhash: *const u8, cbhash: u32, pbsignature: *const u8, cbsignature: u32, dwflags: NCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertAddCRLContextToStore(hcertstore: HCERTSTORE, pcrlcontext: *const CRL_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CRL_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertAddCRLLinkToStore(hcertstore: HCERTSTORE, pcrlcontext: *const CRL_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CRL_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertAddCTLContextToStore(hcertstore: HCERTSTORE, pctlcontext: *const CTL_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CTL_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertAddCTLLinkToStore(hcertstore: HCERTSTORE, pctlcontext: *const CTL_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CTL_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertAddCertificateContextToStore(hcertstore: HCERTSTORE, pcertcontext: *const CERT_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertAddCertificateLinkToStore(hcertstore: HCERTSTORE, pcertcontext: *const CERT_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertAddEncodedCRLToStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, pbcrlencoded: *const u8, cbcrlencoded: u32, dwadddisposition: u32, ppcrlcontext: *mut *mut CRL_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertAddEncodedCTLToStore(hcertstore: HCERTSTORE, dwmsgandcertencodingtype: u32, pbctlencoded: *const u8, cbctlencoded: u32, dwadddisposition: u32, ppctlcontext: *mut *mut CTL_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertAddEncodedCertificateToStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, pbcertencoded: *const u8, cbcertencoded: u32, dwadddisposition: u32, ppcertcontext: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertAddEncodedCertificateToSystemStoreA(szcertstorename: ::windows_sys::core::PCSTR, pbcertencoded: *const u8, cbcertencoded: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertAddEncodedCertificateToSystemStoreW(szcertstorename: ::windows_sys::core::PCWSTR, pbcertencoded: *const u8, cbcertencoded: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertAddEnhancedKeyUsageIdentifier(pcertcontext: *const CERT_CONTEXT, pszusageidentifier: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertAddRefServerOcspResponse(hserverocspresponse: *const ::core::ffi::c_void); - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertAddRefServerOcspResponseContext(pserverocspresponsecontext: *const CERT_SERVER_OCSP_RESPONSE_CONTEXT); - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertAddSerializedElementToStore(hcertstore: HCERTSTORE, pbelement: *const u8, cbelement: u32, dwadddisposition: u32, dwflags: u32, dwcontexttypeflags: u32, pdwcontexttype: *mut u32, ppvcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertAddStoreToCollection(hcollectionstore: HCERTSTORE, hsiblingstore: HCERTSTORE, dwupdateflags: u32, dwpriority: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertAlgIdToOID(dwalgid: u32) -> ::windows_sys::core::PSTR; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertCloseServerOcspResponse(hserverocspresponse: *const ::core::ffi::c_void, dwflags: u32); - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertCloseStore(hcertstore: HCERTSTORE, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertCompareCertificate(dwcertencodingtype: u32, pcertid1: *const CERT_INFO, pcertid2: *const CERT_INFO) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertCompareCertificateName(dwcertencodingtype: u32, pcertname1: *const CRYPTOAPI_BLOB, pcertname2: *const CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertCompareIntegerBlob(pint1: *const CRYPTOAPI_BLOB, pint2: *const CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertComparePublicKeyInfo(dwcertencodingtype: u32, ppublickey1: *const CERT_PUBLIC_KEY_INFO, ppublickey2: *const CERT_PUBLIC_KEY_INFO) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertControlStore(hcertstore: HCERTSTORE, dwflags: CERT_CONTROL_STORE_FLAGS, dwctrltype: u32, pvctrlpara: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertCreateCRLContext(dwcertencodingtype: u32, pbcrlencoded: *const u8, cbcrlencoded: u32) -> *mut CRL_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertCreateCTLContext(dwmsgandcertencodingtype: u32, pbctlencoded: *const u8, cbctlencoded: u32) -> *mut CTL_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertCreateCTLEntryFromCertificateContextProperties(pcertcontext: *const CERT_CONTEXT, coptattr: u32, rgoptattr: *const CRYPT_ATTRIBUTE, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pctlentry: *mut CTL_ENTRY, pcbctlentry: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertCreateCertificateChainEngine(pconfig: *const CERT_CHAIN_ENGINE_CONFIG, phchainengine: *mut HCERTCHAINENGINE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertCreateCertificateContext(dwcertencodingtype: u32, pbcertencoded: *const u8, cbcertencoded: u32) -> *mut CERT_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertCreateContext(dwcontexttype: u32, dwencodingtype: u32, pbencoded: *const u8, cbencoded: u32, dwflags: u32, pcreatepara: *const CERT_CREATE_CONTEXT_PARA) -> *mut ::core::ffi::c_void; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertCreateSelfSignCertificate(hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, psubjectissuerblob: *const CRYPTOAPI_BLOB, dwflags: CERT_CREATE_SELFSIGN_FLAGS, pkeyprovinfo: *const CRYPT_KEY_PROV_INFO, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pstarttime: *const super::super::Foundation::SYSTEMTIME, pendtime: *const super::super::Foundation::SYSTEMTIME, pextensions: *const CERT_EXTENSIONS) -> *mut CERT_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertDeleteCRLFromStore(pcrlcontext: *const CRL_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertDeleteCTLFromStore(pctlcontext: *const CTL_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertDeleteCertificateFromStore(pcertcontext: *const CERT_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertDuplicateCRLContext(pcrlcontext: *const CRL_CONTEXT) -> *mut CRL_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertDuplicateCTLContext(pctlcontext: *const CTL_CONTEXT) -> *mut CTL_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertDuplicateCertificateChain(pchaincontext: *const CERT_CHAIN_CONTEXT) -> *mut CERT_CHAIN_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertDuplicateCertificateContext(pcertcontext: *const CERT_CONTEXT) -> *mut CERT_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertDuplicateStore(hcertstore: HCERTSTORE) -> HCERTSTORE; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertEnumCRLContextProperties(pcrlcontext: *const CRL_CONTEXT, dwpropid: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertEnumCRLsInStore(hcertstore: HCERTSTORE, pprevcrlcontext: *const CRL_CONTEXT) -> *mut CRL_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertEnumCTLContextProperties(pctlcontext: *const CTL_CONTEXT, dwpropid: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertEnumCTLsInStore(hcertstore: HCERTSTORE, pprevctlcontext: *const CTL_CONTEXT) -> *mut CTL_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertEnumCertificateContextProperties(pcertcontext: *const CERT_CONTEXT, dwpropid: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertEnumCertificatesInStore(hcertstore: HCERTSTORE, pprevcertcontext: *const CERT_CONTEXT) -> *mut CERT_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertEnumPhysicalStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pvarg: *mut ::core::ffi::c_void, pfnenum: PFN_CERT_ENUM_PHYSICAL_STORE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertEnumSubjectInSortedCTL(pctlcontext: *const CTL_CONTEXT, ppvnextsubject: *mut *mut ::core::ffi::c_void, psubjectidentifier: *mut CRYPTOAPI_BLOB, pencodedattributes: *mut CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertEnumSystemStore(dwflags: u32, pvsystemstorelocationpara: *const ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void, pfnenum: PFN_CERT_ENUM_SYSTEM_STORE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertEnumSystemStoreLocation(dwflags: u32, pvarg: *mut ::core::ffi::c_void, pfnenum: PFN_CERT_ENUM_SYSTEM_STORE_LOCATION) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertFindAttribute(pszobjid: ::windows_sys::core::PCSTR, cattr: u32, rgattr: *const CRYPT_ATTRIBUTE) -> *mut CRYPT_ATTRIBUTE; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertFindCRLInStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, dwfindflags: u32, dwfindtype: u32, pvfindpara: *const ::core::ffi::c_void, pprevcrlcontext: *const CRL_CONTEXT) -> *mut CRL_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertFindCTLInStore(hcertstore: HCERTSTORE, dwmsgandcertencodingtype: u32, dwfindflags: u32, dwfindtype: CERT_FIND_TYPE, pvfindpara: *const ::core::ffi::c_void, pprevctlcontext: *const CTL_CONTEXT) -> *mut CTL_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertFindCertificateInCRL(pcert: *const CERT_CONTEXT, pcrlcontext: *const CRL_CONTEXT, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, ppcrlentry: *mut *mut CRL_ENTRY) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertFindCertificateInStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, dwfindflags: u32, dwfindtype: CERT_FIND_FLAGS, pvfindpara: *const ::core::ffi::c_void, pprevcertcontext: *const CERT_CONTEXT) -> *mut CERT_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertFindChainInStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, dwfindflags: CERT_FIND_CHAIN_IN_STORE_FLAGS, dwfindtype: u32, pvfindpara: *const ::core::ffi::c_void, pprevchaincontext: *const CERT_CHAIN_CONTEXT) -> *mut CERT_CHAIN_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertFindExtension(pszobjid: ::windows_sys::core::PCSTR, cextensions: u32, rgextensions: *const CERT_EXTENSION) -> *mut CERT_EXTENSION; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertFindRDNAttr(pszobjid: ::windows_sys::core::PCSTR, pname: *const CERT_NAME_INFO) -> *mut CERT_RDN_ATTR; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertFindSubjectInCTL(dwencodingtype: u32, dwsubjecttype: u32, pvsubject: *const ::core::ffi::c_void, pctlcontext: *const CTL_CONTEXT, dwflags: u32) -> *mut CTL_ENTRY; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertFindSubjectInSortedCTL(psubjectidentifier: *const CRYPTOAPI_BLOB, pctlcontext: *const CTL_CONTEXT, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pencodedattributes: *mut CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertFreeCRLContext(pcrlcontext: *const CRL_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertFreeCTLContext(pctlcontext: *const CTL_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertFreeCertificateChain(pchaincontext: *const CERT_CHAIN_CONTEXT); - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertFreeCertificateChainEngine(hchainengine: HCERTCHAINENGINE); - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertFreeCertificateChainList(prgpselection: *const *const CERT_CHAIN_CONTEXT); - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertFreeCertificateContext(pcertcontext: *const CERT_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertFreeServerOcspResponseContext(pserverocspresponsecontext: *const CERT_SERVER_OCSP_RESPONSE_CONTEXT); - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertGetCRLContextProperty(pcrlcontext: *const CRL_CONTEXT, dwpropid: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertGetCRLFromStore(hcertstore: HCERTSTORE, pissuercontext: *const CERT_CONTEXT, pprevcrlcontext: *const CRL_CONTEXT, pdwflags: *mut u32) -> *mut CRL_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertGetCTLContextProperty(pctlcontext: *const CTL_CONTEXT, dwpropid: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertGetCertificateChain(hchainengine: HCERTCHAINENGINE, pcertcontext: *const CERT_CONTEXT, ptime: *const super::super::Foundation::FILETIME, hadditionalstore: HCERTSTORE, pchainpara: *const CERT_CHAIN_PARA, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, ppchaincontext: *mut *mut CERT_CHAIN_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertGetCertificateContextProperty(pcertcontext: *const CERT_CONTEXT, dwpropid: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertGetEnhancedKeyUsage(pcertcontext: *const CERT_CONTEXT, dwflags: u32, pusage: *mut CTL_USAGE, pcbusage: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertGetIntendedKeyUsage(dwcertencodingtype: u32, pcertinfo: *const CERT_INFO, pbkeyusage: *mut u8, cbkeyusage: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertGetIssuerCertificateFromStore(hcertstore: HCERTSTORE, psubjectcontext: *const CERT_CONTEXT, pprevissuercontext: *const CERT_CONTEXT, pdwflags: *mut u32) -> *mut CERT_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertGetNameStringA(pcertcontext: *const CERT_CONTEXT, dwtype: u32, dwflags: u32, pvtypepara: *const ::core::ffi::c_void, psznamestring: ::windows_sys::core::PSTR, cchnamestring: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertGetNameStringW(pcertcontext: *const CERT_CONTEXT, dwtype: u32, dwflags: u32, pvtypepara: *const ::core::ffi::c_void, psznamestring: ::windows_sys::core::PWSTR, cchnamestring: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertGetPublicKeyLength(dwcertencodingtype: u32, ppublickey: *const CERT_PUBLIC_KEY_INFO) -> u32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertGetServerOcspResponseContext(hserverocspresponse: *const ::core::ffi::c_void, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> *mut CERT_SERVER_OCSP_RESPONSE_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertGetStoreProperty(hcertstore: HCERTSTORE, dwpropid: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertGetSubjectCertificateFromStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, pcertid: *const CERT_INFO) -> *mut CERT_CONTEXT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertGetValidUsages(ccerts: u32, rghcerts: *const *const CERT_CONTEXT, cnumoids: *mut i32, rghoids: *mut ::windows_sys::core::PSTR, pcboids: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertIsRDNAttrsInCertificateName(dwcertencodingtype: u32, dwflags: u32, pcertname: *const CRYPTOAPI_BLOB, prdn: *const CERT_RDN) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertIsStrongHashToSign(pstrongsignpara: *const CERT_STRONG_SIGN_PARA, pwszcnghashalgid: ::windows_sys::core::PCWSTR, psigningcert: *const CERT_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertIsValidCRLForCertificate(pcert: *const CERT_CONTEXT, pcrl: *const CRL_CONTEXT, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertIsWeakHash(dwhashusetype: u32, pwszcnghashalgid: ::windows_sys::core::PCWSTR, dwchainflags: u32, psignerchaincontext: *const CERT_CHAIN_CONTEXT, ptimestamp: *const super::super::Foundation::FILETIME, pwszfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertNameToStrA(dwcertencodingtype: u32, pname: *const CRYPTOAPI_BLOB, dwstrtype: CERT_STRING_TYPE, psz: ::windows_sys::core::PSTR, csz: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertNameToStrW(dwcertencodingtype: u32, pname: *const CRYPTOAPI_BLOB, dwstrtype: CERT_STRING_TYPE, psz: ::windows_sys::core::PWSTR, csz: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertOIDToAlgId(pszobjid: ::windows_sys::core::PCSTR) -> u32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertOpenServerOcspResponse(pchaincontext: *const CERT_CHAIN_CONTEXT, dwflags: u32, popenpara: *const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA) -> *mut ::core::ffi::c_void; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertOpenStore(lpszstoreprovider: ::windows_sys::core::PCSTR, dwencodingtype: CERT_QUERY_ENCODING_TYPE, hcryptprov: HCRYPTPROV_LEGACY, dwflags: CERT_OPEN_STORE_FLAGS, pvpara: *const ::core::ffi::c_void) -> HCERTSTORE; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertOpenSystemStoreA(hprov: HCRYPTPROV_LEGACY, szsubsystemprotocol: ::windows_sys::core::PCSTR) -> HCERTSTORE; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertOpenSystemStoreW(hprov: HCRYPTPROV_LEGACY, szsubsystemprotocol: ::windows_sys::core::PCWSTR) -> HCERTSTORE; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertRDNValueToStrA(dwvaluetype: u32, pvalue: *const CRYPTOAPI_BLOB, psz: ::windows_sys::core::PSTR, csz: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertRDNValueToStrW(dwvaluetype: u32, pvalue: *const CRYPTOAPI_BLOB, psz: ::windows_sys::core::PWSTR, csz: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertRegisterPhysicalStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pwszstorename: ::windows_sys::core::PCWSTR, pstoreinfo: *const CERT_PHYSICAL_STORE_INFO, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertRegisterSystemStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pstoreinfo: *const CERT_SYSTEM_STORE_INFO, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertRemoveEnhancedKeyUsageIdentifier(pcertcontext: *const CERT_CONTEXT, pszusageidentifier: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CertRemoveStoreFromCollection(hcollectionstore: HCERTSTORE, hsiblingstore: HCERTSTORE); - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertResyncCertificateChainEngine(hchainengine: HCERTCHAINENGINE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertRetrieveLogoOrBiometricInfo(pcertcontext: *const CERT_CONTEXT, lpszlogoorbiometrictype: ::windows_sys::core::PCSTR, dwretrievalflags: u32, dwtimeout: u32, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, ppbdata: *mut *mut u8, pcbdata: *mut u32, ppwszmimetype: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertSaveStore(hcertstore: HCERTSTORE, dwencodingtype: CERT_QUERY_ENCODING_TYPE, dwsaveas: CERT_STORE_SAVE_AS, dwsaveto: CERT_STORE_SAVE_TO, pvsavetopara: *mut ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertSelectCertificateChains(pselectioncontext: *const ::windows_sys::core::GUID, dwflags: u32, pchainparameters: *const CERT_SELECT_CHAIN_PARA, ccriteria: u32, rgpcriteria: *const CERT_SELECT_CRITERIA, hstore: HCERTSTORE, pcselection: *mut u32, pprgpselection: *mut *mut *mut CERT_CHAIN_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertSerializeCRLStoreElement(pcrlcontext: *const CRL_CONTEXT, dwflags: u32, pbelement: *mut u8, pcbelement: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertSerializeCTLStoreElement(pctlcontext: *const CTL_CONTEXT, dwflags: u32, pbelement: *mut u8, pcbelement: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertSerializeCertificateStoreElement(pcertcontext: *const CERT_CONTEXT, dwflags: u32, pbelement: *mut u8, pcbelement: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertSetCRLContextProperty(pcrlcontext: *const CRL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertSetCTLContextProperty(pctlcontext: *const CTL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertSetCertificateContextPropertiesFromCTLEntry(pcertcontext: *const CERT_CONTEXT, pctlentry: *const CTL_ENTRY, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertSetCertificateContextProperty(pcertcontext: *const CERT_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertSetEnhancedKeyUsage(pcertcontext: *const CERT_CONTEXT, pusage: *const CTL_USAGE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertSetStoreProperty(hcertstore: HCERTSTORE, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertStrToNameA(dwcertencodingtype: u32, pszx500: ::windows_sys::core::PCSTR, dwstrtype: CERT_STRING_TYPE, pvreserved: *mut ::core::ffi::c_void, pbencoded: *mut u8, pcbencoded: *mut u32, ppszerror: *mut ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertStrToNameW(dwcertencodingtype: u32, pszx500: ::windows_sys::core::PCWSTR, dwstrtype: CERT_STRING_TYPE, pvreserved: *mut ::core::ffi::c_void, pbencoded: *mut u8, pcbencoded: *mut u32, ppszerror: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertUnregisterPhysicalStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pwszstorename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertUnregisterSystemStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertVerifyCRLRevocation(dwcertencodingtype: u32, pcertid: *const CERT_INFO, ccrlinfo: u32, rgpcrlinfo: *const *const CRL_INFO) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertVerifyCRLTimeValidity(ptimetoverify: *const super::super::Foundation::FILETIME, pcrlinfo: *const CRL_INFO) -> i32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertVerifyCTLUsage(dwencodingtype: u32, dwsubjecttype: u32, pvsubject: *const ::core::ffi::c_void, psubjectusage: *const CTL_USAGE, dwflags: u32, pverifyusagepara: *const CTL_VERIFY_USAGE_PARA, pverifyusagestatus: *mut CTL_VERIFY_USAGE_STATUS) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertVerifyCertificateChainPolicy(pszpolicyoid: ::windows_sys::core::PCSTR, pchaincontext: *const CERT_CHAIN_CONTEXT, ppolicypara: *const CERT_CHAIN_POLICY_PARA, ppolicystatus: *mut CERT_CHAIN_POLICY_STATUS) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertVerifyRevocation(dwencodingtype: u32, dwrevtype: u32, ccontext: u32, rgpvcontext: *const *const ::core::ffi::c_void, dwflags: u32, prevpara: *const CERT_REVOCATION_PARA, prevstatus: *mut CERT_REVOCATION_STATUS) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertVerifySubjectCertificateContext(psubject: *const CERT_CONTEXT, pissuer: *const CERT_CONTEXT, pdwflags: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertVerifyTimeValidity(ptimetoverify: *const super::super::Foundation::FILETIME, pcertinfo: *const CERT_INFO) -> i32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CertVerifyValidityNesting(psubjectinfo: *const CERT_INFO, pissuerinfo: *const CERT_INFO) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CloseCryptoHandle(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptAcquireCertificatePrivateKey(pcert: *const CERT_CONTEXT, dwflags: CRYPT_ACQUIRE_FLAGS, pvparameters: *const ::core::ffi::c_void, phcryptprovorncryptkey: *mut HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, pdwkeyspec: *mut CERT_KEY_SPEC, pfcallerfreeprovorncryptkey: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptAcquireContextA(phprov: *mut usize, szcontainer: ::windows_sys::core::PCSTR, szprovider: ::windows_sys::core::PCSTR, dwprovtype: u32, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptAcquireContextW(phprov: *mut usize, szcontainer: ::windows_sys::core::PCWSTR, szprovider: ::windows_sys::core::PCWSTR, dwprovtype: u32, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptBinaryToStringA(pbbinary: *const u8, cbbinary: u32, dwflags: CRYPT_STRING, pszstring: ::windows_sys::core::PSTR, pcchstring: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptBinaryToStringW(pbbinary: *const u8, cbbinary: u32, dwflags: CRYPT_STRING, pszstring: ::windows_sys::core::PWSTR, pcchstring: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCloseAsyncHandle(hasync: HCRYPTASYNC) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptContextAddRef(hprov: usize, pdwreserved: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCreateAsyncHandle(dwflags: u32, phasync: *mut HCRYPTASYNC) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCreateHash(hprov: usize, algid: u32, hkey: usize, dwflags: u32, phhash: *mut usize) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptCreateKeyIdentifierFromCSP(dwcertencodingtype: u32, pszpubkeyoid: ::windows_sys::core::PCSTR, ppubkeystruc: *const PUBLICKEYSTRUC, cbpubkeystruc: u32, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pbhash: *mut u8, pcbhash: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptDecodeMessage(dwmsgtypeflags: u32, pdecryptpara: *const CRYPT_DECRYPT_MESSAGE_PARA, pverifypara: *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex: u32, pbencodedblob: *const u8, cbencodedblob: u32, dwprevinnercontenttype: u32, pdwmsgtype: *mut u32, pdwinnercontenttype: *mut u32, pbdecoded: *mut u8, pcbdecoded: *mut u32, ppxchgcert: *mut *mut CERT_CONTEXT, ppsignercert: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptDecodeObject(dwcertencodingtype: u32, lpszstructtype: ::windows_sys::core::PCSTR, pbencoded: *const u8, cbencoded: u32, dwflags: u32, pvstructinfo: *mut ::core::ffi::c_void, pcbstructinfo: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptDecodeObjectEx(dwcertencodingtype: u32, lpszstructtype: ::windows_sys::core::PCSTR, pbencoded: *const u8, cbencoded: u32, dwflags: u32, pdecodepara: *const CRYPT_DECODE_PARA, pvstructinfo: *mut ::core::ffi::c_void, pcbstructinfo: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptDecrypt(hkey: usize, hhash: usize, r#final: super::super::Foundation::BOOL, dwflags: u32, pbdata: *mut u8, pdwdatalen: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptDecryptAndVerifyMessageSignature(pdecryptpara: *const CRYPT_DECRYPT_MESSAGE_PARA, pverifypara: *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex: u32, pbencryptedblob: *const u8, cbencryptedblob: u32, pbdecrypted: *mut u8, pcbdecrypted: *mut u32, ppxchgcert: *mut *mut CERT_CONTEXT, ppsignercert: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptDecryptMessage(pdecryptpara: *const CRYPT_DECRYPT_MESSAGE_PARA, pbencryptedblob: *const u8, cbencryptedblob: u32, pbdecrypted: *mut u8, pcbdecrypted: *mut u32, ppxchgcert: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptDeriveKey(hprov: usize, algid: u32, hbasedata: usize, dwflags: u32, phkey: *mut usize) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptDestroyHash(hhash: usize) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptDestroyKey(hkey: usize) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptDuplicateHash(hhash: usize, pdwreserved: *mut u32, dwflags: u32, phhash: *mut usize) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptDuplicateKey(hkey: usize, pdwreserved: *mut u32, dwflags: u32, phkey: *mut usize) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptEncodeObject(dwcertencodingtype: u32, lpszstructtype: ::windows_sys::core::PCSTR, pvstructinfo: *const ::core::ffi::c_void, pbencoded: *mut u8, pcbencoded: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptEncodeObjectEx(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, lpszstructtype: ::windows_sys::core::PCSTR, pvstructinfo: *const ::core::ffi::c_void, dwflags: CRYPT_ENCODE_OBJECT_FLAGS, pencodepara: *const CRYPT_ENCODE_PARA, pvencoded: *mut ::core::ffi::c_void, pcbencoded: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptEncrypt(hkey: usize, hhash: usize, r#final: super::super::Foundation::BOOL, dwflags: u32, pbdata: *mut u8, pdwdatalen: *mut u32, dwbuflen: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptEncryptMessage(pencryptpara: *const CRYPT_ENCRYPT_MESSAGE_PARA, crecipientcert: u32, rgprecipientcert: *const *const CERT_CONTEXT, pbtobeencrypted: *const u8, cbtobeencrypted: u32, pbencryptedblob: *mut u8, pcbencryptedblob: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptEnumKeyIdentifierProperties(pkeyidentifier: *const CRYPTOAPI_BLOB, dwpropid: u32, dwflags: u32, pwszcomputername: ::windows_sys::core::PCWSTR, pvreserved: *mut ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void, pfnenum: PFN_CRYPT_ENUM_KEYID_PROP) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptEnumOIDFunction(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR, dwflags: u32, pvarg: *mut ::core::ffi::c_void, pfnenumoidfunc: PFN_CRYPT_ENUM_OID_FUNC) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptEnumOIDInfo(dwgroupid: u32, dwflags: u32, pvarg: *mut ::core::ffi::c_void, pfnenumoidinfo: PFN_CRYPT_ENUM_OID_INFO) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptEnumProviderTypesA(dwindex: u32, pdwreserved: *mut u32, dwflags: u32, pdwprovtype: *mut u32, sztypename: ::windows_sys::core::PSTR, pcbtypename: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptEnumProviderTypesW(dwindex: u32, pdwreserved: *mut u32, dwflags: u32, pdwprovtype: *mut u32, sztypename: ::windows_sys::core::PWSTR, pcbtypename: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptEnumProvidersA(dwindex: u32, pdwreserved: *mut u32, dwflags: u32, pdwprovtype: *mut u32, szprovname: ::windows_sys::core::PSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptEnumProvidersW(dwindex: u32, pdwreserved: *mut u32, dwflags: u32, pdwprovtype: *mut u32, szprovname: ::windows_sys::core::PWSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptExportKey(hkey: usize, hexpkey: usize, dwblobtype: u32, dwflags: CRYPT_KEY_FLAGS, pbdata: *mut u8, pdwdatalen: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptExportPKCS8(hcryptprov: usize, dwkeyspec: u32, pszprivatekeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pbprivatekeyblob: *mut u8, pcbprivatekeyblob: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptExportPublicKeyInfo(hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: u32, dwcertencodingtype: u32, pinfo: *mut CERT_PUBLIC_KEY_INFO, pcbinfo: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptExportPublicKeyInfoEx(hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: u32, dwcertencodingtype: u32, pszpublickeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pinfo: *mut CERT_PUBLIC_KEY_INFO, pcbinfo: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptExportPublicKeyInfoFromBCryptKeyHandle(hbcryptkey: BCRYPT_KEY_HANDLE, dwcertencodingtype: u32, pszpublickeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pinfo: *mut CERT_PUBLIC_KEY_INFO, pcbinfo: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptFindCertificateKeyProvInfo(pcert: *const CERT_CONTEXT, dwflags: CRYPT_FIND_FLAGS, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptFindLocalizedName(pwszcryptname: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptFindOIDInfo(dwkeytype: u32, pvkey: *const ::core::ffi::c_void, dwgroupid: u32) -> *mut CRYPT_OID_INFO; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptFormatObject(dwcertencodingtype: u32, dwformattype: u32, dwformatstrtype: u32, pformatstruct: *const ::core::ffi::c_void, lpszstructtype: ::windows_sys::core::PCSTR, pbencoded: *const u8, cbencoded: u32, pbformat: *mut ::core::ffi::c_void, pcbformat: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptFreeOIDFunctionAddress(hfuncaddr: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptGenKey(hprov: usize, algid: u32, dwflags: CRYPT_KEY_FLAGS, phkey: *mut usize) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptGenRandom(hprov: usize, dwlen: u32, pbbuffer: *mut u8) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptGetAsyncParam(hasync: HCRYPTASYNC, pszparamoid: ::windows_sys::core::PCSTR, ppvparam: *mut *mut ::core::ffi::c_void, ppfnfree: *mut PFN_CRYPT_ASYNC_PARAM_FREE_FUNC) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptGetDefaultOIDDllList(hfuncset: *const ::core::ffi::c_void, dwencodingtype: u32, pwszdlllist: ::windows_sys::core::PWSTR, pcchdlllist: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptGetDefaultOIDFunctionAddress(hfuncset: *const ::core::ffi::c_void, dwencodingtype: u32, pwszdll: ::windows_sys::core::PCWSTR, dwflags: u32, ppvfuncaddr: *mut *mut ::core::ffi::c_void, phfuncaddr: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptGetDefaultProviderA(dwprovtype: u32, pdwreserved: *mut u32, dwflags: u32, pszprovname: ::windows_sys::core::PSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptGetDefaultProviderW(dwprovtype: u32, pdwreserved: *mut u32, dwflags: u32, pszprovname: ::windows_sys::core::PWSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptGetHashParam(hhash: usize, dwparam: u32, pbdata: *mut u8, pdwdatalen: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptGetKeyIdentifierProperty(pkeyidentifier: *const CRYPTOAPI_BLOB, dwpropid: u32, dwflags: u32, pwszcomputername: ::windows_sys::core::PCWSTR, pvreserved: *mut ::core::ffi::c_void, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptGetKeyParam(hkey: usize, dwparam: CRYPT_KEY_PARAM_ID, pbdata: *mut u8, pdwdatalen: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptGetMessageCertificates(dwmsgandcertencodingtype: u32, hcryptprov: HCRYPTPROV_LEGACY, dwflags: u32, pbsignedblob: *const u8, cbsignedblob: u32) -> HCERTSTORE; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptGetMessageSignerCount(dwmsgencodingtype: u32, pbsignedblob: *const u8, cbsignedblob: u32) -> i32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptGetOIDFunctionAddress(hfuncset: *const ::core::ffi::c_void, dwencodingtype: u32, pszoid: ::windows_sys::core::PCSTR, dwflags: u32, ppvfuncaddr: *mut *mut ::core::ffi::c_void, phfuncaddr: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptGetOIDFunctionValue(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR, pwszvaluename: ::windows_sys::core::PCWSTR, pdwvaluetype: *mut u32, pbvaluedata: *mut u8, pcbvaluedata: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptGetObjectUrl(pszurloid: ::windows_sys::core::PCSTR, pvpara: *const ::core::ffi::c_void, dwflags: CRYPT_GET_URL_FLAGS, purlarray: *mut CRYPT_URL_ARRAY, pcburlarray: *mut u32, purlinfo: *mut CRYPT_URL_INFO, pcburlinfo: *mut u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptGetProvParam(hprov: usize, dwparam: u32, pbdata: *mut u8, pdwdatalen: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptGetUserKey(hprov: usize, dwkeyspec: u32, phuserkey: *mut usize) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptHashCertificate(hcryptprov: HCRYPTPROV_LEGACY, algid: u32, dwflags: u32, pbencoded: *const u8, cbencoded: u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptHashCertificate2(pwszcnghashalgid: ::windows_sys::core::PCWSTR, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pbencoded: *const u8, cbencoded: u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptHashData(hhash: usize, pbdata: *const u8, dwdatalen: u32, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptHashMessage(phashpara: *const CRYPT_HASH_MESSAGE_PARA, fdetachedhash: super::super::Foundation::BOOL, ctobehashed: u32, rgpbtobehashed: *const *const u8, rgcbtobehashed: *const u32, pbhashedblob: *mut u8, pcbhashedblob: *mut u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptHashPublicKeyInfo(hcryptprov: HCRYPTPROV_LEGACY, algid: u32, dwflags: u32, dwcertencodingtype: u32, pinfo: *const CERT_PUBLIC_KEY_INFO, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptHashSessionKey(hhash: usize, hkey: usize, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptHashToBeSigned(hcryptprov: HCRYPTPROV_LEGACY, dwcertencodingtype: u32, pbencoded: *const u8, cbencoded: u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptImportKey(hprov: usize, pbdata: *const u8, dwdatalen: u32, hpubkey: usize, dwflags: CRYPT_KEY_FLAGS, phkey: *mut usize) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptImportPKCS8(sprivatekeyandparams: CRYPT_PKCS8_IMPORT_PARAMS, dwflags: CRYPT_KEY_FLAGS, phcryptprov: *mut usize, pvauxinfo: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptImportPublicKeyInfo(hcryptprov: usize, dwcertencodingtype: u32, pinfo: *const CERT_PUBLIC_KEY_INFO, phkey: *mut usize) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptImportPublicKeyInfoEx(hcryptprov: usize, dwcertencodingtype: u32, pinfo: *const CERT_PUBLIC_KEY_INFO, aikeyalg: u32, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, phkey: *mut usize) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptImportPublicKeyInfoEx2(dwcertencodingtype: u32, pinfo: *const CERT_PUBLIC_KEY_INFO, dwflags: CRYPT_IMPORT_PUBLIC_KEY_FLAGS, pvauxinfo: *const ::core::ffi::c_void, phkey: *mut BCRYPT_KEY_HANDLE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptInitOIDFunctionSet(pszfuncname: ::windows_sys::core::PCSTR, dwflags: u32) -> *mut ::core::ffi::c_void; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptInstallCancelRetrieval(pfncancel: PFN_CRYPT_CANCEL_RETRIEVAL, pvarg: *const ::core::ffi::c_void, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptInstallDefaultContext(hcryptprov: usize, dwdefaulttype: CRYPT_DEFAULT_CONTEXT_TYPE, pvdefaultpara: *const ::core::ffi::c_void, dwflags: CRYPT_DEFAULT_CONTEXT_FLAGS, pvreserved: *mut ::core::ffi::c_void, phdefaultcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptInstallOIDFunctionAddress(hmodule: super::super::Foundation::HINSTANCE, dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, cfuncentry: u32, rgfuncentry: *const CRYPT_OID_FUNC_ENTRY, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptMemAlloc(cbsize: u32) -> *mut ::core::ffi::c_void; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptMemFree(pv: *const ::core::ffi::c_void); - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptMemRealloc(pv: *const ::core::ffi::c_void, cbsize: u32) -> *mut ::core::ffi::c_void; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptMsgCalculateEncodedLength(dwmsgencodingtype: u32, dwflags: u32, dwmsgtype: u32, pvmsgencodeinfo: *const ::core::ffi::c_void, pszinnercontentobjid: ::windows_sys::core::PCSTR, cbdata: u32) -> u32; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptMsgClose(hcryptmsg: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptMsgControl(hcryptmsg: *const ::core::ffi::c_void, dwflags: u32, dwctrltype: u32, pvctrlpara: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptMsgCountersign(hcryptmsg: *const ::core::ffi::c_void, dwindex: u32, ccountersigners: u32, rgcountersigners: *const CMSG_SIGNER_ENCODE_INFO) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptMsgCountersignEncoded(dwencodingtype: u32, pbsignerinfo: *const u8, cbsignerinfo: u32, ccountersigners: u32, rgcountersigners: *const CMSG_SIGNER_ENCODE_INFO, pbcountersignature: *mut u8, pcbcountersignature: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptMsgDuplicate(hcryptmsg: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptMsgEncodeAndSignCTL(dwmsgencodingtype: u32, pctlinfo: *const CTL_INFO, psigninfo: *const CMSG_SIGNED_ENCODE_INFO, dwflags: u32, pbencoded: *mut u8, pcbencoded: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptMsgGetAndVerifySigner(hcryptmsg: *const ::core::ffi::c_void, csignerstore: u32, rghsignerstore: *const HCERTSTORE, dwflags: u32, ppsigner: *mut *mut CERT_CONTEXT, pdwsignerindex: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptMsgGetParam(hcryptmsg: *const ::core::ffi::c_void, dwparamtype: u32, dwindex: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptMsgOpenToDecode(dwmsgencodingtype: u32, dwflags: u32, dwmsgtype: u32, hcryptprov: HCRYPTPROV_LEGACY, precipientinfo: *mut CERT_INFO, pstreaminfo: *const CMSG_STREAM_INFO) -> *mut ::core::ffi::c_void; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptMsgOpenToEncode(dwmsgencodingtype: u32, dwflags: u32, dwmsgtype: CRYPT_MSG_TYPE, pvmsgencodeinfo: *const ::core::ffi::c_void, pszinnercontentobjid: ::windows_sys::core::PCSTR, pstreaminfo: *const CMSG_STREAM_INFO) -> *mut ::core::ffi::c_void; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptMsgSignCTL(dwmsgencodingtype: u32, pbctlcontent: *const u8, cbctlcontent: u32, psigninfo: *const CMSG_SIGNED_ENCODE_INFO, dwflags: u32, pbencoded: *mut u8, pcbencoded: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptMsgUpdate(hcryptmsg: *const ::core::ffi::c_void, pbdata: *const u8, cbdata: u32, ffinal: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptMsgVerifyCountersignatureEncoded(hcryptprov: HCRYPTPROV_LEGACY, dwencodingtype: u32, pbsignerinfo: *const u8, cbsignerinfo: u32, pbsignerinfocountersignature: *const u8, cbsignerinfocountersignature: u32, pcicountersigner: *const CERT_INFO) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptMsgVerifyCountersignatureEncodedEx(hcryptprov: HCRYPTPROV_LEGACY, dwencodingtype: u32, pbsignerinfo: *const u8, cbsignerinfo: u32, pbsignerinfocountersignature: *const u8, cbsignerinfocountersignature: u32, dwsignertype: u32, pvsigner: *const ::core::ffi::c_void, dwflags: u32, pvextra: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptProtectData(pdatain: *const CRYPTOAPI_BLOB, szdatadescr: ::windows_sys::core::PCWSTR, poptionalentropy: *const CRYPTOAPI_BLOB, pvreserved: *mut ::core::ffi::c_void, ppromptstruct: *const CRYPTPROTECT_PROMPTSTRUCT, dwflags: u32, pdataout: *mut CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptProtectMemory(pdatain: *mut ::core::ffi::c_void, cbdatain: u32, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptQueryObject(dwobjecttype: CERT_QUERY_OBJECT_TYPE, pvobject: *const ::core::ffi::c_void, dwexpectedcontenttypeflags: CERT_QUERY_CONTENT_TYPE_FLAGS, dwexpectedformattypeflags: CERT_QUERY_FORMAT_TYPE_FLAGS, dwflags: u32, pdwmsgandcertencodingtype: *mut CERT_QUERY_ENCODING_TYPE, pdwcontenttype: *mut CERT_QUERY_CONTENT_TYPE, pdwformattype: *mut CERT_QUERY_FORMAT_TYPE, phcertstore: *mut HCERTSTORE, phmsg: *mut *mut ::core::ffi::c_void, ppvcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptRegisterDefaultOIDFunction(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, dwindex: u32, pwszdll: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptRegisterOIDFunction(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR, pwszdll: ::windows_sys::core::PCWSTR, pszoverridefuncname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptRegisterOIDInfo(pinfo: *const CRYPT_OID_INFO, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptReleaseContext(hprov: usize, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptRetrieveObjectByUrlA(pszurl: ::windows_sys::core::PCSTR, pszobjectoid: ::windows_sys::core::PCSTR, dwretrievalflags: u32, dwtimeout: u32, ppvobject: *mut *mut ::core::ffi::c_void, hasyncretrieve: HCRYPTASYNC, pcredentials: *const CRYPT_CREDENTIALS, pvverify: *const ::core::ffi::c_void, pauxinfo: *mut CRYPT_RETRIEVE_AUX_INFO) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptRetrieveObjectByUrlW(pszurl: ::windows_sys::core::PCWSTR, pszobjectoid: ::windows_sys::core::PCSTR, dwretrievalflags: u32, dwtimeout: u32, ppvobject: *mut *mut ::core::ffi::c_void, hasyncretrieve: HCRYPTASYNC, pcredentials: *const CRYPT_CREDENTIALS, pvverify: *const ::core::ffi::c_void, pauxinfo: *mut CRYPT_RETRIEVE_AUX_INFO) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptRetrieveTimeStamp(wszurl: ::windows_sys::core::PCWSTR, dwretrievalflags: u32, dwtimeout: u32, pszhashid: ::windows_sys::core::PCSTR, ppara: *const CRYPT_TIMESTAMP_PARA, pbdata: *const u8, cbdata: u32, pptscontext: *mut *mut CRYPT_TIMESTAMP_CONTEXT, pptssigner: *mut *mut CERT_CONTEXT, phstore: *mut HCERTSTORE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSetAsyncParam(hasync: HCRYPTASYNC, pszparamoid: ::windows_sys::core::PCSTR, pvparam: *const ::core::ffi::c_void, pfnfree: PFN_CRYPT_ASYNC_PARAM_FREE_FUNC) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSetHashParam(hhash: usize, dwparam: CRYPT_SET_HASH_PARAM, pbdata: *const u8, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSetKeyIdentifierProperty(pkeyidentifier: *const CRYPTOAPI_BLOB, dwpropid: u32, dwflags: u32, pwszcomputername: ::windows_sys::core::PCWSTR, pvreserved: *mut ::core::ffi::c_void, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSetKeyParam(hkey: usize, dwparam: CRYPT_KEY_PARAM_ID, pbdata: *const u8, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] - pub fn CryptSetOIDFunctionValue(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR, pwszvaluename: ::windows_sys::core::PCWSTR, dwvaluetype: super::super::System::Registry::REG_VALUE_TYPE, pbvaluedata: *const u8, cbvaluedata: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSetProvParam(hprov: usize, dwparam: CRYPT_SET_PROV_PARAM_ID, pbdata: *const u8, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSetProviderA(pszprovname: ::windows_sys::core::PCSTR, dwprovtype: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSetProviderExA(pszprovname: ::windows_sys::core::PCSTR, dwprovtype: u32, pdwreserved: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSetProviderExW(pszprovname: ::windows_sys::core::PCWSTR, dwprovtype: u32, pdwreserved: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSetProviderW(pszprovname: ::windows_sys::core::PCWSTR, dwprovtype: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSignAndEncodeCertificate(hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: CERT_KEY_SPEC, dwcertencodingtype: u32, lpszstructtype: ::windows_sys::core::PCSTR, pvstructinfo: *const ::core::ffi::c_void, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pvhashauxinfo: *const ::core::ffi::c_void, pbencoded: *mut u8, pcbencoded: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSignAndEncryptMessage(psignpara: *const CRYPT_SIGN_MESSAGE_PARA, pencryptpara: *const CRYPT_ENCRYPT_MESSAGE_PARA, crecipientcert: u32, rgprecipientcert: *const *const CERT_CONTEXT, pbtobesignedandencrypted: *const u8, cbtobesignedandencrypted: u32, pbsignedandencryptedblob: *mut u8, pcbsignedandencryptedblob: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSignCertificate(hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: u32, dwcertencodingtype: u32, pbencodedtobesigned: *const u8, cbencodedtobesigned: u32, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pvhashauxinfo: *const ::core::ffi::c_void, pbsignature: *mut u8, pcbsignature: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSignHashA(hhash: usize, dwkeyspec: u32, szdescription: ::windows_sys::core::PCSTR, dwflags: u32, pbsignature: *mut u8, pdwsiglen: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSignHashW(hhash: usize, dwkeyspec: u32, szdescription: ::windows_sys::core::PCWSTR, dwflags: u32, pbsignature: *mut u8, pdwsiglen: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSignMessage(psignpara: *const CRYPT_SIGN_MESSAGE_PARA, fdetachedsignature: super::super::Foundation::BOOL, ctobesigned: u32, rgpbtobesigned: *const *const u8, rgcbtobesigned: *const u32, pbsignedblob: *mut u8, pcbsignedblob: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptSignMessageWithKey(psignpara: *const CRYPT_KEY_SIGN_MESSAGE_PARA, pbtobesigned: *const u8, cbtobesigned: u32, pbsignedblob: *mut u8, pcbsignedblob: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptStringToBinaryA(pszstring: ::windows_sys::core::PCSTR, cchstring: u32, dwflags: CRYPT_STRING, pbbinary: *mut u8, pcbbinary: *mut u32, pdwskip: *mut u32, pdwflags: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptStringToBinaryW(pszstring: ::windows_sys::core::PCWSTR, cchstring: u32, dwflags: CRYPT_STRING, pbbinary: *mut u8, pcbbinary: *mut u32, pdwskip: *mut u32, pdwflags: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptUninstallCancelRetrieval(dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptUninstallDefaultContext(hdefaultcontext: *const ::core::ffi::c_void, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptUnprotectData(pdatain: *const CRYPTOAPI_BLOB, ppszdatadescr: *mut ::windows_sys::core::PWSTR, poptionalentropy: *const CRYPTOAPI_BLOB, pvreserved: *mut ::core::ffi::c_void, ppromptstruct: *const CRYPTPROTECT_PROMPTSTRUCT, dwflags: u32, pdataout: *mut CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptUnprotectMemory(pdatain: *mut ::core::ffi::c_void, cbdatain: u32, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptUnregisterDefaultOIDFunction(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pwszdll: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptUnregisterOIDFunction(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptUnregisterOIDInfo(pinfo: *const CRYPT_OID_INFO) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptUpdateProtectedState(poldsid: super::super::Foundation::PSID, pwszoldpassword: ::windows_sys::core::PCWSTR, dwflags: u32, pdwsuccesscount: *mut u32, pdwfailurecount: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptVerifyCertificateSignature(hcryptprov: HCRYPTPROV_LEGACY, dwcertencodingtype: u32, pbencoded: *const u8, cbencoded: u32, ppublickey: *const CERT_PUBLIC_KEY_INFO) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptVerifyCertificateSignatureEx(hcryptprov: HCRYPTPROV_LEGACY, dwcertencodingtype: u32, dwsubjecttype: u32, pvsubject: *const ::core::ffi::c_void, dwissuertype: u32, pvissuer: *const ::core::ffi::c_void, dwflags: CRYPT_VERIFY_CERT_FLAGS, pvextra: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptVerifyDetachedMessageHash(phashpara: *const CRYPT_HASH_MESSAGE_PARA, pbdetachedhashblob: *const u8, cbdetachedhashblob: u32, ctobehashed: u32, rgpbtobehashed: *const *const u8, rgcbtobehashed: *const u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptVerifyDetachedMessageSignature(pverifypara: *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex: u32, pbdetachedsignblob: *const u8, cbdetachedsignblob: u32, ctobesigned: u32, rgpbtobesigned: *const *const u8, rgcbtobesigned: *const u32, ppsignercert: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptVerifyMessageHash(phashpara: *const CRYPT_HASH_MESSAGE_PARA, pbhashedblob: *const u8, cbhashedblob: u32, pbtobehashed: *mut u8, pcbtobehashed: *mut u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptVerifyMessageSignature(pverifypara: *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex: u32, pbsignedblob: *const u8, cbsignedblob: u32, pbdecoded: *mut u8, pcbdecoded: *mut u32, ppsignercert: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptVerifyMessageSignatureWithKey(pverifypara: *const CRYPT_KEY_VERIFY_MESSAGE_PARA, ppublickeyinfo: *const CERT_PUBLIC_KEY_INFO, pbsignedblob: *const u8, cbsignedblob: u32, pbdecoded: *mut u8, pcbdecoded: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptVerifySignatureA(hhash: usize, pbsignature: *const u8, dwsiglen: u32, hpubkey: usize, szdescription: ::windows_sys::core::PCSTR, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptVerifySignatureW(hhash: usize, pbsignature: *const u8, dwsiglen: u32, hpubkey: usize, szdescription: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptVerifyTimeStampSignature(pbtscontentinfo: *const u8, cbtscontentinfo: u32, pbdata: *const u8, cbdata: u32, hadditionalstore: HCERTSTORE, pptscontext: *mut *mut CRYPT_TIMESTAMP_CONTEXT, pptssigner: *mut *mut CERT_CONTEXT, phstore: *mut HCERTSTORE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlAddObject(hsignatureorobject: *const ::core::ffi::c_void, dwflags: u32, rgproperty: *const CRYPT_XML_PROPERTY, cproperty: u32, pencoded: *const CRYPT_XML_BLOB, ppobject: *mut *mut CRYPT_XML_OBJECT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlClose(hcryptxml: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlCreateReference(hcryptxml: *const ::core::ffi::c_void, dwflags: u32, wszid: ::windows_sys::core::PCWSTR, wszuri: ::windows_sys::core::PCWSTR, wsztype: ::windows_sys::core::PCWSTR, pdigestmethod: *const CRYPT_XML_ALGORITHM, ctransform: u32, rgtransform: *const CRYPT_XML_ALGORITHM, phreference: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlDigestReference(hreference: *const ::core::ffi::c_void, dwflags: u32, pdataproviderin: *const CRYPT_XML_DATA_PROVIDER) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlEncode(hcryptxml: *const ::core::ffi::c_void, dwcharset: CRYPT_XML_CHARSET, rgproperty: *const CRYPT_XML_PROPERTY, cproperty: u32, pvcallbackstate: *mut ::core::ffi::c_void, pfnwrite: PFN_CRYPT_XML_WRITE_CALLBACK) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CryptXmlEnumAlgorithmInfo(dwgroupid: u32, dwflags: u32, pvarg: *mut ::core::ffi::c_void, pfnenumalginfo: PFN_CRYPT_XML_ENUM_ALG_INFO) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlFindAlgorithmInfo(dwfindbytype: u32, pvfindby: *const ::core::ffi::c_void, dwgroupid: u32, dwflags: u32) -> *mut CRYPT_XML_ALGORITHM_INFO; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlGetAlgorithmInfo(pxmlalgorithm: *const CRYPT_XML_ALGORITHM, dwflags: CRYPT_XML_FLAGS, ppalginfo: *mut *mut CRYPT_XML_ALGORITHM_INFO) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlGetDocContext(hcryptxml: *const ::core::ffi::c_void, ppstruct: *mut *mut CRYPT_XML_DOC_CTXT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlGetReference(hcryptxml: *const ::core::ffi::c_void, ppstruct: *mut *mut CRYPT_XML_REFERENCE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlGetSignature(hcryptxml: *const ::core::ffi::c_void, ppstruct: *mut *mut CRYPT_XML_SIGNATURE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlGetStatus(hcryptxml: *const ::core::ffi::c_void, pstatus: *mut CRYPT_XML_STATUS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlGetTransforms(ppconfig: *mut *mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlImportPublicKey(dwflags: CRYPT_XML_FLAGS, pkeyvalue: *const CRYPT_XML_KEY_VALUE, phkey: *mut BCRYPT_KEY_HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlOpenToDecode(pconfig: *const CRYPT_XML_TRANSFORM_CHAIN_CONFIG, dwflags: CRYPT_XML_FLAGS, rgproperty: *const CRYPT_XML_PROPERTY, cproperty: u32, pencoded: *const CRYPT_XML_BLOB, phcryptxml: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlOpenToEncode(pconfig: *const CRYPT_XML_TRANSFORM_CHAIN_CONFIG, dwflags: CRYPT_XML_FLAGS, wszid: ::windows_sys::core::PCWSTR, rgproperty: *const CRYPT_XML_PROPERTY, cproperty: u32, pencoded: *const CRYPT_XML_BLOB, phsignature: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlSetHMACSecret(hsignature: *const ::core::ffi::c_void, pbsecret: *const u8, cbsecret: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlSign(hsignature: *const ::core::ffi::c_void, hkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: CERT_KEY_SPEC, dwflags: CRYPT_XML_FLAGS, dwkeyinfospec: CRYPT_XML_KEYINFO_SPEC, pvkeyinfospec: *const ::core::ffi::c_void, psignaturemethod: *const CRYPT_XML_ALGORITHM, pcanonicalization: *const CRYPT_XML_ALGORITHM) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn CryptXmlVerifySignature(hsignature: *const ::core::ffi::c_void, hkey: BCRYPT_KEY_HANDLE, dwflags: CRYPT_XML_FLAGS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn Decrypt(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, foaep: super::super::Foundation::BOOL, cbindata: u32, pindata: *const u8, pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn Encrypt(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, foaep: super::super::Foundation::BOOL, cbindata: u32, pindata: *const u8, pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn FindCertsByIssuer(pcertchains: *mut CERT_CHAIN, pcbcertchains: *mut u32, pccertchains: *mut u32, pbencodedissuername: *const u8, cbencodedissuername: u32, pwszpurpose: ::windows_sys::core::PCWSTR, dwkeyspec: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn FreeToken(pallocmemory: *const GENERIC_XML_TOKEN) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn GenerateDerivedKey(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cblabel: u32, plabel: *const u8, cbnonce: u32, pnonce: *const u8, derivedkeylength: u32, offset: u32, algid: ::windows_sys::core::PCWSTR, pcbkey: *mut u32, ppkey: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn GetBrowserToken(dwparamtype: u32, pparam: *const ::core::ffi::c_void, pcbtoken: *mut u32, pptoken: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn GetCryptoTransform(hsymmetriccrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, mode: u32, padding: PaddingMode, feedbacksize: u32, direction: Direction, cbiv: u32, piv: *const u8, pphtransform: *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn GetKeyedHash(hsymmetriccrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, pphhash: *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetToken(cpolicychain: u32, ppolicychain: *const POLICY_ELEMENT, securitytoken: *mut *mut GENERIC_XML_TOKEN, phprooftokencrypto: *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn HashCore(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata: u32, pindata: *const u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn HashFinal(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata: u32, pindata: *const u8, pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn ImportInformationCard(filename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn ManageCardSpace() -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptCloseProtectionDescriptor(hdescriptor: super::NCRYPT_DESCRIPTOR_HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptCreateClaim(hsubjectkey: NCRYPT_KEY_HANDLE, hauthoritykey: NCRYPT_KEY_HANDLE, dwclaimtype: u32, pparameterlist: *const BCryptBufferDesc, pbclaimblob: *mut u8, cbclaimblob: u32, pcbresult: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptCreatePersistedKey(hprovider: NCRYPT_PROV_HANDLE, phkey: *mut NCRYPT_KEY_HANDLE, pszalgid: ::windows_sys::core::PCWSTR, pszkeyname: ::windows_sys::core::PCWSTR, dwlegacykeyspec: CERT_KEY_SPEC, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptCreateProtectionDescriptor(pwszdescriptorstring: ::windows_sys::core::PCWSTR, dwflags: u32, phdescriptor: *mut super::NCRYPT_DESCRIPTOR_HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptDecrypt(hkey: NCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, ppaddinginfo: *const ::core::ffi::c_void, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptDeleteKey(hkey: NCRYPT_KEY_HANDLE, dwflags: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptDeriveKey(hsharedsecret: NCRYPT_SECRET_HANDLE, pwszkdf: ::windows_sys::core::PCWSTR, pparameterlist: *const BCryptBufferDesc, pbderivedkey: *mut u8, cbderivedkey: u32, pcbresult: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptEncrypt(hkey: NCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, ppaddinginfo: *const ::core::ffi::c_void, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptEnumAlgorithms(hprovider: NCRYPT_PROV_HANDLE, dwalgoperations: NCRYPT_OPERATION, pdwalgcount: *mut u32, ppalglist: *mut *mut NCryptAlgorithmName, dwflags: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptEnumKeys(hprovider: NCRYPT_PROV_HANDLE, pszscope: ::windows_sys::core::PCWSTR, ppkeyname: *mut *mut NCryptKeyName, ppenumstate: *mut *mut ::core::ffi::c_void, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptEnumStorageProviders(pdwprovidercount: *mut u32, ppproviderlist: *mut *mut NCryptProviderName, dwflags: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptExportKey(hkey: NCRYPT_KEY_HANDLE, hexportkey: NCRYPT_KEY_HANDLE, pszblobtype: ::windows_sys::core::PCWSTR, pparameterlist: *const BCryptBufferDesc, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptFinalizeKey(hkey: NCRYPT_KEY_HANDLE, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptFreeBuffer(pvinput: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptFreeObject(hobject: NCRYPT_HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptGetProperty(hobject: NCRYPT_HANDLE, pszproperty: ::windows_sys::core::PCWSTR, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: super::OBJECT_SECURITY_INFORMATION) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptGetProtectionDescriptorInfo(hdescriptor: super::NCRYPT_DESCRIPTOR_HANDLE, pmempara: *const NCRYPT_ALLOC_PARA, dwinfotype: u32, ppvinfo: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptImportKey(hprovider: NCRYPT_PROV_HANDLE, himportkey: NCRYPT_KEY_HANDLE, pszblobtype: ::windows_sys::core::PCWSTR, pparameterlist: *const BCryptBufferDesc, phkey: *mut NCRYPT_KEY_HANDLE, pbdata: *const u8, cbdata: u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptIsAlgSupported(hprovider: NCRYPT_PROV_HANDLE, pszalgid: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn NCryptIsKeyHandle(hkey: NCRYPT_KEY_HANDLE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptKeyDerivation(hkey: NCRYPT_KEY_HANDLE, pparameterlist: *const BCryptBufferDesc, pbderivedkey: *mut u8, cbderivedkey: u32, pcbresult: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn NCryptNotifyChangeKey(hprovider: NCRYPT_PROV_HANDLE, phevent: *mut super::super::Foundation::HANDLE, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptOpenKey(hprovider: NCRYPT_PROV_HANDLE, phkey: *mut NCRYPT_KEY_HANDLE, pszkeyname: ::windows_sys::core::PCWSTR, dwlegacykeyspec: CERT_KEY_SPEC, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptOpenStorageProvider(phprovider: *mut NCRYPT_PROV_HANDLE, pszprovidername: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn NCryptProtectSecret(hdescriptor: super::NCRYPT_DESCRIPTOR_HANDLE, dwflags: u32, pbdata: *const u8, cbdata: u32, pmempara: *const NCRYPT_ALLOC_PARA, hwnd: super::super::Foundation::HWND, ppbprotectedblob: *mut *mut u8, pcbprotectedblob: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptQueryProtectionDescriptorName(pwszname: ::windows_sys::core::PCWSTR, pwszdescriptorstring: ::windows_sys::core::PWSTR, pcdescriptorstring: *mut usize, dwflags: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptRegisterProtectionDescriptorName(pwszname: ::windows_sys::core::PCWSTR, pwszdescriptorstring: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptSecretAgreement(hprivkey: NCRYPT_KEY_HANDLE, hpubkey: NCRYPT_KEY_HANDLE, phagreedsecret: *mut NCRYPT_SECRET_HANDLE, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptSetProperty(hobject: NCRYPT_HANDLE, pszproperty: ::windows_sys::core::PCWSTR, pbinput: *const u8, cbinput: u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptSignHash(hkey: NCRYPT_KEY_HANDLE, ppaddinginfo: *const ::core::ffi::c_void, pbhashvalue: *const u8, cbhashvalue: u32, pbsignature: *mut u8, cbsignature: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptStreamClose(hstream: super::NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn NCryptStreamOpenToProtect(hdescriptor: super::NCRYPT_DESCRIPTOR_HANDLE, dwflags: u32, hwnd: super::super::Foundation::HWND, pstreaminfo: *const NCRYPT_PROTECT_STREAM_INFO, phstream: *mut super::NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn NCryptStreamOpenToUnprotect(pstreaminfo: *const NCRYPT_PROTECT_STREAM_INFO, dwflags: u32, hwnd: super::super::Foundation::HWND, phstream: *mut super::NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn NCryptStreamOpenToUnprotectEx(pstreaminfo: *const NCRYPT_PROTECT_STREAM_INFO_EX, dwflags: u32, hwnd: super::super::Foundation::HWND, phstream: *mut super::NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn NCryptStreamUpdate(hstream: super::NCRYPT_STREAM_HANDLE, pbdata: *const u8, cbdata: usize, ffinal: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptTranslateHandle(phprovider: *mut NCRYPT_PROV_HANDLE, phkey: *mut NCRYPT_KEY_HANDLE, hlegacyprov: usize, hlegacykey: usize, dwlegacykeyspec: CERT_KEY_SPEC, dwflags: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn NCryptUnprotectSecret(phdescriptor: *mut super::NCRYPT_DESCRIPTOR_HANDLE, dwflags: NCRYPT_FLAGS, pbprotectedblob: *const u8, cbprotectedblob: u32, pmempara: *const NCRYPT_ALLOC_PARA, hwnd: super::super::Foundation::HWND, ppbdata: *mut *mut u8, pcbdata: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptVerifyClaim(hsubjectkey: NCRYPT_KEY_HANDLE, hauthoritykey: NCRYPT_KEY_HANDLE, dwclaimtype: u32, pparameterlist: *const BCryptBufferDesc, pbclaimblob: *const u8, cbclaimblob: u32, poutput: *mut BCryptBufferDesc, dwflags: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn NCryptVerifySignature(hkey: NCRYPT_KEY_HANDLE, ppaddinginfo: *const ::core::ffi::c_void, pbhashvalue: *const u8, cbhashvalue: u32, pbsignature: *const u8, cbsignature: u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn PFXExportCertStore(hstore: HCERTSTORE, ppfx: *mut CRYPTOAPI_BLOB, szpassword: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn PFXExportCertStoreEx(hstore: HCERTSTORE, ppfx: *mut CRYPTOAPI_BLOB, szpassword: ::windows_sys::core::PCWSTR, pvpara: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn PFXImportCertStore(ppfx: *const CRYPTOAPI_BLOB, szpassword: ::windows_sys::core::PCWSTR, dwflags: CRYPT_KEY_FLAGS) -> HCERTSTORE; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn PFXIsPFXBlob(ppfx: *const CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn PFXVerifyPassword(ppfx: *const CRYPTOAPI_BLOB, szpassword: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn SignHash(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbhash: u32, phash: *const u8, hashalgoid: ::windows_sys::core::PCWSTR, pcbsig: *mut u32, ppsig: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn TransformBlock(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata: u32, pindata: *const u8, pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] - pub fn TransformFinalBlock(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata: u32, pindata: *const u8, pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn VerifyHash(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbhash: u32, phash: *const u8, hashalgoid: ::windows_sys::core::PCWSTR, cbsig: u32, psig: *const u8, pfverified: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; -} +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn BCryptCloseAlgorithmProvider ( halgorithm : BCRYPT_ALG_HANDLE , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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 : NCRYPT_FLAGS ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn BCryptDeleteContext ( dwtable : BCRYPT_TABLE , pszcontext : :: windows_sys::core::PCWSTR ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn BCryptDestroyHash ( hhash : BCRYPT_HASH_HANDLE ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn BCryptDestroyKey ( hkey : BCRYPT_KEY_HANDLE ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn BCryptDestroySecret ( hsecret : BCRYPT_SECRET_HANDLE ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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 : NCRYPT_FLAGS ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn BCryptEnumContexts ( dwtable : BCRYPT_TABLE , pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_CONTEXTS ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn BCryptEnumRegisteredProviders ( pcbbuffer : *mut u32 , ppbuffer : *mut *mut CRYPT_PROVIDERS ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn BCryptFinalizeKeyPair ( hkey : BCRYPT_KEY_HANDLE , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn BCryptFinishHash ( hhash : BCRYPT_HASH_HANDLE , pboutput : *mut u8 , cboutput : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn BCryptFreeBuffer ( pvbuffer : *const ::core::ffi::c_void ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn BCryptGenRandom ( halgorithm : BCRYPT_ALG_HANDLE , pbbuffer : *mut u8 , cbbuffer : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn BCryptGetFipsAlgorithmMode ( pfenabled : *mut u8 ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn BCryptHashData ( hhash : BCRYPT_HASH_HANDLE , pbinput : *const u8 , cbinput : u32 , dwflags : u32 ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn BCryptRegisterConfigChangeNotify ( phevent : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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 : NCRYPT_FLAGS ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn BCryptUnregisterConfigChangeNotify ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "bcrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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 : NCRYPT_FLAGS ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertAddEncodedCertificateToSystemStoreA ( szcertstorename : :: windows_sys::core::PCSTR , pbcertencoded : *const u8 , cbcertencoded : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertAddEncodedCertificateToSystemStoreW ( szcertstorename : :: windows_sys::core::PCWSTR , pbcertencoded : *const u8 , cbcertencoded : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertAddEnhancedKeyUsageIdentifier ( pcertcontext : *const CERT_CONTEXT , pszusageidentifier : :: windows_sys::core::PCSTR ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertAddRefServerOcspResponse ( hserverocspresponse : *const ::core::ffi::c_void ) -> ( ) ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertAddRefServerOcspResponseContext ( pserverocspresponsecontext : *const CERT_SERVER_OCSP_RESPONSE_CONTEXT ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertAddStoreToCollection ( hcollectionstore : HCERTSTORE , hsiblingstore : HCERTSTORE , dwupdateflags : u32 , dwpriority : u32 ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertAlgIdToOID ( dwalgid : u32 ) -> :: windows_sys::core::PSTR ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertCloseServerOcspResponse ( hserverocspresponse : *const ::core::ffi::c_void , dwflags : u32 ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertCloseStore ( hcertstore : HCERTSTORE , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertCompareIntegerBlob ( pint1 : *const CRYPT_INTEGER_BLOB , pint2 : *const CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertCreateCRLContext ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbcrlencoded : *const u8 , cbcrlencoded : u32 ) -> *mut CRL_CONTEXT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertCreateCTLContext ( dwmsgandcertencodingtype : u32 , pbctlencoded : *const u8 , cbctlencoded : u32 ) -> *mut CTL_CONTEXT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertCreateCTLEntryFromCertificateContextProperties ( pcertcontext : *const CERT_CONTEXT , coptattr : u32 , rgoptattr : *const CRYPT_ATTRIBUTE , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void , pctlentry : *mut CTL_ENTRY , pcbctlentry : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertCreateCertificateChainEngine ( pconfig : *const CERT_CHAIN_ENGINE_CONFIG , phchainengine : *mut HCERTCHAINENGINE ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertCreateCertificateContext ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pbcertencoded : *const u8 , cbcertencoded : u32 ) -> *mut CERT_CONTEXT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertDeleteCRLFromStore ( pcrlcontext : *const CRL_CONTEXT ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertDeleteCTLFromStore ( pctlcontext : *const CTL_CONTEXT ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertDeleteCertificateFromStore ( pcertcontext : *const CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertDuplicateCRLContext ( pcrlcontext : *const CRL_CONTEXT ) -> *mut CRL_CONTEXT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertDuplicateCTLContext ( pctlcontext : *const CTL_CONTEXT ) -> *mut CTL_CONTEXT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertDuplicateCertificateChain ( pchaincontext : *const CERT_CHAIN_CONTEXT ) -> *mut CERT_CHAIN_CONTEXT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertDuplicateCertificateContext ( pcertcontext : *const CERT_CONTEXT ) -> *mut CERT_CONTEXT ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertDuplicateStore ( hcertstore : HCERTSTORE ) -> HCERTSTORE ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertEnumCRLContextProperties ( pcrlcontext : *const CRL_CONTEXT , dwpropid : u32 ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertEnumCRLsInStore ( hcertstore : HCERTSTORE , pprevcrlcontext : *const CRL_CONTEXT ) -> *mut CRL_CONTEXT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertEnumCTLContextProperties ( pctlcontext : *const CTL_CONTEXT , dwpropid : u32 ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertEnumCTLsInStore ( hcertstore : HCERTSTORE , pprevctlcontext : *const CTL_CONTEXT ) -> *mut CTL_CONTEXT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertEnumCertificateContextProperties ( pcertcontext : *const CERT_CONTEXT , dwpropid : u32 ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertEnumCertificatesInStore ( hcertstore : HCERTSTORE , pprevcertcontext : *const CERT_CONTEXT ) -> *mut CERT_CONTEXT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertEnumSystemStoreLocation ( dwflags : u32 , pvarg : *mut ::core::ffi::c_void , pfnenum : PFN_CERT_ENUM_SYSTEM_STORE_LOCATION ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertFindAttribute ( pszobjid : :: windows_sys::core::PCSTR , cattr : u32 , rgattr : *const CRYPT_ATTRIBUTE ) -> *mut CRYPT_ATTRIBUTE ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertFindCertificateInCRL ( pcert : *const CERT_CONTEXT , pcrlcontext : *const CRL_CONTEXT , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void , ppcrlentry : *mut *mut CRL_ENTRY ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertFindExtension ( pszobjid : :: windows_sys::core::PCSTR , cextensions : u32 , rgextensions : *const CERT_EXTENSION ) -> *mut CERT_EXTENSION ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertFindRDNAttr ( pszobjid : :: windows_sys::core::PCSTR , pname : *const CERT_NAME_INFO ) -> *mut CERT_RDN_ATTR ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertFindSubjectInSortedCTL ( psubjectidentifier : *const CRYPT_INTEGER_BLOB , pctlcontext : *const CTL_CONTEXT , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void , pencodedattributes : *mut CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertFreeCRLContext ( pcrlcontext : *const CRL_CONTEXT ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertFreeCTLContext ( pctlcontext : *const CTL_CONTEXT ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertFreeCertificateChain ( pchaincontext : *const CERT_CHAIN_CONTEXT ) -> ( ) ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertFreeCertificateChainEngine ( hchainengine : HCERTCHAINENGINE ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertFreeCertificateChainList ( prgpselection : *const *const CERT_CHAIN_CONTEXT ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertFreeCertificateContext ( pcertcontext : *const CERT_CONTEXT ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertFreeServerOcspResponseContext ( pserverocspresponsecontext : *const CERT_SERVER_OCSP_RESPONSE_CONTEXT ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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 : *mut ::core::ffi::c_void , ppchaincontext : *mut *mut CERT_CHAIN_CONTEXT ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertGetPublicKeyLength ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , ppublickey : *const CERT_PUBLIC_KEY_INFO ) -> u32 ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertGetServerOcspResponseContext ( hserverocspresponse : *const ::core::ffi::c_void , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void ) -> *mut CERT_SERVER_OCSP_RESPONSE_CONTEXT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertGetSubjectCertificateFromStore ( hcertstore : HCERTSTORE , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pcertid : *const CERT_INFO ) -> *mut CERT_CONTEXT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertIsValidCRLForCertificate ( pcert : *const CERT_CONTEXT , pcrl : *const CRL_CONTEXT , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertOIDToAlgId ( pszobjid : :: windows_sys::core::PCSTR ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertOpenSystemStoreA ( hprov : HCRYPTPROV_LEGACY , szsubsystemprotocol : :: windows_sys::core::PCSTR ) -> HCERTSTORE ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertOpenSystemStoreW ( hprov : HCRYPTPROV_LEGACY , szsubsystemprotocol : :: windows_sys::core::PCWSTR ) -> HCERTSTORE ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertRDNValueToStrA ( dwvaluetype : u32 , pvalue : *const CRYPT_INTEGER_BLOB , psz : :: windows_sys::core::PSTR , csz : u32 ) -> u32 ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertRDNValueToStrW ( dwvaluetype : u32 , pvalue : *const CRYPT_INTEGER_BLOB , psz : :: windows_sys::core::PWSTR , csz : u32 ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertRegisterPhysicalStore ( pvsystemstore : *const ::core::ffi::c_void , dwflags : u32 , pwszstorename : :: windows_sys::core::PCWSTR , pstoreinfo : *const CERT_PHYSICAL_STORE_INFO , pvreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertRegisterSystemStore ( pvsystemstore : *const ::core::ffi::c_void , dwflags : u32 , pstoreinfo : *const CERT_SYSTEM_STORE_INFO , pvreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertRemoveEnhancedKeyUsageIdentifier ( pcertcontext : *const CERT_CONTEXT , pszusageidentifier : :: windows_sys::core::PCSTR ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CertRemoveStoreFromCollection ( hcollectionstore : HCERTSTORE , hsiblingstore : HCERTSTORE ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertResyncCertificateChainEngine ( hchainengine : HCERTCHAINENGINE ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertRetrieveLogoOrBiometricInfo ( pcertcontext : *const CERT_CONTEXT , lpszlogoorbiometrictype : :: windows_sys::core::PCSTR , dwretrievalflags : u32 , dwtimeout : u32 , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void , ppbdata : *mut *mut u8 , pcbdata : *mut u32 , ppwszmimetype : *mut :: windows_sys::core::PWSTR ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertSetCertificateContextPropertiesFromCTLEntry ( pcertcontext : *const CERT_CONTEXT , pctlentry : *const CTL_ENTRY , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertSetEnhancedKeyUsage ( pcertcontext : *const CERT_CONTEXT , pusage : *const CTL_USAGE ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertStrToNameA ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pszx500 : :: windows_sys::core::PCSTR , dwstrtype : CERT_STRING_TYPE , pvreserved : *mut ::core::ffi::c_void , pbencoded : *mut u8 , pcbencoded : *mut u32 , ppszerror : *mut :: windows_sys::core::PSTR ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertStrToNameW ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pszx500 : :: windows_sys::core::PCWSTR , dwstrtype : CERT_STRING_TYPE , pvreserved : *mut ::core::ffi::c_void , pbencoded : *mut u8 , pcbencoded : *mut u32 , ppszerror : *mut :: windows_sys::core::PWSTR ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertUnregisterSystemStore ( pvsystemstore : *const ::core::ffi::c_void , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertVerifyCRLTimeValidity ( ptimetoverify : *const super::super::Foundation:: FILETIME , pcrlinfo : *const CRL_INFO ) -> i32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertVerifySubjectCertificateContext ( psubject : *const CERT_CONTEXT , pissuer : *const CERT_CONTEXT , pdwflags : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertVerifyTimeValidity ( ptimetoverify : *const super::super::Foundation:: FILETIME , pcertinfo : *const CERT_INFO ) -> i32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CertVerifyValidityNesting ( psubjectinfo : *const CERT_INFO , pissuerinfo : *const CERT_INFO ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CloseCryptoHandle ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptCloseAsyncHandle ( hasync : HCRYPTASYNC ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptContextAddRef ( hprov : usize , pdwreserved : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptCreateAsyncHandle ( dwflags : u32 , phasync : *mut HCRYPTASYNC ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptCreateHash ( hprov : usize , algid : u32 , hkey : usize , dwflags : u32 , phhash : *mut usize ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptCreateKeyIdentifierFromCSP ( dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pszpubkeyoid : :: windows_sys::core::PCSTR , ppubkeystruc : *const PUBLICKEYSTRUC , cbpubkeystruc : u32 , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void , pbhash : *mut u8 , pcbhash : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptDeriveKey ( hprov : usize , algid : u32 , hbasedata : usize , dwflags : u32 , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptDestroyHash ( hhash : usize ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptDestroyKey ( hkey : usize ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptDuplicateHash ( hhash : usize , pdwreserved : *mut u32 , dwflags : u32 , phhash : *mut usize ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptDuplicateKey ( hkey : usize , pdwreserved : *mut u32 , dwflags : u32 , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptEnumKeyIdentifierProperties ( pkeyidentifier : *const CRYPT_INTEGER_BLOB , dwpropid : u32 , dwflags : u32 , pwszcomputername : :: windows_sys::core::PCWSTR , pvreserved : *mut ::core::ffi::c_void , pvarg : *mut ::core::ffi::c_void , pfnenum : PFN_CRYPT_ENUM_KEYID_PROP ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptEnumProviderTypesA ( dwindex : u32 , pdwreserved : *mut u32 , dwflags : u32 , pdwprovtype : *mut u32 , sztypename : :: windows_sys::core::PSTR , pcbtypename : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptEnumProviderTypesW ( dwindex : u32 , pdwreserved : *mut u32 , dwflags : u32 , pdwprovtype : *mut u32 , sztypename : :: windows_sys::core::PWSTR , pcbtypename : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptEnumProvidersA ( dwindex : u32 , pdwreserved : *mut u32 , dwflags : u32 , pdwprovtype : *mut u32 , szprovname : :: windows_sys::core::PSTR , pcbprovname : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptEnumProvidersW ( dwindex : u32 , pdwreserved : *mut u32 , dwflags : u32 , pdwprovtype : *mut u32 , szprovname : :: windows_sys::core::PWSTR , pcbprovname : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptFindCertificateKeyProvInfo ( pcert : *const CERT_CONTEXT , dwflags : CRYPT_FIND_FLAGS , pvreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptFindLocalizedName ( pwszcryptname : :: windows_sys::core::PCWSTR ) -> :: windows_sys::core::PWSTR ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptFindOIDInfo ( dwkeytype : u32 , pvkey : *const ::core::ffi::c_void , dwgroupid : u32 ) -> *mut CRYPT_OID_INFO ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptFreeOIDFunctionAddress ( hfuncaddr : *const ::core::ffi::c_void , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptGenKey ( hprov : usize , algid : u32 , dwflags : CRYPT_KEY_FLAGS , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptGenRandom ( hprov : usize , dwlen : u32 , pbbuffer : *mut u8 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptGetDefaultProviderA ( dwprovtype : u32 , pdwreserved : *mut u32 , dwflags : u32 , pszprovname : :: windows_sys::core::PSTR , pcbprovname : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptGetDefaultProviderW ( dwprovtype : u32 , pdwreserved : *mut u32 , dwflags : u32 , pszprovname : :: windows_sys::core::PWSTR , pcbprovname : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptGetKeyIdentifierProperty ( pkeyidentifier : *const CRYPT_INTEGER_BLOB , dwpropid : u32 , dwflags : u32 , pwszcomputername : :: windows_sys::core::PCWSTR , pvreserved : *mut ::core::ffi::c_void , pvdata : *mut ::core::ffi::c_void , pcbdata : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptGetKeyParam ( hkey : usize , dwparam : CRYPT_KEY_PARAM_ID , pbdata : *mut u8 , pdwdatalen : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptGetMessageCertificates ( dwmsgandcertencodingtype : u32 , hcryptprov : HCRYPTPROV_LEGACY , dwflags : u32 , pbsignedblob : *const u8 , cbsignedblob : u32 ) -> HCERTSTORE ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptGetMessageSignerCount ( dwmsgencodingtype : u32 , pbsignedblob : *const u8 , cbsignedblob : u32 ) -> i32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "cryptnet.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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 : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptGetUserKey ( hprov : usize , dwkeyspec : u32 , phuserkey : *mut usize ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptHashCertificate ( hcryptprov : HCRYPTPROV_LEGACY , algid : u32 , dwflags : u32 , pbencoded : *const u8 , cbencoded : u32 , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptHashCertificate2 ( pwszcnghashalgid : :: windows_sys::core::PCWSTR , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void , pbencoded : *const u8 , cbencoded : u32 , pbcomputedhash : *mut u8 , pcbcomputedhash : *mut u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptHashData ( hhash : usize , pbdata : *const u8 , dwdatalen : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptHashPublicKeyInfo ( hcryptprov : HCRYPTPROV_LEGACY , algid : u32 , 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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptHashSessionKey ( hhash : usize , hkey : usize , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptImportPublicKeyInfoEx ( hcryptprov : usize , dwcertencodingtype : CERT_QUERY_ENCODING_TYPE , pinfo : *const CERT_PUBLIC_KEY_INFO , aikeyalg : u32 , dwflags : u32 , pvauxinfo : *const ::core::ffi::c_void , phkey : *mut usize ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptInitOIDFunctionSet ( pszfuncname : :: windows_sys::core::PCSTR , dwflags : u32 ) -> *mut ::core::ffi::c_void ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "cryptnet.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptInstallCancelRetrieval ( pfncancel : PFN_CRYPT_CANCEL_RETRIEVAL , pvarg : *const ::core::ffi::c_void , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptInstallDefaultContext ( hcryptprov : usize , dwdefaulttype : CRYPT_DEFAULT_CONTEXT_TYPE , pvdefaultpara : *const ::core::ffi::c_void , dwflags : CRYPT_DEFAULT_CONTEXT_FLAGS , pvreserved : *mut ::core::ffi::c_void , phdefaultcontext : *mut *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptInstallOIDFunctionAddress ( hmodule : super::super::Foundation:: HINSTANCE , dwencodingtype : u32 , pszfuncname : :: windows_sys::core::PCSTR , cfuncentry : u32 , rgfuncentry : *const CRYPT_OID_FUNC_ENTRY , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptMemAlloc ( cbsize : u32 ) -> *mut ::core::ffi::c_void ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptMemFree ( pv : *const ::core::ffi::c_void ) -> ( ) ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptMemRealloc ( pv : *const ::core::ffi::c_void , cbsize : u32 ) -> *mut ::core::ffi::c_void ); +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptMsgClose ( hcryptmsg : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptMsgDuplicate ( hcryptmsg : *const ::core::ffi::c_void ) -> *mut ::core::ffi::c_void ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptMsgOpenToDecode ( dwmsgencodingtype : u32 , dwflags : u32 , dwmsgtype : u32 , hcryptprov : HCRYPTPROV_LEGACY , precipientinfo : *mut CERT_INFO , pstreaminfo : *const CMSG_STREAM_INFO ) -> *mut ::core::ffi::c_void ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptProtectData ( pdatain : *const CRYPT_INTEGER_BLOB , szdatadescr : :: windows_sys::core::PCWSTR , poptionalentropy : *const CRYPT_INTEGER_BLOB , pvreserved : *mut ::core::ffi::c_void , ppromptstruct : *const CRYPTPROTECT_PROMPTSTRUCT , dwflags : u32 , pdataout : *mut CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptProtectMemory ( pdatain : *mut ::core::ffi::c_void , cbdatain : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptRegisterOIDInfo ( pinfo : *const CRYPT_OID_INFO , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptReleaseContext ( hprov : usize , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "cryptnet.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "cryptnet.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptSetKeyIdentifierProperty ( pkeyidentifier : *const CRYPT_INTEGER_BLOB , dwpropid : u32 , dwflags : u32 , pwszcomputername : :: windows_sys::core::PCWSTR , pvreserved : *mut ::core::ffi::c_void , pvdata : *const ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptSetProviderA ( pszprovname : :: windows_sys::core::PCSTR , dwprovtype : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptSetProviderExA ( pszprovname : :: windows_sys::core::PCSTR , dwprovtype : u32 , pdwreserved : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptSetProviderExW ( pszprovname : :: windows_sys::core::PCWSTR , dwprovtype : u32 , pdwreserved : *mut u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptSetProviderW ( pszprovname : :: windows_sys::core::PCWSTR , dwprovtype : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "cryptnet.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptUninstallCancelRetrieval ( dwflags : u32 , pvreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptUninstallDefaultContext ( hdefaultcontext : *const ::core::ffi::c_void , dwflags : u32 , pvreserved : *mut ::core::ffi::c_void ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptUnprotectData ( pdatain : *const CRYPT_INTEGER_BLOB , ppszdatadescr : *mut :: windows_sys::core::PWSTR , poptionalentropy : *const CRYPT_INTEGER_BLOB , pvreserved : *mut ::core::ffi::c_void , ppromptstruct : *const CRYPTPROTECT_PROMPTSTRUCT , dwflags : u32 , pdataout : *mut CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptUnprotectMemory ( pdatain : *mut ::core::ffi::c_void , cbdatain : u32 , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn CryptUnregisterOIDInfo ( pinfo : *const CRYPT_OID_INFO ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptXmlClose ( hcryptxml : *const ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptXmlDigestReference ( hreference : *const ::core::ffi::c_void , dwflags : u32 , pdataproviderin : *const CRYPT_XML_DATA_PROVIDER ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptXmlFindAlgorithmInfo ( dwfindbytype : u32 , pvfindby : *const ::core::ffi::c_void , dwgroupid : u32 , dwflags : u32 ) -> *mut CRYPT_XML_ALGORITHM_INFO ); +::windows_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptXmlGetAlgorithmInfo ( pxmlalgorithm : *const CRYPT_XML_ALGORITHM , dwflags : CRYPT_XML_FLAGS , ppalginfo : *mut *mut CRYPT_XML_ALGORITHM_INFO ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptXmlGetDocContext ( hcryptxml : *const ::core::ffi::c_void , ppstruct : *mut *mut CRYPT_XML_DOC_CTXT ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptXmlGetReference ( hcryptxml : *const ::core::ffi::c_void , ppstruct : *mut *mut CRYPT_XML_REFERENCE ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptXmlGetSignature ( hcryptxml : *const ::core::ffi::c_void , ppstruct : *mut *mut CRYPT_XML_SIGNATURE ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptXmlGetStatus ( hcryptxml : *const ::core::ffi::c_void , pstatus : *mut CRYPT_XML_STATUS ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptXmlGetTransforms ( ppconfig : *mut *mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptXmlImportPublicKey ( dwflags : CRYPT_XML_FLAGS , pkeyvalue : *const CRYPT_XML_KEY_VALUE , phkey : *mut BCRYPT_KEY_HANDLE ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn CryptXmlSetHMACSecret ( hsignature : *const ::core::ffi::c_void , pbsecret : *const u8 , cbsecret : u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "cryptxml.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn FreeToken ( pallocmemory : *const GENERIC_XML_TOKEN ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn GetBrowserToken ( dwparamtype : u32 , pparam : *const ::core::ffi::c_void , pcbtoken : *mut u32 , pptoken : *mut *mut u8 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn GetKeyedHash ( hsymmetriccrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , pphhash : *mut *mut INFORMATIONCARD_CRYPTO_HANDLE ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn HashCore ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cbindata : u32 , pindata : *const u8 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn HashFinal ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cbindata : u32 , pindata : *const u8 , pcboutdata : *mut u32 , ppoutdata : *mut *mut u8 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn ImportInformationCard ( filename : :: windows_sys::core::PCWSTR ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn ManageCardSpace ( ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn NCryptCloseProtectionDescriptor ( hdescriptor : super:: NCRYPT_DESCRIPTOR_HANDLE ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn NCryptCreateProtectionDescriptor ( pwszdescriptorstring : :: windows_sys::core::PCWSTR , dwflags : u32 , phdescriptor : *mut super:: NCRYPT_DESCRIPTOR_HANDLE ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn NCryptDeleteKey ( hkey : NCRYPT_KEY_HANDLE , dwflags : u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn NCryptEnumAlgorithms ( hprovider : NCRYPT_PROV_HANDLE , dwalgoperations : NCRYPT_OPERATION , pdwalgcount : *mut u32 , ppalglist : *mut *mut NCryptAlgorithmName , dwflags : u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn NCryptEnumStorageProviders ( pdwprovidercount : *mut u32 , ppproviderlist : *mut *mut NCryptProviderName , dwflags : u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn NCryptFinalizeKey ( hkey : NCRYPT_KEY_HANDLE , dwflags : NCRYPT_FLAGS ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn NCryptFreeBuffer ( pvinput : *mut ::core::ffi::c_void ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn NCryptFreeObject ( hobject : NCRYPT_HANDLE ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn NCryptIsAlgSupported ( hprovider : NCRYPT_PROV_HANDLE , pszalgid : :: windows_sys::core::PCWSTR , dwflags : u32 ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn NCryptIsKeyHandle ( hkey : NCRYPT_KEY_HANDLE ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn NCryptNotifyChangeKey ( hprovider : NCRYPT_PROV_HANDLE , phevent : *mut super::super::Foundation:: HANDLE , dwflags : NCRYPT_FLAGS ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn NCryptOpenStorageProvider ( phprovider : *mut NCRYPT_PROV_HANDLE , pszprovidername : :: windows_sys::core::PCWSTR , dwflags : u32 ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn NCryptQueryProtectionDescriptorName ( pwszname : :: windows_sys::core::PCWSTR , pwszdescriptorstring : :: windows_sys::core::PWSTR , pcdescriptorstring : *mut usize , dwflags : u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn NCryptRegisterProtectionDescriptorName ( pwszname : :: windows_sys::core::PCWSTR , pwszdescriptorstring : :: windows_sys::core::PCWSTR , dwflags : u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn NCryptSecretAgreement ( hprivkey : NCRYPT_KEY_HANDLE , hpubkey : NCRYPT_KEY_HANDLE , phagreedsecret : *mut NCRYPT_SECRET_HANDLE , dwflags : NCRYPT_FLAGS ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn NCryptSetProperty ( hobject : NCRYPT_HANDLE , pszproperty : :: windows_sys::core::PCWSTR , pbinput : *const u8 , cbinput : u32 , dwflags : NCRYPT_FLAGS ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn NCryptStreamClose ( hstream : super:: NCRYPT_STREAM_HANDLE ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn NCryptStreamUpdate ( hstream : super:: NCRYPT_STREAM_HANDLE , pbdata : *const u8 , cbdata : usize , ffinal : super::super::Foundation:: BOOL ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "ncrypt.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn PFXImportCertStore ( ppfx : *const CRYPT_INTEGER_BLOB , szpassword : :: windows_sys::core::PCWSTR , dwflags : CRYPT_KEY_FLAGS ) -> HCERTSTORE ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn PFXIsPFXBlob ( ppfx : *const CRYPT_INTEGER_BLOB ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "crypt32.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] fn PFXVerifyPassword ( ppfx : *const CRYPT_INTEGER_BLOB , szpassword : :: windows_sys::core::PCWSTR , dwflags : u32 ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] fn TransformBlock ( hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE , cbindata : u32 , pindata : *const u8 , pcboutdata : *mut u32 , ppoutdata : *mut *mut u8 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] 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_sys::core::link ! ( "infocardapi.dll""system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"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; @@ -1285,7 +885,7 @@ pub const BASIC_CONSTRAINTS_CERT_CHAIN_POLICY_END_ENTITY_FLAG: u32 = 1073741824u #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPTBUFFER_VERSION: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_3DES_112_ALGORITHM: &str = "3DES_112"; +pub const BCRYPT_3DES_112_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("3DES_112"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_3DES_112_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 369u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1293,7 +893,7 @@ pub const BCRYPT_3DES_112_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 401u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_3DES_112_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 385u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_3DES_ALGORITHM: &str = "3DES"; +pub const BCRYPT_3DES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("3DES"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_3DES_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 321u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1301,7 +901,7 @@ pub const BCRYPT_3DES_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 353u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_3DES_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 337u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_AES_ALGORITHM: &str = "AES"; +pub const BCRYPT_AES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AES"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_AES_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 417u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1309,7 +909,7 @@ pub const BCRYPT_AES_CCM_ALG_HANDLE: BCRYPT_ALG_HANDLE = 465u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_AES_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 449u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_AES_CMAC_ALGORITHM: &str = "AES-CMAC"; +pub const BCRYPT_AES_CMAC_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AES-CMAC"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_AES_CMAC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 257u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1317,13 +917,13 @@ pub const BCRYPT_AES_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 433u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_AES_GCM_ALG_HANDLE: BCRYPT_ALG_HANDLE = 481u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_AES_GMAC_ALGORITHM: &str = "AES-GMAC"; +pub const BCRYPT_AES_GMAC_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AES-GMAC"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_AES_GMAC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 273u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_AES_WRAP_KEY_BLOB: &str = "Rfc3565KeyWrapBlob"; +pub const BCRYPT_AES_WRAP_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Rfc3565KeyWrapBlob"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ALGORITHM_NAME: &str = "AlgorithmName"; +pub const BCRYPT_ALGORITHM_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AlgorithmName"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO_VERSION: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1331,41 +931,41 @@ pub const BCRYPT_AUTH_MODE_CHAIN_CALLS_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_AUTH_MODE_IN_PROGRESS_FLAG: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_AUTH_TAG_LENGTH: &str = "AuthTagLength"; +pub const BCRYPT_AUTH_TAG_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AuthTagLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_BLOCK_LENGTH: &str = "BlockLength"; +pub const BCRYPT_BLOCK_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BlockLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_BLOCK_PADDING: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_BLOCK_SIZE_LIST: &str = "BlockSizeList"; +pub const BCRYPT_BLOCK_SIZE_LIST: ::windows_sys::core::PCWSTR = ::windows_sys::w!("BlockSizeList"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_BUFFERS_LOCKED_FLAG: u32 = 64u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_CAPI_AES_FLAG: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_CAPI_KDF_ALGORITHM: &str = "CAPI_KDF"; +pub const BCRYPT_CAPI_KDF_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAPI_KDF"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_CAPI_KDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 801u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_CHACHA20_POLY1305_ALGORITHM: &str = "CHACHA20_POLY1305"; +pub const BCRYPT_CHACHA20_POLY1305_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CHACHA20_POLY1305"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_CHACHA20_POLY1305_ALG_HANDLE: BCRYPT_ALG_HANDLE = 929u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_CHAINING_MODE: &str = "ChainingMode"; +pub const BCRYPT_CHAINING_MODE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ChainingMode"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_CHAIN_MODE_CBC: &str = "ChainingModeCBC"; +pub const BCRYPT_CHAIN_MODE_CBC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ChainingModeCBC"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_CHAIN_MODE_CCM: &str = "ChainingModeCCM"; +pub const BCRYPT_CHAIN_MODE_CCM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ChainingModeCCM"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_CHAIN_MODE_CFB: &str = "ChainingModeCFB"; +pub const BCRYPT_CHAIN_MODE_CFB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ChainingModeCFB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_CHAIN_MODE_ECB: &str = "ChainingModeECB"; +pub const BCRYPT_CHAIN_MODE_ECB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ChainingModeECB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_CHAIN_MODE_GCM: &str = "ChainingModeGCM"; +pub const BCRYPT_CHAIN_MODE_GCM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ChainingModeGCM"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_CHAIN_MODE_NA: &str = "ChainingModeN/A"; +pub const BCRYPT_CHAIN_MODE_NA: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ChainingModeN/A"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_DESX_ALGORITHM: &str = "DESX"; +pub const BCRYPT_DESX_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DESX"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_DESX_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 545u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1373,7 +973,7 @@ pub const BCRYPT_DESX_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 577u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_DESX_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 561u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_DES_ALGORITHM: &str = "DES"; +pub const BCRYPT_DES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DES"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_DES_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 497u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1381,157 +981,157 @@ pub const BCRYPT_DES_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 529u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_DES_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 513u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_DH_ALGORITHM: &str = "DH"; +pub const BCRYPT_DH_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DH"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_DH_ALG_HANDLE: BCRYPT_ALG_HANDLE = 641u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_DH_PARAMETERS: &str = "DHParameters"; +pub const BCRYPT_DH_PARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DHParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_DH_PARAMETERS_MAGIC: u32 = 1297107012u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_DH_PRIVATE_BLOB: &str = "DHPRIVATEBLOB"; +pub const BCRYPT_DH_PRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DHPRIVATEBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_DH_PUBLIC_BLOB: &str = "DHPUBLICBLOB"; +pub const BCRYPT_DH_PUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DHPUBLICBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_DSA_ALGORITHM: &str = "DSA"; +pub const BCRYPT_DSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DSA"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_DSA_ALG_HANDLE: BCRYPT_ALG_HANDLE = 721u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_DSA_PARAMETERS: &str = "DSAParameters"; +pub const BCRYPT_DSA_PARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DSAParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_DSA_PARAMETERS_MAGIC: u32 = 1297109828u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_DSA_PARAMETERS_MAGIC_V2: u32 = 843927620u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_DSA_PRIVATE_BLOB: &str = "DSAPRIVATEBLOB"; +pub const BCRYPT_DSA_PRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DSAPRIVATEBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_DSA_PRIVATE_MAGIC_V2: u32 = 844517444u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_DSA_PUBLIC_BLOB: &str = "DSAPUBLICBLOB"; +pub const BCRYPT_DSA_PUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DSAPUBLICBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_DSA_PUBLIC_MAGIC_V2: u32 = 843206724u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECCFULLPRIVATE_BLOB: &str = "ECCFULLPRIVATEBLOB"; +pub const BCRYPT_ECCFULLPRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECCFULLPRIVATEBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECCFULLPUBLIC_BLOB: &str = "ECCFULLPUBLICBLOB"; +pub const BCRYPT_ECCFULLPUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECCFULLPUBLICBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECCPRIVATE_BLOB: &str = "ECCPRIVATEBLOB"; +pub const BCRYPT_ECCPRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECCPRIVATEBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECCPUBLIC_BLOB: &str = "ECCPUBLICBLOB"; +pub const BCRYPT_ECCPUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECCPUBLICBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_25519: &str = "curve25519"; +pub const BCRYPT_ECC_CURVE_25519: ::windows_sys::core::PCWSTR = ::windows_sys::w!("curve25519"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_BRAINPOOLP160R1: &str = "brainpoolP160r1"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP160R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("brainpoolP160r1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_BRAINPOOLP160T1: &str = "brainpoolP160t1"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP160T1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("brainpoolP160t1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_BRAINPOOLP192R1: &str = "brainpoolP192r1"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP192R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("brainpoolP192r1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_BRAINPOOLP192T1: &str = "brainpoolP192t1"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP192T1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("brainpoolP192t1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_BRAINPOOLP224R1: &str = "brainpoolP224r1"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP224R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("brainpoolP224r1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_BRAINPOOLP224T1: &str = "brainpoolP224t1"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP224T1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("brainpoolP224t1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_BRAINPOOLP256R1: &str = "brainpoolP256r1"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP256R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("brainpoolP256r1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_BRAINPOOLP256T1: &str = "brainpoolP256t1"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP256T1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("brainpoolP256t1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_BRAINPOOLP320R1: &str = "brainpoolP320r1"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP320R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("brainpoolP320r1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_BRAINPOOLP320T1: &str = "brainpoolP320t1"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP320T1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("brainpoolP320t1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_BRAINPOOLP384R1: &str = "brainpoolP384r1"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP384R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("brainpoolP384r1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_BRAINPOOLP384T1: &str = "brainpoolP384t1"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP384T1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("brainpoolP384t1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_BRAINPOOLP512R1: &str = "brainpoolP512r1"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP512R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("brainpoolP512r1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_BRAINPOOLP512T1: &str = "brainpoolP512t1"; +pub const BCRYPT_ECC_CURVE_BRAINPOOLP512T1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("brainpoolP512t1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_EC192WAPI: &str = "ec192wapi"; +pub const BCRYPT_ECC_CURVE_EC192WAPI: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ec192wapi"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_NAME: &str = "ECCCurveName"; +pub const BCRYPT_ECC_CURVE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECCCurveName"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_NAME_LIST: &str = "ECCCurveNameList"; +pub const BCRYPT_ECC_CURVE_NAME_LIST: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECCCurveNameList"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_NISTP192: &str = "nistP192"; +pub const BCRYPT_ECC_CURVE_NISTP192: ::windows_sys::core::PCWSTR = ::windows_sys::w!("nistP192"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_NISTP224: &str = "nistP224"; +pub const BCRYPT_ECC_CURVE_NISTP224: ::windows_sys::core::PCWSTR = ::windows_sys::w!("nistP224"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_NISTP256: &str = "nistP256"; +pub const BCRYPT_ECC_CURVE_NISTP256: ::windows_sys::core::PCWSTR = ::windows_sys::w!("nistP256"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_NISTP384: &str = "nistP384"; +pub const BCRYPT_ECC_CURVE_NISTP384: ::windows_sys::core::PCWSTR = ::windows_sys::w!("nistP384"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_NISTP521: &str = "nistP521"; +pub const BCRYPT_ECC_CURVE_NISTP521: ::windows_sys::core::PCWSTR = ::windows_sys::w!("nistP521"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_NUMSP256T1: &str = "numsP256t1"; +pub const BCRYPT_ECC_CURVE_NUMSP256T1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("numsP256t1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_NUMSP384T1: &str = "numsP384t1"; +pub const BCRYPT_ECC_CURVE_NUMSP384T1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("numsP384t1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_NUMSP512T1: &str = "numsP512t1"; +pub const BCRYPT_ECC_CURVE_NUMSP512T1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("numsP512t1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_SECP160K1: &str = "secP160k1"; +pub const BCRYPT_ECC_CURVE_SECP160K1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("secP160k1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_SECP160R1: &str = "secP160r1"; +pub const BCRYPT_ECC_CURVE_SECP160R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("secP160r1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_SECP160R2: &str = "secP160r2"; +pub const BCRYPT_ECC_CURVE_SECP160R2: ::windows_sys::core::PCWSTR = ::windows_sys::w!("secP160r2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_SECP192K1: &str = "secP192k1"; +pub const BCRYPT_ECC_CURVE_SECP192K1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("secP192k1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_SECP192R1: &str = "secP192r1"; +pub const BCRYPT_ECC_CURVE_SECP192R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("secP192r1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_SECP224K1: &str = "secP224k1"; +pub const BCRYPT_ECC_CURVE_SECP224K1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("secP224k1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_SECP224R1: &str = "secP224r1"; +pub const BCRYPT_ECC_CURVE_SECP224R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("secP224r1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_SECP256K1: &str = "secP256k1"; +pub const BCRYPT_ECC_CURVE_SECP256K1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("secP256k1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_SECP256R1: &str = "secP256r1"; +pub const BCRYPT_ECC_CURVE_SECP256R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("secP256r1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_SECP384R1: &str = "secP384r1"; +pub const BCRYPT_ECC_CURVE_SECP384R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("secP384r1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_SECP521R1: &str = "secP521r1"; +pub const BCRYPT_ECC_CURVE_SECP521R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("secP521r1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_WTLS12: &str = "wtls12"; +pub const BCRYPT_ECC_CURVE_WTLS12: ::windows_sys::core::PCWSTR = ::windows_sys::w!("wtls12"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_WTLS7: &str = "wtls7"; +pub const BCRYPT_ECC_CURVE_WTLS7: ::windows_sys::core::PCWSTR = ::windows_sys::w!("wtls7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_WTLS9: &str = "wtls9"; +pub const BCRYPT_ECC_CURVE_WTLS9: ::windows_sys::core::PCWSTR = ::windows_sys::w!("wtls9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_X962P192V1: &str = "x962P192v1"; +pub const BCRYPT_ECC_CURVE_X962P192V1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("x962P192v1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_X962P192V2: &str = "x962P192v2"; +pub const BCRYPT_ECC_CURVE_X962P192V2: ::windows_sys::core::PCWSTR = ::windows_sys::w!("x962P192v2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_X962P192V3: &str = "x962P192v3"; +pub const BCRYPT_ECC_CURVE_X962P192V3: ::windows_sys::core::PCWSTR = ::windows_sys::w!("x962P192v3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_X962P239V1: &str = "x962P239v1"; +pub const BCRYPT_ECC_CURVE_X962P239V1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("x962P239v1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_X962P239V2: &str = "x962P239v2"; +pub const BCRYPT_ECC_CURVE_X962P239V2: ::windows_sys::core::PCWSTR = ::windows_sys::w!("x962P239v2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_X962P239V3: &str = "x962P239v3"; +pub const BCRYPT_ECC_CURVE_X962P239V3: ::windows_sys::core::PCWSTR = ::windows_sys::w!("x962P239v3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_CURVE_X962P256V1: &str = "x962P256v1"; +pub const BCRYPT_ECC_CURVE_X962P256V1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("x962P256v1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_ECC_FULLKEY_BLOB_V1: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECC_PARAMETERS: &str = "ECCParameters"; +pub const BCRYPT_ECC_PARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECCParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_ECC_PARAMETERS_MAGIC: u32 = 1346585413u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECDH_ALGORITHM: &str = "ECDH"; +pub const BCRYPT_ECDH_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDH"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_ECDH_ALG_HANDLE: BCRYPT_ALG_HANDLE = 657u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECDH_P256_ALGORITHM: &str = "ECDH_P256"; +pub const BCRYPT_ECDH_P256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDH_P256"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_ECDH_P256_ALG_HANDLE: BCRYPT_ALG_HANDLE = 673u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECDH_P384_ALGORITHM: &str = "ECDH_P384"; +pub const BCRYPT_ECDH_P384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDH_P384"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_ECDH_P384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 689u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECDH_P521_ALGORITHM: &str = "ECDH_P521"; +pub const BCRYPT_ECDH_P521_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDH_P521"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_ECDH_P521_ALG_HANDLE: BCRYPT_ALG_HANDLE = 705u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1551,19 +1151,19 @@ pub const BCRYPT_ECDH_PUBLIC_P384_MAGIC: u32 = 860570437u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_ECDH_PUBLIC_P521_MAGIC: u32 = 894124869u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECDSA_ALGORITHM: &str = "ECDSA"; +pub const BCRYPT_ECDSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDSA"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_ECDSA_ALG_HANDLE: BCRYPT_ALG_HANDLE = 241u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECDSA_P256_ALGORITHM: &str = "ECDSA_P256"; +pub const BCRYPT_ECDSA_P256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDSA_P256"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_ECDSA_P256_ALG_HANDLE: BCRYPT_ALG_HANDLE = 737u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECDSA_P384_ALGORITHM: &str = "ECDSA_P384"; +pub const BCRYPT_ECDSA_P384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDSA_P384"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_ECDSA_P384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 753u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_ECDSA_P521_ALGORITHM: &str = "ECDSA_P521"; +pub const BCRYPT_ECDSA_P521_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDSA_P521"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_ECDSA_P521_ALG_HANDLE: BCRYPT_ALG_HANDLE = 769u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1583,7 +1183,7 @@ pub const BCRYPT_ECDSA_PUBLIC_P384_MAGIC: u32 = 861094725u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_ECDSA_PUBLIC_P521_MAGIC: u32 = 894649157u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_EFFECTIVE_KEY_LENGTH: &str = "EffectiveKeyLength"; +pub const BCRYPT_EFFECTIVE_KEY_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EffectiveKeyLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_ENABLE_INCOMPATIBLE_FIPS_CHECKS: u32 = 256u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1591,25 +1191,25 @@ pub const BCRYPT_EXTENDED_KEYSIZE: u32 = 128u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_GENERATE_IV: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_GLOBAL_PARAMETERS: &str = "SecretAgreementParam"; +pub const BCRYPT_GLOBAL_PARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SecretAgreementParam"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_HASH_BLOCK_LENGTH: &str = "HashBlockLength"; +pub const BCRYPT_HASH_BLOCK_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HashBlockLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_HASH_INTERFACE_MAJORVERSION_2: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_HASH_LENGTH: &str = "HashDigestLength"; +pub const BCRYPT_HASH_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HashDigestLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_HASH_OID_LIST: &str = "HashOIDList"; +pub const BCRYPT_HASH_OID_LIST: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HashOIDList"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_HKDF_ALGORITHM: &str = "HKDF"; +pub const BCRYPT_HKDF_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HKDF"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_HKDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 913u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_HKDF_HASH_ALGORITHM: &str = "HkdfHashAlgorithm"; +pub const BCRYPT_HKDF_HASH_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HkdfHashAlgorithm"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_HKDF_PRK_AND_FINALIZE: &str = "HkdfPrkAndFinalize"; +pub const BCRYPT_HKDF_PRK_AND_FINALIZE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HkdfPrkAndFinalize"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_HKDF_SALT_AND_FINALIZE: &str = "HkdfSaltAndFinalize"; +pub const BCRYPT_HKDF_SALT_AND_FINALIZE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HkdfSaltAndFinalize"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_HMAC_MD2_ALG_HANDLE: BCRYPT_ALG_HANDLE = 289u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1625,27 +1225,27 @@ pub const BCRYPT_HMAC_SHA384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 193u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_HMAC_SHA512_ALG_HANDLE: BCRYPT_ALG_HANDLE = 209u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_INITIALIZATION_VECTOR: &str = "IV"; +pub const BCRYPT_INITIALIZATION_VECTOR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IV"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_IS_IFX_TPM_WEAK_KEY: &str = "IsIfxTpmWeakKey"; +pub const BCRYPT_IS_IFX_TPM_WEAK_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IsIfxTpmWeakKey"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_IS_KEYED_HASH: &str = "IsKeyedHash"; +pub const BCRYPT_IS_KEYED_HASH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IsKeyedHash"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_IS_REUSABLE_HASH: &str = "IsReusableHash"; +pub const BCRYPT_IS_REUSABLE_HASH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IsReusableHash"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_KDF_HASH: &str = "HASH"; +pub const BCRYPT_KDF_HASH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HASH"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_KDF_HKDF: &str = "HKDF"; +pub const BCRYPT_KDF_HKDF: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HKDF"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_KDF_HMAC: &str = "HMAC"; +pub const BCRYPT_KDF_HMAC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HMAC"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_KDF_RAW_SECRET: &str = "TRUNCATE"; +pub const BCRYPT_KDF_RAW_SECRET: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TRUNCATE"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_KDF_SP80056A_CONCAT: &str = "SP800_56A_CONCAT"; +pub const BCRYPT_KDF_SP80056A_CONCAT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SP800_56A_CONCAT"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_KDF_TLS_PRF: &str = "TLS_PRF"; +pub const BCRYPT_KDF_TLS_PRF: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TLS_PRF"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_KEY_DATA_BLOB: &str = "KeyDataBlob"; +pub const BCRYPT_KEY_DATA_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyDataBlob"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_KEY_DATA_BLOB_MAGIC: u32 = 1296188491u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1655,13 +1255,13 @@ pub const BCRYPT_KEY_DERIVATION_INTERFACE: u32 = 7u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_KEY_DERIVATION_OPERATION: u32 = 64u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_KEY_LENGTH: &str = "KeyLength"; +pub const BCRYPT_KEY_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_KEY_LENGTHS: &str = "KeyLengths"; +pub const BCRYPT_KEY_LENGTHS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyLengths"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_KEY_OBJECT_LENGTH: &str = "KeyObjectLength"; +pub const BCRYPT_KEY_OBJECT_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyObjectLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_KEY_STRENGTH: &str = "KeyStrength"; +pub const BCRYPT_KEY_STRENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KeyStrength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_KEY_VALIDATION_RANGE: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1669,61 +1269,61 @@ pub const BCRYPT_KEY_VALIDATION_RANGE_AND_ORDER: u32 = 24u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_KEY_VALIDATION_REGENERATE: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_MD2_ALGORITHM: &str = "MD2"; +pub const BCRYPT_MD2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MD2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_MD2_ALG_HANDLE: BCRYPT_ALG_HANDLE = 1u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_MD4_ALGORITHM: &str = "MD4"; +pub const BCRYPT_MD4_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MD4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_MD4_ALG_HANDLE: BCRYPT_ALG_HANDLE = 17u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_MD5_ALGORITHM: &str = "MD5"; +pub const BCRYPT_MD5_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MD5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_MD5_ALG_HANDLE: BCRYPT_ALG_HANDLE = 33u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_MESSAGE_BLOCK_LENGTH: &str = "MessageBlockLength"; +pub const BCRYPT_MESSAGE_BLOCK_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MessageBlockLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_MULTI_FLAG: u32 = 64u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_MULTI_OBJECT_LENGTH: &str = "MultiObjectLength"; +pub const BCRYPT_MULTI_OBJECT_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MultiObjectLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_NO_KEY_VALIDATION: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_OBJECT_ALIGNMENT: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_OBJECT_LENGTH: &str = "ObjectLength"; +pub const BCRYPT_OBJECT_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ObjectLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_OPAQUE_KEY_BLOB: &str = "OpaqueKeyBlob"; +pub const BCRYPT_OPAQUE_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OpaqueKeyBlob"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_PADDING_SCHEMES: &str = "PaddingSchemes"; +pub const BCRYPT_PADDING_SCHEMES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PaddingSchemes"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_PAD_PKCS1_OPTIONAL_HASH_OID: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_PBKDF2_ALGORITHM: &str = "PBKDF2"; +pub const BCRYPT_PBKDF2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PBKDF2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_PBKDF2_ALG_HANDLE: BCRYPT_ALG_HANDLE = 817u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_PCP_PLATFORM_TYPE_PROPERTY: &str = "PCP_PLATFORM_TYPE"; +pub const BCRYPT_PCP_PLATFORM_TYPE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_PLATFORM_TYPE"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_PCP_PROVIDER_VERSION_PROPERTY: &str = "PCP_PROVIDER_VERSION"; +pub const BCRYPT_PCP_PROVIDER_VERSION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_PROVIDER_VERSION"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_PRIMITIVE_TYPE: &str = "PrimitiveType"; +pub const BCRYPT_PRIMITIVE_TYPE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PrimitiveType"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_PRIVATE_KEY: &str = "PrivKeyVal"; +pub const BCRYPT_PRIVATE_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PrivKeyVal"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_PRIVATE_KEY_BLOB: &str = "PRIVATEBLOB"; +pub const BCRYPT_PRIVATE_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PRIVATEBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_PRIVATE_KEY_FLAG: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_PROVIDER_HANDLE: &str = "ProviderHandle"; +pub const BCRYPT_PROVIDER_HANDLE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ProviderHandle"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_PUBLIC_KEY_BLOB: &str = "PUBLICBLOB"; +pub const BCRYPT_PUBLIC_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PUBLICBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_PUBLIC_KEY_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_PUBLIC_KEY_LENGTH: &str = "PublicKeyLength"; +pub const BCRYPT_PUBLIC_KEY_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PublicKeyLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_RC2_ALGORITHM: &str = "RC2"; +pub const BCRYPT_RC2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RC2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_RC2_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 593u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1731,57 +1331,57 @@ pub const BCRYPT_RC2_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 625u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_RC2_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 609u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_RC4_ALGORITHM: &str = "RC4"; +pub const BCRYPT_RC4_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RC4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_RC4_ALG_HANDLE: BCRYPT_ALG_HANDLE = 113u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_RNG_ALGORITHM: &str = "RNG"; +pub const BCRYPT_RNG_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RNG"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_RNG_ALG_HANDLE: BCRYPT_ALG_HANDLE = 129u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_RNG_DUAL_EC_ALGORITHM: &str = "DUALECRNG"; +pub const BCRYPT_RNG_DUAL_EC_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DUALECRNG"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_RNG_FIPS186_DSA_ALGORITHM: &str = "FIPS186DSARNG"; +pub const BCRYPT_RNG_FIPS186_DSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FIPS186DSARNG"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_RNG_USE_ENTROPY_IN_BUFFER: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_RSAFULLPRIVATE_BLOB: &str = "RSAFULLPRIVATEBLOB"; +pub const BCRYPT_RSAFULLPRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RSAFULLPRIVATEBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_RSAPRIVATE_BLOB: &str = "RSAPRIVATEBLOB"; +pub const BCRYPT_RSAPRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RSAPRIVATEBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_RSAPUBLIC_BLOB: &str = "RSAPUBLICBLOB"; +pub const BCRYPT_RSAPUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RSAPUBLICBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_RSA_ALGORITHM: &str = "RSA"; +pub const BCRYPT_RSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RSA"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_RSA_ALG_HANDLE: BCRYPT_ALG_HANDLE = 225u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_RSA_SIGN_ALGORITHM: &str = "RSA_SIGN"; +pub const BCRYPT_RSA_SIGN_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RSA_SIGN"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_RSA_SIGN_ALG_HANDLE: BCRYPT_ALG_HANDLE = 785u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_SHA1_ALGORITHM: &str = "SHA1"; +pub const BCRYPT_SHA1_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SHA1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_SHA1_ALG_HANDLE: BCRYPT_ALG_HANDLE = 49u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_SHA256_ALGORITHM: &str = "SHA256"; +pub const BCRYPT_SHA256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SHA256"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_SHA256_ALG_HANDLE: BCRYPT_ALG_HANDLE = 65u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_SHA384_ALGORITHM: &str = "SHA384"; +pub const BCRYPT_SHA384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SHA384"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_SHA384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 81u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_SHA512_ALGORITHM: &str = "SHA512"; +pub const BCRYPT_SHA512_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SHA512"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_SHA512_ALG_HANDLE: BCRYPT_ALG_HANDLE = 97u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_SIGNATURE_LENGTH: &str = "SignatureLength"; +pub const BCRYPT_SIGNATURE_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SignatureLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_SP800108_CTR_HMAC_ALGORITHM: &str = "SP800_108_CTR_HMAC"; +pub const BCRYPT_SP800108_CTR_HMAC_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SP800_108_CTR_HMAC"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_SP800108_CTR_HMAC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 833u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_SP80056A_CONCAT_ALGORITHM: &str = "SP800_56A_CONCAT"; +pub const BCRYPT_SP80056A_CONCAT_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SP800_56A_CONCAT"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_SP80056A_CONCAT_ALG_HANDLE: BCRYPT_ALG_HANDLE = 849u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1795,11 +1395,11 @@ pub const BCRYPT_SUPPORTED_PAD_PSS: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_SUPPORTED_PAD_ROUTER: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_TLS1_1_KDF_ALGORITHM: &str = "TLS1_1_KDF"; +pub const BCRYPT_TLS1_1_KDF_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TLS1_1_KDF"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_TLS1_1_KDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 865u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_TLS1_2_KDF_ALGORITHM: &str = "TLS1_2_KDF"; +pub const BCRYPT_TLS1_2_KDF_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TLS1_2_KDF"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_TLS1_2_KDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 881u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1807,17 +1407,21 @@ pub const BCRYPT_TLS_CBC_HMAC_VERIFY_FLAG: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_USE_SYSTEM_PREFERRED_RNG: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const BCRYPT_XTS_AES_ALGORITHM: &str = "XTS-AES"; +pub const BCRYPT_XTS_AES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("XTS-AES"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const BCRYPT_XTS_AES_ALG_HANDLE: BCRYPT_ALG_HANDLE = 897u32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CALG_OID_INFO_CNG_ONLY: u32 = 4294967295u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CALG_OID_INFO_PARAMETERS: u32 = 4294967294u32; -pub const CCertSrvSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518620175, data2: 62812, data3: 16701, data4: [169, 179, 125, 42, 244, 216, 228, 47] }; -pub const CCertSrvSetupKeyInformation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 943143174, data2: 21555, data3: 17971, data4: [176, 251, 41, 183, 231, 130, 98, 225] }; -pub const CCertificateEnrollmentPolicyServerSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2950887986, data2: 16817, data3: 17821, data4: [165, 222, 73, 173, 216, 167, 33, 130] }; -pub const CCertificateEnrollmentServerSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2567107516, data2: 34991, data3: 19704, data4: [174, 98, 113, 64, 83, 21, 82, 182] }; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CCertSrvSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x961f180f_f55c_413d_a9b3_7d2af4d8e42f); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CCertSrvSetupKeyInformation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x38373906_5433_4633_b0fb_29b7e78262e1); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CCertificateEnrollmentPolicyServerSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xafe2fa32_41b1_459d_a5de_49add8a72182); +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CCertificateEnrollmentServerSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9902f3bc_88af_4cf8_ae62_7140531552b6); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_ACCESS_STATE_GP_SYSTEM_STORE_FLAG: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1855,25 +1459,25 @@ pub const CERT_AUTH_ROOT_AUTO_UPDATE_DISABLE_PARTIAL_CHAIN_LOGGING_FLAG: u32 = 2 #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_AUTH_ROOT_AUTO_UPDATE_DISABLE_UNTRUSTED_ROOT_LOGGING_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_AUTH_ROOT_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: &str = "EncodedCtl"; +pub const CERT_AUTH_ROOT_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EncodedCtl"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_AUTH_ROOT_AUTO_UPDATE_FLAGS_VALUE_NAME: &str = "Flags"; +pub const CERT_AUTH_ROOT_AUTO_UPDATE_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Flags"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_AUTH_ROOT_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: &str = "LastSyncTime"; +pub const CERT_AUTH_ROOT_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LastSyncTime"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_AUTH_ROOT_AUTO_UPDATE_ROOT_DIR_URL_VALUE_NAME: &str = "RootDirUrl"; +pub const CERT_AUTH_ROOT_AUTO_UPDATE_ROOT_DIR_URL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RootDirUrl"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_AUTH_ROOT_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: &str = "SyncDeltaTime"; +pub const CERT_AUTH_ROOT_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SyncDeltaTime"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_AUTH_ROOT_CAB_FILENAME: &str = "authrootstl.cab"; +pub const CERT_AUTH_ROOT_CAB_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("authrootstl.cab"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_AUTH_ROOT_CERT_EXT: &str = ".crt"; +pub const CERT_AUTH_ROOT_CERT_EXT: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".crt"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_AUTH_ROOT_CTL_FILENAME: &str = "authroot.stl"; +pub const CERT_AUTH_ROOT_CTL_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("authroot.stl"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_AUTH_ROOT_CTL_FILENAME_A: &str = "authroot.stl"; +pub const CERT_AUTH_ROOT_CTL_FILENAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("authroot.stl"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_AUTH_ROOT_SEQ_FILENAME: &str = "authrootseq.txt"; +pub const CERT_AUTH_ROOT_SEQ_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("authrootseq.txt"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_AUTH_ROOT_SHA256_HASH_PROP_ID: u32 = 98u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1883,9 +1487,9 @@ pub const CERT_AUTO_ENROLL_RETRY_PROP_ID: u32 = 66u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_AUTO_UPDATE_DISABLE_RANDOM_QUERY_STRING_FLAG: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_AUTO_UPDATE_ROOT_DIR_URL_VALUE_NAME: &str = "RootDirUrl"; +pub const CERT_AUTO_UPDATE_ROOT_DIR_URL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RootDirUrl"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_AUTO_UPDATE_SYNC_FROM_DIR_URL_VALUE_NAME: &str = "SyncFromDirUrl"; +pub const CERT_AUTO_UPDATE_SYNC_FROM_DIR_URL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SyncFromDirUrl"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_BACKED_UP_PROP_ID: u32 = 69u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1909,13 +1513,13 @@ pub const CERT_CEP_PROP_ID: u32 = 87u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_AUTO_CURRENT_USER: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_AUTO_FLAGS_VALUE_NAME: &str = "AutoFlags"; +pub const CERT_CHAIN_AUTO_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AutoFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_AUTO_FLUSH_DISABLE_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_AUTO_FLUSH_FIRST_DELTA_SECONDS_VALUE_NAME: &str = "AutoFlushFirstDeltaSeconds"; +pub const CERT_CHAIN_AUTO_FLUSH_FIRST_DELTA_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AutoFlushFirstDeltaSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_AUTO_FLUSH_NEXT_DELTA_SECONDS_VALUE_NAME: &str = "AutoFlushNextDeltaSeconds"; +pub const CERT_CHAIN_AUTO_FLUSH_NEXT_DELTA_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AutoFlushNextDeltaSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_AUTO_HPKP_RULE_INFO: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1925,7 +1529,7 @@ pub const CERT_CHAIN_AUTO_LOCAL_MACHINE: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_AUTO_LOG_CREATE_FLAG: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_AUTO_LOG_FILE_NAME_VALUE_NAME: &str = "AutoLogFileName"; +pub const CERT_CHAIN_AUTO_LOG_FILE_NAME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AutoLogFileName"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_AUTO_LOG_FLUSH_FLAG: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1943,29 +1547,29 @@ pub const CERT_CHAIN_CACHE_END_CERT: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_CACHE_ONLY_URL_RETRIEVAL: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_CACHE_RESYNC_FILETIME_VALUE_NAME: &str = "ChainCacheResyncFiletime"; +pub const CERT_CHAIN_CACHE_RESYNC_FILETIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ChainCacheResyncFiletime"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_CONFIG_REGPATH: &str = "Software\\Microsoft\\Cryptography\\OID\\EncodingType 0\\CertDllCreateCertificateChainEngine\\Config"; +pub const CERT_CHAIN_CONFIG_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Software\\Microsoft\\Cryptography\\OID\\EncodingType 0\\CertDllCreateCertificateChainEngine\\Config"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_CRL_VALIDITY_EXT_PERIOD_HOURS_DEFAULT: u32 = 12u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_CRL_VALIDITY_EXT_PERIOD_HOURS_VALUE_NAME: &str = "CRLValidityExtensionPeriod"; +pub const CERT_CHAIN_CRL_VALIDITY_EXT_PERIOD_HOURS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CRLValidityExtensionPeriod"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_CROSS_CERT_DOWNLOAD_INTERVAL_HOURS_VALUE_NAME: &str = "CrossCertDownloadIntervalHours"; +pub const CERT_CHAIN_CROSS_CERT_DOWNLOAD_INTERVAL_HOURS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CrossCertDownloadIntervalHours"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_DEFAULT_CONFIG_SUBDIR: &str = "Default"; +pub const CERT_CHAIN_DEFAULT_CONFIG_SUBDIR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Default"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_DISABLE_AIA: u32 = 8192u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_DISABLE_AIA_URL_RETRIEVAL_VALUE_NAME: &str = "DisableAIAUrlRetrieval"; +pub const CERT_CHAIN_DISABLE_AIA_URL_RETRIEVAL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisableAIAUrlRetrieval"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_DISABLE_ALL_EKU_WEAK_FLAG: u32 = 65536u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_DISABLE_AUTH_ROOT_AUTO_UPDATE: u32 = 256u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_DISABLE_AUTO_FLUSH_PROCESS_NAME_LIST_VALUE_NAME: &str = "DisableAutoFlushProcessNameList"; +pub const CERT_CHAIN_DISABLE_AUTO_FLUSH_PROCESS_NAME_LIST_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisableAutoFlushProcessNameList"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_DISABLE_CA_NAME_CONSTRAINTS_VALUE_NAME: &str = "DisableCANameConstraints"; +pub const CERT_CHAIN_DISABLE_CA_NAME_CONSTRAINTS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisableCANameConstraints"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_DISABLE_CODE_SIGNING_WEAK_FLAG: u32 = 4194304u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1973,7 +1577,7 @@ pub const CERT_CHAIN_DISABLE_ECC_PARA_FLAG: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_DISABLE_FILE_HASH_WEAK_FLAG: u32 = 4096u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_DISABLE_MANDATORY_BASIC_CONSTRAINTS_VALUE_NAME: &str = "DisableMandatoryBasicConstraints"; +pub const CERT_CHAIN_DISABLE_MANDATORY_BASIC_CONSTRAINTS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisableMandatoryBasicConstraints"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_DISABLE_MD2_MD4: u32 = 4096u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -1991,17 +1595,17 @@ pub const CERT_CHAIN_DISABLE_OPT_IN_SERVER_AUTH_WEAK_FLAG: u32 = 262144u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_DISABLE_PASS1_QUALITY_FILTERING: u32 = 64u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_DISABLE_SERIAL_CHAIN_VALUE_NAME: &str = "DisableSerialChain"; +pub const CERT_CHAIN_DISABLE_SERIAL_CHAIN_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisableSerialChain"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_DISABLE_SERVER_AUTH_WEAK_FLAG: u32 = 1048576u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_DISABLE_SYNC_WITH_SSL_TIME_VALUE_NAME: &str = "DisableSyncWithSslTime"; +pub const CERT_CHAIN_DISABLE_SYNC_WITH_SSL_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisableSyncWithSslTime"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_DISABLE_TIMESTAMP_HASH_WEAK_FLAG: u32 = 16384u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_DISABLE_TIMESTAMP_WEAK_FLAG: u32 = 67108864u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_DISABLE_UNSUPPORTED_CRITICAL_EXTENSIONS_VALUE_NAME: &str = "DisableUnsupportedCriticalExtensions"; +pub const CERT_CHAIN_DISABLE_UNSUPPORTED_CRITICAL_EXTENSIONS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisableUnsupportedCriticalExtensions"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_ENABLE_ALL_EKU_HYGIENE_FLAG: u32 = 131072u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2031,7 +1635,7 @@ pub const CERT_CHAIN_ENABLE_WEAK_RSA_ROOT_FLAG: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_ENABLE_WEAK_SETTINGS_FLAG: u32 = 2147483648u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_ENABLE_WEAK_SIGNATURE_FLAGS_VALUE_NAME: &str = "EnableWeakSignatureFlags"; +pub const CERT_CHAIN_ENABLE_WEAK_SIGNATURE_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EnableWeakSignatureFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_EXCLUSIVE_ENABLE_CA_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2041,27 +1645,27 @@ pub const CERT_CHAIN_HAS_MOTW: u32 = 16384u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_MAX_AIA_URL_COUNT_IN_CERT_DEFAULT: u32 = 5u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_MAX_AIA_URL_COUNT_IN_CERT_VALUE_NAME: &str = "MaxAIAUrlCountInCert"; +pub const CERT_CHAIN_MAX_AIA_URL_COUNT_IN_CERT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxAIAUrlCountInCert"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_BYTE_COUNT_DEFAULT: u32 = 100000u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_BYTE_COUNT_VALUE_NAME: &str = "MaxAIAUrlRetrievalByteCount"; +pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_BYTE_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxAIAUrlRetrievalByteCount"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_CERT_COUNT_DEFAULT: u32 = 10u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_CERT_COUNT_VALUE_NAME: &str = "MaxAIAUrlRetrievalCertCount"; +pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_CERT_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxAIAUrlRetrievalCertCount"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_COUNT_PER_CHAIN_DEFAULT: u32 = 3u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_COUNT_PER_CHAIN_VALUE_NAME: &str = "MaxAIAUrlRetrievalCountPerChain"; +pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_COUNT_PER_CHAIN_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxAIAUrlRetrievalCountPerChain"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_DEFAULT: u32 = 5u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_DISABLE: u32 = 4294967295u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_VALUE_NAME: &str = "MaxSslTimeUpdatedEventCount"; +pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxSslTimeUpdatedEventCount"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_MAX_URL_RETRIEVAL_BYTE_COUNT_VALUE_NAME: &str = "MaxUrlRetrievalByteCount"; +pub const CERT_CHAIN_MAX_URL_RETRIEVAL_BYTE_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxUrlRetrievalByteCount"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_MIN_PUB_KEY_BIT_LENGTH_DISABLE: u32 = 4294967295u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2069,15 +1673,15 @@ pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_DEFAULT: u32 = 1023u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_DISABLE: u32 = 4294967295u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_VALUE_NAME: &str = "MinRsaPubKeyBitLength"; +pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MinRsaPubKeyBitLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_MOTW_IGNORE_AFTER_TIME_WEAK_FLAG: u32 = 1073741824u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_OCSP_VALIDITY_SECONDS_VALUE_NAME: &str = "OcspValiditySeconds"; +pub const CERT_CHAIN_OCSP_VALIDITY_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OcspValiditySeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_ONLY_ADDITIONAL_AND_AUTH_ROOT: u32 = 32768u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_OPTIONS_VALUE_NAME: &str = "Options"; +pub const CERT_CHAIN_OPTIONS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Options"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_OPTION_DISABLE_AIA_URL_RETRIEVAL: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2149,11 +1753,11 @@ pub const CERT_CHAIN_REVOCATION_CHECK_END_CERT: u32 = 268435456u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_REVOCATION_CHECK_OCSP_CERT: u32 = 67108864u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_REV_ACCUMULATIVE_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: &str = "ChainRevAccumulativeUrlRetrievalTimeoutMilliseconds"; +pub const CERT_CHAIN_REV_ACCUMULATIVE_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ChainRevAccumulativeUrlRetrievalTimeoutMilliseconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_SERIAL_CHAIN_LOG_FILE_NAME_VALUE_NAME: &str = "SerialChainLogFileName"; +pub const CERT_CHAIN_SERIAL_CHAIN_LOG_FILE_NAME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SerialChainLogFileName"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_SSL_HANDSHAKE_LOG_FILE_NAME_VALUE_NAME: &str = "SslHandshakeLogFileName"; +pub const CERT_CHAIN_SSL_HANDSHAKE_LOG_FILE_NAME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SslHandshakeLogFileName"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_STRONG_SIGN_DISABLE_END_CHECK_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2161,33 +1765,33 @@ pub const CERT_CHAIN_THREAD_STORE_SYNC: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_TIMESTAMP_TIME: u32 = 512u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: &str = "ChainUrlRetrievalTimeoutMilliseconds"; +pub const CERT_CHAIN_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ChainUrlRetrievalTimeoutMilliseconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CHAIN_USE_LOCAL_MACHINE_STORE: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_WEAK_AFTER_TIME_NAME: &str = "AfterTime"; +pub const CERT_CHAIN_WEAK_AFTER_TIME_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AfterTime"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_WEAK_ALL_CONFIG_NAME: &str = "All"; +pub const CERT_CHAIN_WEAK_ALL_CONFIG_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("All"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_WEAK_FILE_HASH_AFTER_TIME_NAME: &str = "FileHashAfterTime"; +pub const CERT_CHAIN_WEAK_FILE_HASH_AFTER_TIME_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FileHashAfterTime"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_WEAK_FLAGS_NAME: &str = "Flags"; +pub const CERT_CHAIN_WEAK_FLAGS_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Flags"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_WEAK_HYGIENE_NAME: &str = "Hygiene"; +pub const CERT_CHAIN_WEAK_HYGIENE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Hygiene"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_WEAK_MIN_BIT_LENGTH_NAME: &str = "MinBitLength"; +pub const CERT_CHAIN_WEAK_MIN_BIT_LENGTH_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MinBitLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_WEAK_PREFIX_NAME: &str = "Weak"; +pub const CERT_CHAIN_WEAK_PREFIX_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Weak"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_WEAK_RSA_PUB_KEY_TIME_VALUE_NAME: &str = "WeakRsaPubKeyTime"; +pub const CERT_CHAIN_WEAK_RSA_PUB_KEY_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WeakRsaPubKeyTime"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_WEAK_SHA256_ALLOW_NAME: &str = "Sha256Allow"; +pub const CERT_CHAIN_WEAK_SHA256_ALLOW_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Sha256Allow"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_WEAK_SIGNATURE_LOG_DIR_VALUE_NAME: &str = "WeakSignatureLogDir"; +pub const CERT_CHAIN_WEAK_SIGNATURE_LOG_DIR_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WeakSignatureLogDir"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_WEAK_THIRD_PARTY_CONFIG_NAME: &str = "ThirdParty"; +pub const CERT_CHAIN_WEAK_THIRD_PARTY_CONFIG_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ThirdParty"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_CHAIN_WEAK_TIMESTAMP_HASH_AFTER_TIME_NAME: &str = "TimestampHashAfterTime"; +pub const CERT_CHAIN_WEAK_TIMESTAMP_HASH_AFTER_TIME_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TimestampHashAfterTime"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_CLOSE_STORE_CHECK_FLAG: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2269,31 +1873,31 @@ pub const CERT_DATE_STAMP_PROP_ID: u32 = 27u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_DECIPHER_ONLY_KEY_USAGE: u32 = 128u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_DEFAULT_OID_PUBLIC_KEY_SIGN: &str = "1.2.840.113549.1.1.1"; +pub const CERT_DEFAULT_OID_PUBLIC_KEY_SIGN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.2.840.113549.1.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_DEFAULT_OID_PUBLIC_KEY_XCHG: &str = "1.2.840.113549.1.1.1"; +pub const CERT_DEFAULT_OID_PUBLIC_KEY_XCHG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.2.840.113549.1.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_DESCRIPTION_PROP_ID: u32 = 13u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_DIGITAL_SIGNATURE_KEY_USAGE: u32 = 128u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_DISABLE_PIN_RULES_AUTO_UPDATE_VALUE_NAME: &str = "DisablePinRulesAutoUpdate"; +pub const CERT_DISABLE_PIN_RULES_AUTO_UPDATE_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisablePinRulesAutoUpdate"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_DISABLE_ROOT_AUTO_UPDATE_VALUE_NAME: &str = "DisableRootAutoUpdate"; +pub const CERT_DISABLE_ROOT_AUTO_UPDATE_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisableRootAutoUpdate"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: &str = "DisallowedCertEncodedCtl"; +pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisallowedCertEncodedCtl"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: &str = "DisallowedCertLastSyncTime"; +pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisallowedCertLastSyncTime"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_LIST_IDENTIFIER: &str = "DisallowedCert_AutoUpdate_1"; +pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_LIST_IDENTIFIER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisallowedCert_AutoUpdate_1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: &str = "DisallowedCertSyncDeltaTime"; +pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisallowedCertSyncDeltaTime"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_DISALLOWED_CERT_CAB_FILENAME: &str = "disallowedcertstl.cab"; +pub const CERT_DISALLOWED_CERT_CAB_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("disallowedcertstl.cab"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_DISALLOWED_CERT_CTL_FILENAME: &str = "disallowedcert.stl"; +pub const CERT_DISALLOWED_CERT_CTL_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("disallowedcert.stl"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_DISALLOWED_CERT_CTL_FILENAME_A: &str = "disallowedcert.stl"; +pub const CERT_DISALLOWED_CERT_CTL_FILENAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("disallowedcert.stl"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_DISALLOWED_ENHKEY_USAGE_PROP_ID: u32 = 122u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2303,11 +1907,11 @@ pub const CERT_DSS_R_LEN: u32 = 20u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_DSS_S_LEN: u32 = 20u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_EFSBLOB_VALUE_NAME: &str = "EFSBlob"; +pub const CERT_EFSBLOB_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EFSBlob"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_EFS_PROP_ID: u32 = 17u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_ENABLE_DISALLOWED_CERT_AUTO_UPDATE_VALUE_NAME: &str = "EnableDisallowedCertAutoUpdate"; +pub const CERT_ENABLE_DISALLOWED_CERT_AUTO_UPDATE_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EnableDisallowedCertAutoUpdate"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_ENCIPHER_ONLY_KEY_USAGE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2335,7 +1939,7 @@ pub const CERT_FORTEZZA_DATA_PROP_ID: u32 = 18u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_FRIENDLY_NAME_PROP_ID: u32 = 11u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH: &str = "Software\\Policies\\Microsoft\\SystemCertificates"; +pub const CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Software\\Policies\\Microsoft\\SystemCertificates"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_HASH_PROP_ID: u32 = 3u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2345,7 +1949,7 @@ pub const CERT_HCRYPTPROV_TRANSFER_PROP_ID: u32 = 100u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_IE30_RESERVED_PROP_ID: u32 = 7u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_IE_DIRTY_FLAGS_REGPATH: &str = "Software\\Microsoft\\Cryptography\\IEDirtyFlags"; +pub const CERT_IE_DIRTY_FLAGS_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Software\\Microsoft\\Cryptography\\IEDirtyFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_INFO_EXTENSION_FLAG: u32 = 11u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2415,7 +2019,7 @@ pub const CERT_LDAP_STORE_SIGN_FLAG: u32 = 65536u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_LDAP_STORE_UNBIND_FLAG: u32 = 524288u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH: &str = "Software\\Microsoft\\SystemCertificates"; +pub const CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Software\\Microsoft\\SystemCertificates"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_MD5_HASH_PROP_ID: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2487,9 +2091,9 @@ pub const CERT_NO_AUTO_EXPIRE_CHECK_PROP_ID: u32 = 77u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_NO_EXPIRE_NOTIFICATION_PROP_ID: u32 = 97u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_OCM_SUBCOMPONENTS_LOCAL_MACHINE_REGPATH: &str = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup\\OC Manager\\Subcomponents"; +pub const CERT_OCM_SUBCOMPONENTS_LOCAL_MACHINE_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup\\OC Manager\\Subcomponents"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_OCM_SUBCOMPONENTS_ROOT_AUTO_UPDATE_VALUE_NAME: &str = "RootAutoUpdate"; +pub const CERT_OCM_SUBCOMPONENTS_ROOT_AUTO_UPDATE_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RootAutoUpdate"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_OCSP_CACHE_PREFIX_PROP_ID: u32 = 75u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2501,21 +2105,21 @@ pub const CERT_OFFLINE_CRL_SIGN_KEY_USAGE: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_PHYSICAL_STORE_ADD_ENABLE_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PHYSICAL_STORE_AUTH_ROOT_NAME: &str = ".AuthRoot"; +pub const CERT_PHYSICAL_STORE_AUTH_ROOT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".AuthRoot"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PHYSICAL_STORE_DEFAULT_NAME: &str = ".Default"; +pub const CERT_PHYSICAL_STORE_DEFAULT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".Default"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PHYSICAL_STORE_DS_USER_CERTIFICATE_NAME: &str = ".UserCertificate"; +pub const CERT_PHYSICAL_STORE_DS_USER_CERTIFICATE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".UserCertificate"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PHYSICAL_STORE_ENTERPRISE_NAME: &str = ".Enterprise"; +pub const CERT_PHYSICAL_STORE_ENTERPRISE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".Enterprise"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PHYSICAL_STORE_GROUP_POLICY_NAME: &str = ".GroupPolicy"; +pub const CERT_PHYSICAL_STORE_GROUP_POLICY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".GroupPolicy"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_PHYSICAL_STORE_INSERT_COMPUTER_NAME_ENABLE_FLAG: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PHYSICAL_STORE_LOCAL_MACHINE_GROUP_POLICY_NAME: &str = ".LocalMachineGroupPolicy"; +pub const CERT_PHYSICAL_STORE_LOCAL_MACHINE_GROUP_POLICY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".LocalMachineGroupPolicy"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PHYSICAL_STORE_LOCAL_MACHINE_NAME: &str = ".LocalMachine"; +pub const CERT_PHYSICAL_STORE_LOCAL_MACHINE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".LocalMachine"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_PHYSICAL_STORE_OPEN_DISABLE_FLAG: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2523,21 +2127,21 @@ pub const CERT_PHYSICAL_STORE_PREDEFINED_ENUM_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_PHYSICAL_STORE_REMOTE_OPEN_DISABLE_FLAG: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PHYSICAL_STORE_SMART_CARD_NAME: &str = ".SmartCard"; +pub const CERT_PHYSICAL_STORE_SMART_CARD_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!(".SmartCard"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PIN_RULES_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: &str = "PinRulesEncodedCtl"; +pub const CERT_PIN_RULES_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PinRulesEncodedCtl"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PIN_RULES_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: &str = "PinRulesLastSyncTime"; +pub const CERT_PIN_RULES_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PinRulesLastSyncTime"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PIN_RULES_AUTO_UPDATE_LIST_IDENTIFIER: &str = "PinRules_AutoUpdate_1"; +pub const CERT_PIN_RULES_AUTO_UPDATE_LIST_IDENTIFIER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PinRules_AutoUpdate_1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PIN_RULES_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: &str = "PinRulesSyncDeltaTime"; +pub const CERT_PIN_RULES_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PinRulesSyncDeltaTime"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PIN_RULES_CAB_FILENAME: &str = "pinrulesstl.cab"; +pub const CERT_PIN_RULES_CAB_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("pinrulesstl.cab"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PIN_RULES_CTL_FILENAME: &str = "pinrules.stl"; +pub const CERT_PIN_RULES_CTL_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("pinrules.stl"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PIN_RULES_CTL_FILENAME_A: &str = "pinrules.stl"; +pub const CERT_PIN_RULES_CTL_FILENAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("pinrules.stl"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_PIN_SHA256_HASH_PROP_ID: u32 = 124u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2551,7 +2155,7 @@ pub const CERT_PROT_ROOT_DISABLE_NT_AUTH_REQUIRED_FLAG: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_PROT_ROOT_DISABLE_PEER_TRUST: u32 = 65536u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PROT_ROOT_FLAGS_VALUE_NAME: &str = "Flags"; +pub const CERT_PROT_ROOT_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Flags"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_PROT_ROOT_INHIBIT_ADD_AT_INIT_FLAG: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2559,9 +2163,9 @@ pub const CERT_PROT_ROOT_INHIBIT_PURGE_LM_FLAG: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_PROT_ROOT_ONLY_LM_GPT_FLAG: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PROT_ROOT_PEER_USAGES_VALUE_NAME: &str = "PeerUsages"; +pub const CERT_PROT_ROOT_PEER_USAGES_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PeerUsages"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_PROT_ROOT_PEER_USAGES_VALUE_NAME_A: &str = "PeerUsages"; +pub const CERT_PROT_ROOT_PEER_USAGES_VALUE_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("PeerUsages"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_PUBKEY_ALG_PARA_PROP_ID: u32 = 22u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2615,13 +2219,13 @@ pub const CERT_RETRIEVE_ISSUER_LOGO: ::windows_sys::core::PCSTR = 1i32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_RETRIEVE_SUBJECT_LOGO: ::windows_sys::core::PCSTR = 2i32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_RETR_BEHAVIOR_FILE_VALUE_NAME: &str = "AllowFileUrlScheme"; +pub const CERT_RETR_BEHAVIOR_FILE_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AllowFileUrlScheme"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_RETR_BEHAVIOR_INET_AUTH_VALUE_NAME: &str = "EnableInetUnknownAuth"; +pub const CERT_RETR_BEHAVIOR_INET_AUTH_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EnableInetUnknownAuth"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_RETR_BEHAVIOR_INET_STATUS_VALUE_NAME: &str = "EnableInetLocal"; +pub const CERT_RETR_BEHAVIOR_INET_STATUS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EnableInetLocal"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_RETR_BEHAVIOR_LDAP_VALUE_NAME: &str = "DisableLDAPSignAndEncrypt"; +pub const CERT_RETR_BEHAVIOR_LDAP_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisableLDAPSignAndEncrypt"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_ROOT_PROGRAM_CERT_POLICIES_PROP_ID: u32 = 83u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2633,7 +2237,7 @@ pub const CERT_ROOT_PROGRAM_FLAG_OU: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_ROOT_PROGRAM_NAME_CONSTRAINTS_PROP_ID: u32 = 84u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_RSA_PUBLIC_KEY_OBJID: &str = "1.2.840.113549.1.1.1"; +pub const CERT_RSA_PUBLIC_KEY_OBJID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.2.840.113549.1.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_SCARD_PIN_ID_PROP_ID: u32 = 90u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2719,21 +2323,21 @@ pub const CERT_SOURCE_LOCATION_PROP_ID: u32 = 72u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_SOURCE_URL_PROP_ID: u32 = 73u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_SRV_OCSP_RESP_MAX_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &str = "SrvOcspRespMaxBeforeNextUpdateSeconds"; +pub const CERT_SRV_OCSP_RESP_MAX_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SrvOcspRespMaxBeforeNextUpdateSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_SRV_OCSP_RESP_MAX_SYNC_CERT_FILE_SECONDS_VALUE_NAME: &str = "SrvOcspRespMaxSyncCertFileSeconds"; +pub const CERT_SRV_OCSP_RESP_MAX_SYNC_CERT_FILE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SrvOcspRespMaxSyncCertFileSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_SRV_OCSP_RESP_MIN_AFTER_NEXT_UPDATE_SECONDS_VALUE_NAME: &str = "SrvOcspRespMinAfterNextUpdateSeconds"; +pub const CERT_SRV_OCSP_RESP_MIN_AFTER_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SrvOcspRespMinAfterNextUpdateSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_SRV_OCSP_RESP_MIN_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &str = "SrvOcspRespMinBeforeNextUpdateSeconds"; +pub const CERT_SRV_OCSP_RESP_MIN_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SrvOcspRespMinBeforeNextUpdateSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_SRV_OCSP_RESP_MIN_SYNC_CERT_FILE_SECONDS_DEFAULT: u32 = 5u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_SRV_OCSP_RESP_MIN_SYNC_CERT_FILE_SECONDS_VALUE_NAME: &str = "SrvOcspRespMinSyncCertFileSeconds"; +pub const CERT_SRV_OCSP_RESP_MIN_SYNC_CERT_FILE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SrvOcspRespMinSyncCertFileSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_SRV_OCSP_RESP_MIN_VALIDITY_SECONDS_VALUE_NAME: &str = "SrvOcspRespMinValiditySeconds"; +pub const CERT_SRV_OCSP_RESP_MIN_VALIDITY_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SrvOcspRespMinValiditySeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_SRV_OCSP_RESP_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: &str = "SrvOcspRespUrlRetrievalTimeoutMilliseconds"; +pub const CERT_SRV_OCSP_RESP_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SrvOcspRespUrlRetrievalTimeoutMilliseconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_STORE_ADD_ALWAYS: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -2887,7 +2491,7 @@ pub const CERT_STORE_TIME_VALIDITY_FLAG: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_STORE_UNSAFE_PHYSICAL_FLAG: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_STRONG_SIGN_ECDSA_ALGORITHM: &str = "ECDSA"; +pub const CERT_STRONG_SIGN_ECDSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDSA"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_STRONG_SIGN_OID_INFO_CHOICE: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3031,7 +2635,7 @@ pub const CERT_TRUST_PUB_ALLOW_MACHINE_ADMIN_TRUST: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_TRUST_PUB_ALLOW_TRUST_MASK: u32 = 3u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CERT_TRUST_PUB_AUTHENTICODE_FLAGS_VALUE_NAME: &str = "AuthenticodeFlags"; +pub const CERT_TRUST_PUB_AUTHENTICODE_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AuthenticodeFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CERT_TRUST_PUB_CHECK_PUBLISHER_REV_FLAG: u32 = 256u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3144,7 +2748,8 @@ pub const CMC_STATUS_PENDING: u32 = 3u32; pub const CMC_STATUS_SUCCESS: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CMC_TAGGED_CERT_REQUEST_CHOICE: u32 = 1u32; -pub const CMSCEPSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2857327618, data2: 36476, data3: 18884, data4: [148, 250, 103, 165, 204, 94, 173, 180] }; +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +pub const CMSCEPSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaa4f5c02_8e7c_49c4_94fa_67a5cc5eadb4); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CMSG_ATTR_CERT_COUNT_PARAM: u32 = 31u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3326,51 +2931,51 @@ pub const CMSG_MAIL_LIST_VERSION: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CMSG_MAX_LENGTH_FLAG: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_CAPI1_EXPORT_KEY_AGREE_FUNC: &str = "CryptMsgDllExportKeyAgree"; +pub const CMSG_OID_CAPI1_EXPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptMsgDllExportKeyAgree"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_CAPI1_EXPORT_KEY_TRANS_FUNC: &str = "CryptMsgDllExportKeyTrans"; +pub const CMSG_OID_CAPI1_EXPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptMsgDllExportKeyTrans"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_CAPI1_EXPORT_MAIL_LIST_FUNC: &str = "CryptMsgDllExportMailList"; +pub const CMSG_OID_CAPI1_EXPORT_MAIL_LIST_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptMsgDllExportMailList"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_CAPI1_GEN_CONTENT_ENCRYPT_KEY_FUNC: &str = "CryptMsgDllGenContentEncryptKey"; +pub const CMSG_OID_CAPI1_GEN_CONTENT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptMsgDllGenContentEncryptKey"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_CAPI1_IMPORT_KEY_AGREE_FUNC: &str = "CryptMsgDllImportKeyAgree"; +pub const CMSG_OID_CAPI1_IMPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptMsgDllImportKeyAgree"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_CAPI1_IMPORT_KEY_TRANS_FUNC: &str = "CryptMsgDllImportKeyTrans"; +pub const CMSG_OID_CAPI1_IMPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptMsgDllImportKeyTrans"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_CAPI1_IMPORT_MAIL_LIST_FUNC: &str = "CryptMsgDllImportMailList"; +pub const CMSG_OID_CAPI1_IMPORT_MAIL_LIST_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptMsgDllImportMailList"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_CNG_EXPORT_KEY_AGREE_FUNC: &str = "CryptMsgDllCNGExportKeyAgree"; +pub const CMSG_OID_CNG_EXPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllCNGExportKeyAgree"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_CNG_EXPORT_KEY_TRANS_FUNC: &str = "CryptMsgDllCNGExportKeyTrans"; +pub const CMSG_OID_CNG_EXPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllCNGExportKeyTrans"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_CNG_GEN_CONTENT_ENCRYPT_KEY_FUNC: &str = "CryptMsgDllCNGGenContentEncryptKey"; +pub const CMSG_OID_CNG_GEN_CONTENT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllCNGGenContentEncryptKey"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_CNG_IMPORT_CONTENT_ENCRYPT_KEY_FUNC: &str = "CryptMsgDllCNGImportContentEncryptKey"; +pub const CMSG_OID_CNG_IMPORT_CONTENT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllCNGImportContentEncryptKey"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_CNG_IMPORT_KEY_AGREE_FUNC: &str = "CryptMsgDllCNGImportKeyAgree"; +pub const CMSG_OID_CNG_IMPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllCNGImportKeyAgree"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_CNG_IMPORT_KEY_TRANS_FUNC: &str = "CryptMsgDllCNGImportKeyTrans"; +pub const CMSG_OID_CNG_IMPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllCNGImportKeyTrans"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_EXPORT_ENCRYPT_KEY_FUNC: &str = "CryptMsgDllExportEncryptKey"; +pub const CMSG_OID_EXPORT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllExportEncryptKey"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_EXPORT_KEY_AGREE_FUNC: &str = "CryptMsgDllExportKeyAgree"; +pub const CMSG_OID_EXPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllExportKeyAgree"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_EXPORT_KEY_TRANS_FUNC: &str = "CryptMsgDllExportKeyTrans"; +pub const CMSG_OID_EXPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllExportKeyTrans"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_EXPORT_MAIL_LIST_FUNC: &str = "CryptMsgDllExportMailList"; +pub const CMSG_OID_EXPORT_MAIL_LIST_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllExportMailList"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_GEN_CONTENT_ENCRYPT_KEY_FUNC: &str = "CryptMsgDllGenContentEncryptKey"; +pub const CMSG_OID_GEN_CONTENT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllGenContentEncryptKey"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_GEN_ENCRYPT_KEY_FUNC: &str = "CryptMsgDllGenEncryptKey"; +pub const CMSG_OID_GEN_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllGenEncryptKey"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_IMPORT_ENCRYPT_KEY_FUNC: &str = "CryptMsgDllImportEncryptKey"; +pub const CMSG_OID_IMPORT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllImportEncryptKey"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_IMPORT_KEY_AGREE_FUNC: &str = "CryptMsgDllImportKeyAgree"; +pub const CMSG_OID_IMPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllImportKeyAgree"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_IMPORT_KEY_TRANS_FUNC: &str = "CryptMsgDllImportKeyTrans"; +pub const CMSG_OID_IMPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllImportKeyTrans"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CMSG_OID_IMPORT_MAIL_LIST_FUNC: &str = "CryptMsgDllImportMailList"; +pub const CMSG_OID_IMPORT_MAIL_LIST_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptMsgDllImportMailList"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CMSG_RC4_NO_SALT_FLAG: u32 = 1073741824u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3446,7 +3051,7 @@ pub const CONTEXT_OID_CAPI2_ANY: ::windows_sys::core::PCSTR = 5i32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CONTEXT_OID_CERTIFICATE: ::windows_sys::core::PCSTR = 1i32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CONTEXT_OID_CREATE_OBJECT_CONTEXT_FUNC: &str = "ContextDllCreateObjectContext"; +pub const CONTEXT_OID_CREATE_OBJECT_CONTEXT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("ContextDllCreateObjectContext"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CONTEXT_OID_CRL: ::windows_sys::core::PCSTR = 2i32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3524,75 +3129,75 @@ pub const CROSS_CERT_DIST_POINT_ERR_INDEX_SHIFT: u32 = 24u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPTNET_CACHED_OCSP_SWITCH_TO_CRL_COUNT_DEFAULT: u32 = 50u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_CACHED_OCSP_SWITCH_TO_CRL_COUNT_VALUE_NAME: &str = "CryptnetCachedOcspSwitchToCrlCount"; +pub const CRYPTNET_CACHED_OCSP_SWITCH_TO_CRL_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetCachedOcspSwitchToCrlCount"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPTNET_CRL_BEFORE_OCSP_ENABLE: u32 = 4294967295u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_CRL_PRE_FETCH_DISABLE_INFORMATION_EVENTS_VALUE_NAME: &str = "DisableInformationEvents"; +pub const CRYPTNET_CRL_PRE_FETCH_DISABLE_INFORMATION_EVENTS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DisableInformationEvents"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_CRL_PRE_FETCH_LOG_FILE_NAME_VALUE_NAME: &str = "LogFileName"; +pub const CRYPTNET_CRL_PRE_FETCH_LOG_FILE_NAME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LogFileName"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_CRL_PRE_FETCH_MAX_AGE_SECONDS_VALUE_NAME: &str = "MaxAgeSeconds"; +pub const CRYPTNET_CRL_PRE_FETCH_MAX_AGE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxAgeSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_CRL_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_SECONDS_VALUE_NAME: &str = "MinAfterNextUpdateSeconds"; +pub const CRYPTNET_CRL_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MinAfterNextUpdateSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_CRL_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &str = "MinBeforeNextUpdateSeconds"; +pub const CRYPTNET_CRL_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MinBeforeNextUpdateSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_CRL_PRE_FETCH_PROCESS_NAME_LIST_VALUE_NAME: &str = "ProcessNameList"; +pub const CRYPTNET_CRL_PRE_FETCH_PROCESS_NAME_LIST_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ProcessNameList"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &str = "PublishBeforeNextUpdateSeconds"; +pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PublishBeforeNextUpdateSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_RANDOM_INTERVAL_SECONDS_VALUE_NAME: &str = "PublishRandomIntervalSeconds"; +pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_RANDOM_INTERVAL_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PublishRandomIntervalSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_CRL_PRE_FETCH_TIMEOUT_SECONDS_VALUE_NAME: &str = "TimeoutSeconds"; +pub const CRYPTNET_CRL_PRE_FETCH_TIMEOUT_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("TimeoutSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_CRL_PRE_FETCH_URL_LIST_VALUE_NAME: &str = "PreFetchUrlList"; +pub const CRYPTNET_CRL_PRE_FETCH_URL_LIST_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PreFetchUrlList"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPTNET_MAX_CACHED_OCSP_PER_CRL_COUNT_DEFAULT: u32 = 500u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_MAX_CACHED_OCSP_PER_CRL_COUNT_VALUE_NAME: &str = "CryptnetMaxCachedOcspPerCrlCount"; +pub const CRYPTNET_MAX_CACHED_OCSP_PER_CRL_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetMaxCachedOcspPerCrlCount"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPTNET_OCSP_AFTER_CRL_DISABLE: u32 = 4294967295u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_PRE_FETCH_AFTER_CURRENT_TIME_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchAfterCurrentTimePreFetchPeriodSeconds"; +pub const CRYPTNET_PRE_FETCH_AFTER_CURRENT_TIME_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetPreFetchAfterCurrentTimePreFetchPeriodSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPTNET_PRE_FETCH_AFTER_PUBLISH_PRE_FETCH_DIVISOR_DEFAULT: u32 = 10u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_PRE_FETCH_AFTER_PUBLISH_PRE_FETCH_DIVISOR_VALUE_NAME: &str = "CryptnetPreFetchAfterPublishPreFetchDivisor"; +pub const CRYPTNET_PRE_FETCH_AFTER_PUBLISH_PRE_FETCH_DIVISOR_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetPreFetchAfterPublishPreFetchDivisor"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPTNET_PRE_FETCH_BEFORE_NEXT_UPDATE_PRE_FETCH_DIVISOR_DEFAULT: u32 = 20u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_PRE_FETCH_BEFORE_NEXT_UPDATE_PRE_FETCH_DIVISOR_VALUE_NAME: &str = "CryptnetPreFetchBeforeNextUpdatePreFetchDivisor"; +pub const CRYPTNET_PRE_FETCH_BEFORE_NEXT_UPDATE_PRE_FETCH_DIVISOR_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetPreFetchBeforeNextUpdatePreFetchDivisor"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_PRE_FETCH_MAX_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchMaxAfterNextUpdatePreFetchPeriodSeconds"; +pub const CRYPTNET_PRE_FETCH_MAX_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetPreFetchMaxAfterNextUpdatePreFetchPeriodSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_PRE_FETCH_MAX_MAX_AGE_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchMaxMaxAgeSeconds"; +pub const CRYPTNET_PRE_FETCH_MAX_MAX_AGE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetPreFetchMaxMaxAgeSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchMinAfterNextUpdatePreFetchPeriodSeconds"; +pub const CRYPTNET_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetPreFetchMinAfterNextUpdatePreFetchPeriodSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchMinBeforeNextUpdatePreFetchSeconds"; +pub const CRYPTNET_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetPreFetchMinBeforeNextUpdatePreFetchSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_PRE_FETCH_MIN_MAX_AGE_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchMinMaxAgeSeconds"; +pub const CRYPTNET_PRE_FETCH_MIN_MAX_AGE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetPreFetchMinMaxAgeSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_PRE_FETCH_MIN_OCSP_VALIDITY_PERIOD_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchMinOcspValidityPeriodSeconds"; +pub const CRYPTNET_PRE_FETCH_MIN_OCSP_VALIDITY_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetPreFetchMinOcspValidityPeriodSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_PRE_FETCH_RETRIEVAL_TIMEOUT_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchRetrievalTimeoutSeconds"; +pub const CRYPTNET_PRE_FETCH_RETRIEVAL_TIMEOUT_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetPreFetchRetrievalTimeoutSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPTNET_PRE_FETCH_SCAN_AFTER_TRIGGER_DELAY_SECONDS_DEFAULT: u32 = 60u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_PRE_FETCH_SCAN_AFTER_TRIGGER_DELAY_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchScanAfterTriggerDelaySeconds"; +pub const CRYPTNET_PRE_FETCH_SCAN_AFTER_TRIGGER_DELAY_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetPreFetchScanAfterTriggerDelaySeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPTNET_PRE_FETCH_TRIGGER_DISABLE: u32 = 4294967295u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_PRE_FETCH_TRIGGER_PERIOD_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchTriggerPeriodSeconds"; +pub const CRYPTNET_PRE_FETCH_TRIGGER_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetPreFetchTriggerPeriodSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPTNET_PRE_FETCH_VALIDITY_PERIOD_AFTER_NEXT_UPDATE_PRE_FETCH_DIVISOR_DEFAULT: u32 = 10u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_PRE_FETCH_VALIDITY_PERIOD_AFTER_NEXT_UPDATE_PRE_FETCH_DIVISOR_VALUE_NAME: &str = "CryptnetPreFetchValidityPeriodAfterNextUpdatePreFetchDivisor"; +pub const CRYPTNET_PRE_FETCH_VALIDITY_PERIOD_AFTER_NEXT_UPDATE_PRE_FETCH_DIVISOR_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetPreFetchValidityPeriodAfterNextUpdatePreFetchDivisor"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPTNET_URL_CACHE_DEFAULT_FLUSH: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPTNET_URL_CACHE_DEFAULT_FLUSH_EXEMPT_SECONDS_VALUE_NAME: &str = "CryptnetDefaultFlushExemptSeconds"; +pub const CRYPTNET_URL_CACHE_DEFAULT_FLUSH_EXEMPT_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptnetDefaultFlushExemptSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPTNET_URL_CACHE_DISABLE_FLUSH: u32 = 4294967295u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3698,9 +3303,9 @@ pub const CRYPT_DECRYPT_RSA_NO_PADDING_CHECK: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_DEFAULT_CONTAINER_OPTIONAL: u32 = 128u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_DEFAULT_CONTEXT: &str = "Default"; +pub const CRYPT_DEFAULT_CONTEXT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Default"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_DEFAULT_OID: &str = "DEFAULT"; +pub const CRYPT_DEFAULT_OID: ::windows_sys::core::PCSTR = ::windows_sys::s!("DEFAULT"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_DELETEKEYSET: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3834,7 +3439,7 @@ pub const CRYPT_LITTLE_ENDIAN: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_LOCALIZED_NAME_ENCODING_TYPE: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_LOCALIZED_NAME_OID: &str = "LocalizedNames"; +pub const CRYPT_LOCALIZED_NAME_OID: ::windows_sys::core::PCSTR = ::windows_sys::s!("LocalizedNames"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_MAC: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3898,43 +3503,43 @@ pub const CRYPT_OCSP_ONLY_RETRIEVAL: u32 = 16777216u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_OFFLINE_CHECK_RETRIEVAL: u32 = 16384u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_CREATE_COM_OBJECT_FUNC: &str = "CryptDllCreateCOMObject"; +pub const CRYPT_OID_CREATE_COM_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllCreateCOMObject"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_DECODE_OBJECT_EX_FUNC: &str = "CryptDllDecodeObjectEx"; +pub const CRYPT_OID_DECODE_OBJECT_EX_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllDecodeObjectEx"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_DECODE_OBJECT_FUNC: &str = "CryptDllDecodeObject"; +pub const CRYPT_OID_DECODE_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllDecodeObject"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_OID_DISABLE_SEARCH_DS_FLAG: u32 = 2147483648u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_ENCODE_OBJECT_EX_FUNC: &str = "CryptDllEncodeObjectEx"; +pub const CRYPT_OID_ENCODE_OBJECT_EX_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllEncodeObjectEx"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_ENCODE_OBJECT_FUNC: &str = "CryptDllEncodeObject"; +pub const CRYPT_OID_ENCODE_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllEncodeObject"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_ENUM_PHYSICAL_STORE_FUNC: &str = "CertDllEnumPhysicalStore"; +pub const CRYPT_OID_ENUM_PHYSICAL_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CertDllEnumPhysicalStore"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_ENUM_SYSTEM_STORE_FUNC: &str = "CertDllEnumSystemStore"; +pub const CRYPT_OID_ENUM_SYSTEM_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CertDllEnumSystemStore"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_EXPORT_PRIVATE_KEY_INFO_FUNC: &str = "CryptDllExportPrivateKeyInfoEx"; +pub const CRYPT_OID_EXPORT_PRIVATE_KEY_INFO_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllExportPrivateKeyInfoEx"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_EX2_FUNC: &str = "CryptDllExportPublicKeyInfoEx2"; +pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_EX2_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllExportPublicKeyInfoEx2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FROM_BCRYPT_HANDLE_FUNC: &str = "CryptDllExportPublicKeyInfoFromBCryptKeyHandle"; +pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FROM_BCRYPT_HANDLE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllExportPublicKeyInfoFromBCryptKeyHandle"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FUNC: &str = "CryptDllExportPublicKeyInfoEx"; +pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllExportPublicKeyInfoEx"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_EXTRACT_ENCODED_SIGNATURE_PARAMETERS_FUNC: &str = "CryptDllExtractEncodedSignatureParameters"; +pub const CRYPT_OID_EXTRACT_ENCODED_SIGNATURE_PARAMETERS_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllExtractEncodedSignatureParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_FIND_LOCALIZED_NAME_FUNC: &str = "CryptDllFindLocalizedName"; +pub const CRYPT_OID_FIND_LOCALIZED_NAME_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllFindLocalizedName"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_FIND_OID_INFO_FUNC: &str = "CryptDllFindOIDInfo"; +pub const CRYPT_OID_FIND_OID_INFO_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllFindOIDInfo"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_FORMAT_OBJECT_FUNC: &str = "CryptDllFormatObject"; +pub const CRYPT_OID_FORMAT_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllFormatObject"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_IMPORT_PRIVATE_KEY_INFO_FUNC: &str = "CryptDllImportPrivateKeyInfoEx"; +pub const CRYPT_OID_IMPORT_PRIVATE_KEY_INFO_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllImportPrivateKeyInfoEx"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_EX2_FUNC: &str = "CryptDllImportPublicKeyInfoEx2"; +pub const CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_EX2_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllImportPublicKeyInfoEx2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_FUNC: &str = "CryptDllImportPublicKeyInfoEx"; +pub const CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllImportPublicKeyInfoEx"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_OID_INFO_ALGID_KEY: u32 = 3u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3942,21 +3547,21 @@ pub const CRYPT_OID_INFO_CNG_ALGID_KEY: u32 = 5u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_OID_INFO_CNG_SIGN_KEY: u32 = 6u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_INFO_ECC_PARAMETERS_ALGORITHM: &str = "CryptOIDInfoECCParameters"; +pub const CRYPT_OID_INFO_ECC_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptOIDInfoECCParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_INFO_ECC_WRAP_PARAMETERS_ALGORITHM: &str = "CryptOIDInfoECCWrapParameters"; +pub const CRYPT_OID_INFO_ECC_WRAP_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptOIDInfoECCWrapParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_INFO_HASH_PARAMETERS_ALGORITHM: &str = "CryptOIDInfoHashParameters"; +pub const CRYPT_OID_INFO_HASH_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptOIDInfoHashParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_INFO_MGF1_PARAMETERS_ALGORITHM: &str = "CryptOIDInfoMgf1Parameters"; +pub const CRYPT_OID_INFO_MGF1_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptOIDInfoMgf1Parameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_OID_INFO_NAME_KEY: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_INFO_NO_PARAMETERS_ALGORITHM: &str = "CryptOIDInfoNoParameters"; +pub const CRYPT_OID_INFO_NO_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptOIDInfoNoParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_INFO_NO_SIGN_ALGORITHM: &str = "CryptOIDInfoNoSign"; +pub const CRYPT_OID_INFO_NO_SIGN_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptOIDInfoNoSign"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_INFO_OAEP_PARAMETERS_ALGORITHM: &str = "CryptOIDInfoOAEPParameters"; +pub const CRYPT_OID_INFO_OAEP_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptOIDInfoOAEPParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_OID_INFO_OID_GROUP_BIT_LEN_MASK: u32 = 268369920u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3972,9 +3577,9 @@ pub const CRYPT_OID_INHIBIT_SIGNATURE_FORMAT_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_OID_NO_NULL_ALGORITHM_PARA_FLAG: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_OPEN_STORE_PROV_FUNC: &str = "CertDllOpenStoreProv"; +pub const CRYPT_OID_OPEN_STORE_PROV_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CertDllOpenStoreProv"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_OPEN_SYSTEM_STORE_PROV_FUNC: &str = "CertDllOpenSystemStoreProv"; +pub const CRYPT_OID_OPEN_SYSTEM_STORE_PROV_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CertDllOpenSystemStoreProv"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_OID_PREFER_CNG_ALGID_FLAG: u32 = 1073741824u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -3982,29 +3587,29 @@ pub const CRYPT_OID_PUBKEY_ENCRYPT_ONLY_FLAG: u32 = 1073741824u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_OID_PUBKEY_SIGN_ONLY_FLAG: u32 = 2147483648u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_REGISTER_PHYSICAL_STORE_FUNC: &str = "CertDllRegisterPhysicalStore"; +pub const CRYPT_OID_REGISTER_PHYSICAL_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CertDllRegisterPhysicalStore"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_REGISTER_SYSTEM_STORE_FUNC: &str = "CertDllRegisterSystemStore"; +pub const CRYPT_OID_REGISTER_SYSTEM_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CertDllRegisterSystemStore"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_REGPATH: &str = "Software\\Microsoft\\Cryptography\\OID"; +pub const CRYPT_OID_REGPATH: ::windows_sys::core::PCSTR = ::windows_sys::s!("Software\\Microsoft\\Cryptography\\OID"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_REG_DLL_VALUE_NAME: &str = "Dll"; +pub const CRYPT_OID_REG_DLL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Dll"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_REG_ENCODING_TYPE_PREFIX: &str = "EncodingType "; +pub const CRYPT_OID_REG_ENCODING_TYPE_PREFIX: ::windows_sys::core::PCSTR = ::windows_sys::s!("EncodingType "); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_REG_FLAGS_VALUE_NAME: &str = "CryptFlags"; +pub const CRYPT_OID_REG_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CryptFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_REG_FUNC_NAME_VALUE_NAME: &str = "FuncName"; +pub const CRYPT_OID_REG_FUNC_NAME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FuncName"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_REG_FUNC_NAME_VALUE_NAME_A: &str = "FuncName"; +pub const CRYPT_OID_REG_FUNC_NAME_VALUE_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("FuncName"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_SIGN_AND_ENCODE_HASH_FUNC: &str = "CryptDllSignAndEncodeHash"; +pub const CRYPT_OID_SIGN_AND_ENCODE_HASH_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllSignAndEncodeHash"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_SYSTEM_STORE_LOCATION_VALUE_NAME: &str = "SystemStoreLocation"; +pub const CRYPT_OID_SYSTEM_STORE_LOCATION_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SystemStoreLocation"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_UNREGISTER_PHYSICAL_STORE_FUNC: &str = "CertDllUnregisterPhysicalStore"; +pub const CRYPT_OID_UNREGISTER_PHYSICAL_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CertDllUnregisterPhysicalStore"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_UNREGISTER_SYSTEM_STORE_FUNC: &str = "CertDllUnregisterSystemStore"; +pub const CRYPT_OID_UNREGISTER_SYSTEM_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CertDllUnregisterSystemStore"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_OID_USE_CURVE_NAME_FOR_ENCODE_FLAG: u32 = 536870912u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -4012,13 +3617,13 @@ pub const CRYPT_OID_USE_CURVE_PARAMETERS_FOR_ENCODE_FLAG: u32 = 268435456u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_OID_USE_PUBKEY_PARA_FOR_PKCS7_FLAG: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_VERIFY_CERTIFICATE_CHAIN_POLICY_FUNC: &str = "CertDllVerifyCertificateChainPolicy"; +pub const CRYPT_OID_VERIFY_CERTIFICATE_CHAIN_POLICY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CertDllVerifyCertificateChainPolicy"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_VERIFY_CTL_USAGE_FUNC: &str = "CertDllVerifyCTLUsage"; +pub const CRYPT_OID_VERIFY_CTL_USAGE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CertDllVerifyCTLUsage"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_VERIFY_ENCODED_SIGNATURE_FUNC: &str = "CryptDllVerifyEncodedSignature"; +pub const CRYPT_OID_VERIFY_ENCODED_SIGNATURE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CryptDllVerifyEncodedSignature"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const CRYPT_OID_VERIFY_REVOCATION_FUNC: &str = "CertDllVerifyRevocation"; +pub const CRYPT_OID_VERIFY_REVOCATION_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("CertDllVerifyRevocation"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const CRYPT_OVERWRITE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -4246,9 +3851,9 @@ pub const ECC_CMS_SHARED_INFO: ::windows_sys::core::PCSTR = 77i32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const EXPORT_PRIVATE_KEYS: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const EXPO_OFFLOAD_FUNC_NAME: &str = "OffloadModExpo"; +pub const EXPO_OFFLOAD_FUNC_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("OffloadModExpo"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const EXPO_OFFLOAD_REG_VALUE: &str = "ExpoOffload"; +pub const EXPO_OFFLOAD_REG_VALUE: ::windows_sys::core::PCSTR = ::windows_sys::s!("ExpoOffload"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const E_ICARD_ARGUMENT: ::windows_sys::core::HRESULT = -1073413883i32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -4442,21 +4047,21 @@ pub const KP_X: u32 = 14u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const KP_Y: u32 = 15u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const LEGACY_DH_PRIVATE_BLOB: &str = "CAPIDHPRIVATEBLOB"; +pub const LEGACY_DH_PRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAPIDHPRIVATEBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const LEGACY_DH_PUBLIC_BLOB: &str = "CAPIDHPUBLICBLOB"; +pub const LEGACY_DH_PUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAPIDHPUBLICBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const LEGACY_DSA_PRIVATE_BLOB: &str = "CAPIDSAPRIVATEBLOB"; +pub const LEGACY_DSA_PRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAPIDSAPRIVATEBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const LEGACY_DSA_PUBLIC_BLOB: &str = "CAPIDSAPUBLICBLOB"; +pub const LEGACY_DSA_PUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAPIDSAPUBLICBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const LEGACY_DSA_V2_PRIVATE_BLOB: &str = "V2CAPIDSAPRIVATEBLOB"; +pub const LEGACY_DSA_V2_PRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("V2CAPIDSAPRIVATEBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const LEGACY_DSA_V2_PUBLIC_BLOB: &str = "V2CAPIDSAPUBLICBLOB"; +pub const LEGACY_DSA_V2_PUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("V2CAPIDSAPUBLICBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const LEGACY_RSAPRIVATE_BLOB: &str = "CAPIPRIVATEBLOB"; +pub const LEGACY_RSAPRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAPIPRIVATEBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const LEGACY_RSAPUBLIC_BLOB: &str = "CAPIPUBLICBLOB"; +pub const LEGACY_RSAPUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAPIPUBLICBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const MAXUIDLEN: u32 = 64u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -4466,91 +4071,91 @@ pub const MICROSOFT_ROOT_CERT_CHAIN_POLICY_DISABLE_FLIGHT_ROOT_FLAG: u32 = 26214 #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const MICROSOFT_ROOT_CERT_CHAIN_POLICY_ENABLE_TEST_ROOT_FLAG: u32 = 65536u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_DH_SCHANNEL_PROV: &str = "Microsoft DH SChannel Cryptographic Provider"; +pub const MS_DEF_DH_SCHANNEL_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft DH SChannel Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_DH_SCHANNEL_PROV_A: &str = "Microsoft DH SChannel Cryptographic Provider"; +pub const MS_DEF_DH_SCHANNEL_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft DH SChannel Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_DH_SCHANNEL_PROV_W: &str = "Microsoft DH SChannel Cryptographic Provider"; +pub const MS_DEF_DH_SCHANNEL_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft DH SChannel Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_DSS_DH_PROV: &str = "Microsoft Base DSS and Diffie-Hellman Cryptographic Provider"; +pub const MS_DEF_DSS_DH_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Base DSS and Diffie-Hellman Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_DSS_DH_PROV_A: &str = "Microsoft Base DSS and Diffie-Hellman Cryptographic Provider"; +pub const MS_DEF_DSS_DH_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft Base DSS and Diffie-Hellman Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_DSS_DH_PROV_W: &str = "Microsoft Base DSS and Diffie-Hellman Cryptographic Provider"; +pub const MS_DEF_DSS_DH_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Base DSS and Diffie-Hellman Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_DSS_PROV: &str = "Microsoft Base DSS Cryptographic Provider"; +pub const MS_DEF_DSS_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Base DSS Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_DSS_PROV_A: &str = "Microsoft Base DSS Cryptographic Provider"; +pub const MS_DEF_DSS_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft Base DSS Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_DSS_PROV_W: &str = "Microsoft Base DSS Cryptographic Provider"; +pub const MS_DEF_DSS_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Base DSS Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_PROV: &str = "Microsoft Base Cryptographic Provider v1.0"; +pub const MS_DEF_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Base Cryptographic Provider v1.0"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_PROV_A: &str = "Microsoft Base Cryptographic Provider v1.0"; +pub const MS_DEF_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft Base Cryptographic Provider v1.0"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_PROV_W: &str = "Microsoft Base Cryptographic Provider v1.0"; +pub const MS_DEF_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Base Cryptographic Provider v1.0"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_RSA_SCHANNEL_PROV: &str = "Microsoft RSA SChannel Cryptographic Provider"; +pub const MS_DEF_RSA_SCHANNEL_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft RSA SChannel Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_RSA_SCHANNEL_PROV_A: &str = "Microsoft RSA SChannel Cryptographic Provider"; +pub const MS_DEF_RSA_SCHANNEL_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft RSA SChannel Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_RSA_SCHANNEL_PROV_W: &str = "Microsoft RSA SChannel Cryptographic Provider"; +pub const MS_DEF_RSA_SCHANNEL_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft RSA SChannel Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_RSA_SIG_PROV: &str = "Microsoft RSA Signature Cryptographic Provider"; +pub const MS_DEF_RSA_SIG_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft RSA Signature Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_RSA_SIG_PROV_A: &str = "Microsoft RSA Signature Cryptographic Provider"; +pub const MS_DEF_RSA_SIG_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft RSA Signature Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_DEF_RSA_SIG_PROV_W: &str = "Microsoft RSA Signature Cryptographic Provider"; +pub const MS_DEF_RSA_SIG_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft RSA Signature Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_ENHANCED_PROV: &str = "Microsoft Enhanced Cryptographic Provider v1.0"; +pub const MS_ENHANCED_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Enhanced Cryptographic Provider v1.0"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_ENHANCED_PROV_A: &str = "Microsoft Enhanced Cryptographic Provider v1.0"; +pub const MS_ENHANCED_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft Enhanced Cryptographic Provider v1.0"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_ENHANCED_PROV_W: &str = "Microsoft Enhanced Cryptographic Provider v1.0"; +pub const MS_ENHANCED_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Enhanced Cryptographic Provider v1.0"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_ENH_DSS_DH_PROV: &str = "Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider"; +pub const MS_ENH_DSS_DH_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_ENH_DSS_DH_PROV_A: &str = "Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider"; +pub const MS_ENH_DSS_DH_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_ENH_DSS_DH_PROV_W: &str = "Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider"; +pub const MS_ENH_DSS_DH_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_ENH_RSA_AES_PROV: &str = "Microsoft Enhanced RSA and AES Cryptographic Provider"; +pub const MS_ENH_RSA_AES_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Enhanced RSA and AES Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_ENH_RSA_AES_PROV_A: &str = "Microsoft Enhanced RSA and AES Cryptographic Provider"; +pub const MS_ENH_RSA_AES_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft Enhanced RSA and AES Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_ENH_RSA_AES_PROV_W: &str = "Microsoft Enhanced RSA and AES Cryptographic Provider"; +pub const MS_ENH_RSA_AES_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Enhanced RSA and AES Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_ENH_RSA_AES_PROV_XP: &str = "Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)"; +pub const MS_ENH_RSA_AES_PROV_XP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_ENH_RSA_AES_PROV_XP_A: &str = "Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)"; +pub const MS_ENH_RSA_AES_PROV_XP_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_ENH_RSA_AES_PROV_XP_W: &str = "Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)"; +pub const MS_ENH_RSA_AES_PROV_XP_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_KEY_PROTECTION_PROVIDER: &str = "Microsoft Key Protection Provider"; +pub const MS_KEY_PROTECTION_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Key Protection Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_KEY_STORAGE_PROVIDER: &str = "Microsoft Software Key Storage Provider"; +pub const MS_KEY_STORAGE_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Software Key Storage Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_NGC_KEY_STORAGE_PROVIDER: &str = "Microsoft Passport Key Storage Provider"; +pub const MS_NGC_KEY_STORAGE_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Passport Key Storage Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_PLATFORM_CRYPTO_PROVIDER: &str = "Microsoft Platform Crypto Provider"; +pub const MS_PLATFORM_CRYPTO_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Platform Crypto Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_PLATFORM_KEY_STORAGE_PROVIDER: &str = "Microsoft Platform Crypto Provider"; +pub const MS_PLATFORM_KEY_STORAGE_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Platform Crypto Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_PRIMITIVE_PROVIDER: &str = "Microsoft Primitive Provider"; +pub const MS_PRIMITIVE_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Primitive Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_SCARD_PROV: &str = "Microsoft Base Smart Card Crypto Provider"; +pub const MS_SCARD_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Base Smart Card Crypto Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_SCARD_PROV_A: &str = "Microsoft Base Smart Card Crypto Provider"; +pub const MS_SCARD_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft Base Smart Card Crypto Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_SCARD_PROV_W: &str = "Microsoft Base Smart Card Crypto Provider"; +pub const MS_SCARD_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Base Smart Card Crypto Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_SMART_CARD_KEY_STORAGE_PROVIDER: &str = "Microsoft Smart Card Key Storage Provider"; +pub const MS_SMART_CARD_KEY_STORAGE_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Smart Card Key Storage Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_STRONG_PROV: &str = "Microsoft Strong Cryptographic Provider"; +pub const MS_STRONG_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Strong Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_STRONG_PROV_A: &str = "Microsoft Strong Cryptographic Provider"; +pub const MS_STRONG_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::s!("Microsoft Strong Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const MS_STRONG_PROV_W: &str = "Microsoft Strong Cryptographic Provider"; +pub const MS_STRONG_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Microsoft Strong Cryptographic Provider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPTBUFFER_ATTESTATIONSTATEMENT_BLOB: u32 = 51u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -4622,17 +4227,17 @@ pub const NCRYPTBUFFER_VERSION: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPTBUFFER_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS: u32 = 54u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_3DES_112_ALGORITHM: &str = "3DES_112"; +pub const NCRYPT_3DES_112_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("3DES_112"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_3DES_ALGORITHM: &str = "3DES"; +pub const NCRYPT_3DES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("3DES"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_AES_ALGORITHM: &str = "AES"; +pub const NCRYPT_AES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AES"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_AES_ALGORITHM_GROUP: &str = "AES"; +pub const NCRYPT_AES_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AES"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ALGORITHM_GROUP_PROPERTY: &str = "Algorithm Group"; +pub const NCRYPT_ALGORITHM_GROUP_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Algorithm Group"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ALGORITHM_PROPERTY: &str = "Algorithm Name"; +pub const NCRYPT_ALGORITHM_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Algorithm Name"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_ALLOW_ALL_USAGES: u32 = 16777215u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -4654,29 +4259,29 @@ pub const NCRYPT_ALLOW_SIGNING_FLAG: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_ALLOW_SILENT_KEY_ACCESS: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ALTERNATE_KEY_STORAGE_LOCATION_PROPERTY: &str = "PCP_ALTERNATE_KEY_STORAGE_LOCATION"; +pub const NCRYPT_ALTERNATE_KEY_STORAGE_LOCATION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_ALTERNATE_KEY_STORAGE_LOCATION"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ASSOCIATED_ECDH_KEY: &str = "SmartCardAssociatedECDHKey"; +pub const NCRYPT_ASSOCIATED_ECDH_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SmartCardAssociatedECDHKey"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_ATTESTATION_FLAG: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_AUTHORITY_KEY_FLAG: u32 = 256u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_AUTH_TAG_LENGTH: &str = "AuthTagLength"; +pub const NCRYPT_AUTH_TAG_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AuthTagLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_BLOCK_LENGTH_PROPERTY: &str = "Block Length"; +pub const NCRYPT_BLOCK_LENGTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Block Length"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_CAPI_KDF_ALGORITHM: &str = "CAPI_KDF"; +pub const NCRYPT_CAPI_KDF_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CAPI_KDF"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_CERTIFICATE_PROPERTY: &str = "SmartCardKeyCertificate"; +pub const NCRYPT_CERTIFICATE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SmartCardKeyCertificate"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_CHAINING_MODE_PROPERTY: &str = "Chaining Mode"; +pub const NCRYPT_CHAINING_MODE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Chaining Mode"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_CHANGEPASSWORD_PROPERTY: &str = "PCP_CHANGEPASSWORD"; +pub const NCRYPT_CHANGEPASSWORD_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_CHANGEPASSWORD"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_CIPHER_BLOCK_PADDING_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_CIPHER_KEY_BLOB: &str = "CipherKeyBlob"; +pub const NCRYPT_CIPHER_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CipherKeyBlob"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_CIPHER_KEY_BLOB_MAGIC: u32 = 1380470851u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -4698,57 +4303,57 @@ pub const NCRYPT_CLAIM_VSM_KEY_ATTESTATION_STATEMENT: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_CLAIM_WEB_AUTH_SUBJECT_ONLY: u32 = 258u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_DESCR_DELIMITER_AND: &str = "AND"; +pub const NCRYPT_DESCR_DELIMITER_AND: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AND"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_DESCR_DELIMITER_OR: &str = "OR"; +pub const NCRYPT_DESCR_DELIMITER_OR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OR"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_DESCR_EQUAL: &str = "="; +pub const NCRYPT_DESCR_EQUAL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("="); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_DESX_ALGORITHM: &str = "DESX"; +pub const NCRYPT_DESX_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DESX"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_DES_ALGORITHM: &str = "DES"; +pub const NCRYPT_DES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DES"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_DES_ALGORITHM_GROUP: &str = "DES"; +pub const NCRYPT_DES_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DES"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_DH_ALGORITHM: &str = "DH"; +pub const NCRYPT_DH_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DH"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_DH_ALGORITHM_GROUP: &str = "DH"; +pub const NCRYPT_DH_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DH"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_DH_PARAMETERS_PROPERTY: &str = "DHParameters"; +pub const NCRYPT_DH_PARAMETERS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DHParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_DISMISS_UI_TIMEOUT_SEC_PROPERTY: &str = "SmartCardDismissUITimeoutSeconds"; +pub const NCRYPT_DISMISS_UI_TIMEOUT_SEC_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SmartCardDismissUITimeoutSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_DO_NOT_FINALIZE_FLAG: u32 = 1024u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_DSA_ALGORITHM: &str = "DSA"; +pub const NCRYPT_DSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DSA"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_DSA_ALGORITHM_GROUP: &str = "DSA"; +pub const NCRYPT_DSA_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DSA"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ECC_CURVE_NAME_LIST_PROPERTY: &str = "ECCCurveNameList"; +pub const NCRYPT_ECC_CURVE_NAME_LIST_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECCCurveNameList"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ECC_CURVE_NAME_PROPERTY: &str = "ECCCurveName"; +pub const NCRYPT_ECC_CURVE_NAME_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECCCurveName"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ECC_PARAMETERS_PROPERTY: &str = "ECCParameters"; +pub const NCRYPT_ECC_PARAMETERS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECCParameters"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ECDH_ALGORITHM: &str = "ECDH"; +pub const NCRYPT_ECDH_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDH"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ECDH_ALGORITHM_GROUP: &str = "ECDH"; +pub const NCRYPT_ECDH_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDH"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ECDH_P256_ALGORITHM: &str = "ECDH_P256"; +pub const NCRYPT_ECDH_P256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDH_P256"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ECDH_P384_ALGORITHM: &str = "ECDH_P384"; +pub const NCRYPT_ECDH_P384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDH_P384"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ECDH_P521_ALGORITHM: &str = "ECDH_P521"; +pub const NCRYPT_ECDH_P521_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDH_P521"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ECDSA_ALGORITHM: &str = "ECDSA"; +pub const NCRYPT_ECDSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDSA"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ECDSA_ALGORITHM_GROUP: &str = "ECDSA"; +pub const NCRYPT_ECDSA_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDSA"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ECDSA_P256_ALGORITHM: &str = "ECDSA_P256"; +pub const NCRYPT_ECDSA_P256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDSA_P256"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ECDSA_P384_ALGORITHM: &str = "ECDSA_P384"; +pub const NCRYPT_ECDSA_P384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDSA_P384"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ECDSA_P521_ALGORITHM: &str = "ECDSA_P521"; +pub const NCRYPT_ECDSA_P521_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ECDSA_P521"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_EXPORTED_ISOLATED_KEY_HEADER_CURRENT_VERSION: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -4756,9 +4361,9 @@ pub const NCRYPT_EXPORTED_ISOLATED_KEY_HEADER_V0: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_EXPORT_LEGACY_FLAG: u32 = 2048u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_EXPORT_POLICY_PROPERTY: &str = "Export Policy"; +pub const NCRYPT_EXPORT_POLICY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Export Policy"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_HMAC_SHA256_ALGORITHM: &str = "HMAC-SHA256"; +pub const NCRYPT_HMAC_SHA256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HMAC-SHA256"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_IGNORE_DEVICE_STATE_FLAG: u32 = 4096u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -4770,257 +4375,257 @@ pub const NCRYPT_IMPL_REMOVABLE_FLAG: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_IMPL_SOFTWARE_FLAG: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_IMPL_TYPE_PROPERTY: &str = "Impl Type"; +pub const NCRYPT_IMPL_TYPE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Impl Type"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_IMPL_VIRTUAL_ISOLATION_FLAG: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_INITIALIZATION_VECTOR: &str = "IV"; +pub const NCRYPT_INITIALIZATION_VECTOR: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IV"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_ISOLATED_KEY_ATTESTED_ATTRIBUTES_CURRENT_VERSION: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_ISOLATED_KEY_ATTESTED_ATTRIBUTES_V0: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ISOLATED_KEY_ENVELOPE_BLOB: &str = "ISOLATED_KEY_ENVELOPE"; +pub const NCRYPT_ISOLATED_KEY_ENVELOPE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ISOLATED_KEY_ENVELOPE"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_ISOLATED_KEY_FLAG_CREATED_IN_ISOLATION: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_ISOLATED_KEY_FLAG_IMPORT_ONLY: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KDF_KEY_BLOB: &str = "KDFKeyBlob"; +pub const NCRYPT_KDF_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KDFKeyBlob"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_KDF_KEY_BLOB_MAGIC: u32 = 826688587u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KDF_SECRET_VALUE: &str = "KDFKeySecret"; +pub const NCRYPT_KDF_SECRET_VALUE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KDFKeySecret"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_ACCESS_POLICY_PROPERTY: &str = "Key Access Policy"; +pub const NCRYPT_KEY_ACCESS_POLICY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Key Access Policy"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_KEY_ACCESS_POLICY_VERSION: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_KEY_ATTEST_MAGIC: u32 = 1146110283u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_DERIVATION_GROUP: &str = "KEY_DERIVATION"; +pub const NCRYPT_KEY_DERIVATION_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KEY_DERIVATION"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_KEY_DERIVATION_INTERFACE: u32 = 7u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_KEY_DERIVATION_OPERATION: u32 = 64u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_PROTECTION_ALGORITHM_CERTIFICATE: &str = "CERTIFICATE"; +pub const NCRYPT_KEY_PROTECTION_ALGORITHM_CERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CERTIFICATE"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_PROTECTION_ALGORITHM_LOCAL: &str = "LOCAL"; +pub const NCRYPT_KEY_PROTECTION_ALGORITHM_LOCAL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LOCAL"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_PROTECTION_ALGORITHM_LOCKEDCREDENTIALS: &str = "LOCKEDCREDENTIALS"; +pub const NCRYPT_KEY_PROTECTION_ALGORITHM_LOCKEDCREDENTIALS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("LOCKEDCREDENTIALS"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_PROTECTION_ALGORITHM_SDDL: &str = "SDDL"; +pub const NCRYPT_KEY_PROTECTION_ALGORITHM_SDDL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SDDL"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_PROTECTION_ALGORITHM_SID: &str = "SID"; +pub const NCRYPT_KEY_PROTECTION_ALGORITHM_SID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SID"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_PROTECTION_ALGORITHM_WEBCREDENTIALS: &str = "WEBCREDENTIALS"; +pub const NCRYPT_KEY_PROTECTION_ALGORITHM_WEBCREDENTIALS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WEBCREDENTIALS"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_PROTECTION_CERT_CERTBLOB: &str = "CertBlob"; +pub const NCRYPT_KEY_PROTECTION_CERT_CERTBLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertBlob"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_PROTECTION_CERT_HASHID: &str = "HashId"; +pub const NCRYPT_KEY_PROTECTION_CERT_HASHID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HashId"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_KEY_PROTECTION_INTERFACE: u32 = 65540u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_PROTECTION_LOCAL_LOGON: &str = "logon"; +pub const NCRYPT_KEY_PROTECTION_LOCAL_LOGON: ::windows_sys::core::PCWSTR = ::windows_sys::w!("logon"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_PROTECTION_LOCAL_MACHINE: &str = "machine"; +pub const NCRYPT_KEY_PROTECTION_LOCAL_MACHINE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("machine"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_PROTECTION_LOCAL_USER: &str = "user"; +pub const NCRYPT_KEY_PROTECTION_LOCAL_USER: ::windows_sys::core::PCWSTR = ::windows_sys::w!("user"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_STORAGE_ALGORITHM: &str = "KEY_STORAGE"; +pub const NCRYPT_KEY_STORAGE_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("KEY_STORAGE"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_TYPE_PROPERTY: &str = "Key Type"; +pub const NCRYPT_KEY_TYPE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Key Type"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_KEY_USAGE_PROPERTY: &str = "Key Usage"; +pub const NCRYPT_KEY_USAGE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Key Usage"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_LAST_MODIFIED_PROPERTY: &str = "Modified"; +pub const NCRYPT_LAST_MODIFIED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Modified"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_LENGTHS_PROPERTY: &str = "Lengths"; +pub const NCRYPT_LENGTHS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Lengths"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_LENGTH_PROPERTY: &str = "Length"; +pub const NCRYPT_LENGTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Length"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_MAX_ALG_ID_LENGTH: u32 = 512u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_MAX_KEY_NAME_LENGTH: u32 = 512u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_MAX_NAME_LENGTH_PROPERTY: &str = "Max Name Length"; +pub const NCRYPT_MAX_NAME_LENGTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Max Name Length"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_MAX_PROPERTY_DATA: u32 = 1048576u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_MAX_PROPERTY_NAME: u32 = 64u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_MD2_ALGORITHM: &str = "MD2"; +pub const NCRYPT_MD2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MD2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_MD4_ALGORITHM: &str = "MD4"; +pub const NCRYPT_MD4_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MD4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_MD5_ALGORITHM: &str = "MD5"; +pub const NCRYPT_MD5_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MD5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_NAMED_DESCRIPTOR_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_NAME_PROPERTY: &str = "Name"; +pub const NCRYPT_NAME_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Name"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_NO_CACHED_PASSWORD: u32 = 16384u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_OPAQUETRANSPORT_BLOB: &str = "OpaqueTransport"; +pub const NCRYPT_OPAQUETRANSPORT_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OpaqueTransport"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_PAD_CIPHER_FLAG: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PBKDF2_ALGORITHM: &str = "PBKDF2"; +pub const NCRYPT_PBKDF2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PBKDF2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_ALTERNATE_KEY_STORAGE_LOCATION_PROPERTY: &str = "PCP_ALTERNATE_KEY_STORAGE_LOCATION"; +pub const NCRYPT_PCP_ALTERNATE_KEY_STORAGE_LOCATION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_ALTERNATE_KEY_STORAGE_LOCATION"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_CHANGEPASSWORD_PROPERTY: &str = "PCP_CHANGEPASSWORD"; +pub const NCRYPT_PCP_CHANGEPASSWORD_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_CHANGEPASSWORD"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_ECC_EKCERT_PROPERTY: &str = "PCP_ECC_EKCERT"; +pub const NCRYPT_PCP_ECC_EKCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_ECC_EKCERT"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_ECC_EKNVCERT_PROPERTY: &str = "PCP_ECC_EKNVCERT"; +pub const NCRYPT_PCP_ECC_EKNVCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_ECC_EKNVCERT"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_ECC_EKPUB_PROPERTY: &str = "PCP_ECC_EKPUB"; +pub const NCRYPT_PCP_ECC_EKPUB_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_ECC_EKPUB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_EKCERT_PROPERTY: &str = "PCP_EKCERT"; +pub const NCRYPT_PCP_EKCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_EKCERT"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_EKNVCERT_PROPERTY: &str = "PCP_EKNVCERT"; +pub const NCRYPT_PCP_EKNVCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_EKNVCERT"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_EKPUB_PROPERTY: &str = "PCP_EKPUB"; +pub const NCRYPT_PCP_EKPUB_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_EKPUB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_PCP_ENCRYPTION_KEY: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_EXPORT_ALLOWED_PROPERTY: &str = "PCP_EXPORT_ALLOWED"; +pub const NCRYPT_PCP_EXPORT_ALLOWED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_EXPORT_ALLOWED"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_PCP_HMACVERIFICATION_KEY: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_HMAC_AUTH_NONCE: &str = "PCP_HMAC_AUTH_NONCE"; +pub const NCRYPT_PCP_HMAC_AUTH_NONCE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_HMAC_AUTH_NONCE"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_HMAC_AUTH_POLICYINFO: &str = "PCP_HMAC_AUTH_POLICYINFO"; +pub const NCRYPT_PCP_HMAC_AUTH_POLICYINFO: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_HMAC_AUTH_POLICYINFO"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_HMAC_AUTH_POLICYREF: &str = "PCP_HMAC_AUTH_POLICYREF"; +pub const NCRYPT_PCP_HMAC_AUTH_POLICYREF: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_HMAC_AUTH_POLICYREF"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_HMAC_AUTH_SIGNATURE: &str = "PCP_HMAC_AUTH_SIGNATURE"; +pub const NCRYPT_PCP_HMAC_AUTH_SIGNATURE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_HMAC_AUTH_SIGNATURE"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_HMAC_AUTH_TICKET: &str = "PCP_HMAC_AUTH_TICKET"; +pub const NCRYPT_PCP_HMAC_AUTH_TICKET: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_HMAC_AUTH_TICKET"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_PCP_IDENTITY_KEY: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_INTERMEDIATE_CA_EKCERT_PROPERTY: &str = "PCP_INTERMEDIATE_CA_EKCERT"; +pub const NCRYPT_PCP_INTERMEDIATE_CA_EKCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_INTERMEDIATE_CA_EKCERT"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_KEYATTESTATION_PROPERTY: &str = "PCP_TPM12_KEYATTESTATION"; +pub const NCRYPT_PCP_KEYATTESTATION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_TPM12_KEYATTESTATION"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_KEY_CREATIONHASH_PROPERTY: &str = "PCP_KEY_CREATIONHASH"; +pub const NCRYPT_PCP_KEY_CREATIONHASH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_KEY_CREATIONHASH"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_KEY_CREATIONTICKET_PROPERTY: &str = "PCP_KEY_CREATIONTICKET"; +pub const NCRYPT_PCP_KEY_CREATIONTICKET_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_KEY_CREATIONTICKET"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_KEY_USAGE_POLICY_PROPERTY: &str = "PCP_KEY_USAGE_POLICY"; +pub const NCRYPT_PCP_KEY_USAGE_POLICY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_KEY_USAGE_POLICY"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_MIGRATIONPASSWORD_PROPERTY: &str = "PCP_MIGRATIONPASSWORD"; +pub const NCRYPT_PCP_MIGRATIONPASSWORD_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_MIGRATIONPASSWORD"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_NO_DA_PROTECTION_PROPERTY: &str = "PCP_NO_DA_PROTECTION"; +pub const NCRYPT_PCP_NO_DA_PROTECTION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_NO_DA_PROTECTION"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_PASSWORD_REQUIRED_PROPERTY: &str = "PCP_PASSWORD_REQUIRED"; +pub const NCRYPT_PCP_PASSWORD_REQUIRED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_PASSWORD_REQUIRED"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_PCRTABLE_ALGORITHM_PROPERTY: &str = "PCP_PCRTABLE_ALGORITHM"; +pub const NCRYPT_PCP_PCRTABLE_ALGORITHM_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_PCRTABLE_ALGORITHM"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_PCRTABLE_PROPERTY: &str = "PCP_PCRTABLE"; +pub const NCRYPT_PCP_PCRTABLE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_PCRTABLE"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_PLATFORMHANDLE_PROPERTY: &str = "PCP_PLATFORMHANDLE"; +pub const NCRYPT_PCP_PLATFORMHANDLE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_PLATFORMHANDLE"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_PLATFORM_BINDING_PCRALGID_PROPERTY: &str = "PCP_PLATFORM_BINDING_PCRALGID"; +pub const NCRYPT_PCP_PLATFORM_BINDING_PCRALGID_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_PLATFORM_BINDING_PCRALGID"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_PLATFORM_BINDING_PCRDIGESTLIST_PROPERTY: &str = "PCP_PLATFORM_BINDING_PCRDIGESTLIST"; +pub const NCRYPT_PCP_PLATFORM_BINDING_PCRDIGESTLIST_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_PLATFORM_BINDING_PCRDIGESTLIST"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_PLATFORM_BINDING_PCRDIGEST_PROPERTY: &str = "PCP_PLATFORM_BINDING_PCRDIGEST"; +pub const NCRYPT_PCP_PLATFORM_BINDING_PCRDIGEST_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_PLATFORM_BINDING_PCRDIGEST"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_PLATFORM_BINDING_PCRMASK_PROPERTY: &str = "PCP_PLATFORM_BINDING_PCRMASK"; +pub const NCRYPT_PCP_PLATFORM_BINDING_PCRMASK_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_PLATFORM_BINDING_PCRMASK"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_PLATFORM_TYPE_PROPERTY: &str = "PCP_PLATFORM_TYPE"; +pub const NCRYPT_PCP_PLATFORM_TYPE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_PLATFORM_TYPE"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_PROVIDERHANDLE_PROPERTY: &str = "PCP_PROVIDERMHANDLE"; +pub const NCRYPT_PCP_PROVIDERHANDLE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_PROVIDERMHANDLE"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_PROVIDER_VERSION_PROPERTY: &str = "PCP_PROVIDER_VERSION"; +pub const NCRYPT_PCP_PROVIDER_VERSION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_PROVIDER_VERSION"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_PSS_SALT_SIZE_PROPERTY: &str = "PSS Salt Size"; +pub const NCRYPT_PCP_PSS_SALT_SIZE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PSS Salt Size"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_RAW_POLICYDIGEST_PROPERTY: &str = "PCP_RAW_POLICYDIGEST"; +pub const NCRYPT_PCP_RAW_POLICYDIGEST_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_RAW_POLICYDIGEST"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_RSA_EKCERT_PROPERTY: &str = "PCP_RSA_EKCERT"; +pub const NCRYPT_PCP_RSA_EKCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_RSA_EKCERT"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_RSA_EKNVCERT_PROPERTY: &str = "PCP_RSA_EKNVCERT"; +pub const NCRYPT_PCP_RSA_EKNVCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_RSA_EKNVCERT"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_RSA_EKPUB_PROPERTY: &str = "PCP_RSA_EKPUB"; +pub const NCRYPT_PCP_RSA_EKPUB_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_RSA_EKPUB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_RSA_SCHEME_HASH_ALG_PROPERTY: &str = "PCP_RSA_SCHEME_HASH_ALG"; +pub const NCRYPT_PCP_RSA_SCHEME_HASH_ALG_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_RSA_SCHEME_HASH_ALG"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_RSA_SCHEME_PROPERTY: &str = "PCP_RSA_SCHEME"; +pub const NCRYPT_PCP_RSA_SCHEME_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_RSA_SCHEME"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_SESSIONID_PROPERTY: &str = "PCP_SESSIONID"; +pub const NCRYPT_PCP_SESSIONID_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_SESSIONID"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_PCP_SIGNATURE_KEY: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_SRKPUB_PROPERTY: &str = "PCP_SRKPUB"; +pub const NCRYPT_PCP_SRKPUB_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_SRKPUB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_STORAGEPARENT_PROPERTY: &str = "PCP_STORAGEPARENT"; +pub const NCRYPT_PCP_STORAGEPARENT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_STORAGEPARENT"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_PCP_STORAGE_KEY: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_SYMMETRIC_KEYBITS_PROPERTY: &str = "PCP_SYMMETRIC_KEYBITS"; +pub const NCRYPT_PCP_SYMMETRIC_KEYBITS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_SYMMETRIC_KEYBITS"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_TPM12_IDACTIVATION_PROPERTY: &str = "PCP_TPM12_IDACTIVATION"; +pub const NCRYPT_PCP_TPM12_IDACTIVATION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_TPM12_IDACTIVATION"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_TPM12_IDBINDING_DYNAMIC_PROPERTY: &str = "PCP_TPM12_IDBINDING_DYNAMIC"; +pub const NCRYPT_PCP_TPM12_IDBINDING_DYNAMIC_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_TPM12_IDBINDING_DYNAMIC"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_TPM12_IDBINDING_PROPERTY: &str = "PCP_TPM12_IDBINDING"; +pub const NCRYPT_PCP_TPM12_IDBINDING_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_TPM12_IDBINDING"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_TPM2BNAME_PROPERTY: &str = "PCP_TPM2BNAME"; +pub const NCRYPT_PCP_TPM2BNAME_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_TPM2BNAME"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_TPM_FW_VERSION_PROPERTY: &str = "PCP_TPM_FW_VERSION"; +pub const NCRYPT_PCP_TPM_FW_VERSION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_TPM_FW_VERSION"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_TPM_IFX_RSA_KEYGEN_PROHIBITED_PROPERTY: &str = "PCP_TPM_IFX_RSA_KEYGEN_PROHIBITED"; +pub const NCRYPT_PCP_TPM_IFX_RSA_KEYGEN_PROHIBITED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_TPM_IFX_RSA_KEYGEN_PROHIBITED"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_TPM_IFX_RSA_KEYGEN_VULNERABILITY_PROPERTY: &str = "PCP_TPM_IFX_RSA_KEYGEN_VULNERABILITY"; +pub const NCRYPT_PCP_TPM_IFX_RSA_KEYGEN_VULNERABILITY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_TPM_IFX_RSA_KEYGEN_VULNERABILITY"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_TPM_MANUFACTURER_ID_PROPERTY: &str = "PCP_TPM_MANUFACTURER_ID"; +pub const NCRYPT_PCP_TPM_MANUFACTURER_ID_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_TPM_MANUFACTURER_ID"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_TPM_VERSION_PROPERTY: &str = "PCP_TPM_VERSION"; +pub const NCRYPT_PCP_TPM_VERSION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_TPM_VERSION"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PCP_USAGEAUTH_PROPERTY: &str = "PCP_USAGEAUTH"; +pub const NCRYPT_PCP_USAGEAUTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PCP_USAGEAUTH"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PIN_CACHE_APPLICATION_IMAGE_PROPERTY: &str = "PinCacheApplicationImage"; +pub const NCRYPT_PIN_CACHE_APPLICATION_IMAGE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PinCacheApplicationImage"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PIN_CACHE_APPLICATION_STATUS_PROPERTY: &str = "PinCacheApplicationStatus"; +pub const NCRYPT_PIN_CACHE_APPLICATION_STATUS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PinCacheApplicationStatus"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_PIN_CACHE_APPLICATION_TICKET_BYTE_LENGTH: u32 = 90u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PIN_CACHE_APPLICATION_TICKET_PROPERTY: &str = "PinCacheApplicationTicket"; +pub const NCRYPT_PIN_CACHE_APPLICATION_TICKET_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PinCacheApplicationTicket"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_PIN_CACHE_CLEAR_FOR_CALLING_PROCESS_OPTION: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PIN_CACHE_CLEAR_PROPERTY: &str = "PinCacheClear"; +pub const NCRYPT_PIN_CACHE_CLEAR_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PinCacheClear"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_PIN_CACHE_DISABLE_DPL_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PIN_CACHE_FLAGS_PROPERTY: &str = "PinCacheFlags"; +pub const NCRYPT_PIN_CACHE_FLAGS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PinCacheFlags"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PIN_CACHE_FREE_APPLICATION_TICKET_PROPERTY: &str = "PinCacheFreeApplicationTicket"; +pub const NCRYPT_PIN_CACHE_FREE_APPLICATION_TICKET_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PinCacheFreeApplicationTicket"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PIN_CACHE_IS_GESTURE_REQUIRED_PROPERTY: &str = "PinCacheIsGestureRequired"; +pub const NCRYPT_PIN_CACHE_IS_GESTURE_REQUIRED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PinCacheIsGestureRequired"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PIN_CACHE_PIN_PROPERTY: &str = "PinCachePin"; +pub const NCRYPT_PIN_CACHE_PIN_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PinCachePin"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_PIN_CACHE_REQUIRE_GESTURE_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PIN_PROMPT_PROPERTY: &str = "SmartCardPinPrompt"; +pub const NCRYPT_PIN_PROMPT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SmartCardPinPrompt"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PIN_PROPERTY: &str = "SmartCardPin"; +pub const NCRYPT_PIN_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SmartCardPin"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PKCS7_ENVELOPE_BLOB: &str = "PKCS7_ENVELOPE"; +pub const NCRYPT_PKCS7_ENVELOPE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PKCS7_ENVELOPE"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PKCS8_PRIVATE_KEY_BLOB: &str = "PKCS8_PRIVATEKEY"; +pub const NCRYPT_PKCS8_PRIVATE_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PKCS8_PRIVATEKEY"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_PLATFORM_ATTEST_MAGIC: u32 = 1146110288u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_PREFER_VIRTUAL_ISOLATION_FLAG: u32 = 65536u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PROTECTED_KEY_BLOB: &str = "ProtectedKeyBlob"; +pub const NCRYPT_PROTECTED_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ProtectedKeyBlob"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_PROTECTED_KEY_BLOB_MAGIC: u32 = 1263817296u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -5028,59 +4633,59 @@ pub const NCRYPT_PROTECTION_INFO_TYPE_DESCRIPTOR_STRING: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_PROTECT_TO_LOCAL_SYSTEM: u32 = 32768u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PROVIDER_HANDLE_PROPERTY: &str = "Provider Handle"; +pub const NCRYPT_PROVIDER_HANDLE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Provider Handle"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_PUBLIC_LENGTH_PROPERTY: &str = "PublicKeyLength"; +pub const NCRYPT_PUBLIC_LENGTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PublicKeyLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_RC2_ALGORITHM: &str = "RC2"; +pub const NCRYPT_RC2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RC2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_RC2_ALGORITHM_GROUP: &str = "RC2"; +pub const NCRYPT_RC2_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RC2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_READER_ICON_PROPERTY: &str = "SmartCardReaderIcon"; +pub const NCRYPT_READER_ICON_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SmartCardReaderIcon"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_READER_PROPERTY: &str = "SmartCardReader"; +pub const NCRYPT_READER_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SmartCardReader"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_ROOT_CERTSTORE_PROPERTY: &str = "SmartcardRootCertStore"; +pub const NCRYPT_ROOT_CERTSTORE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SmartcardRootCertStore"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_RSA_ALGORITHM: &str = "RSA"; +pub const NCRYPT_RSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RSA"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_RSA_ALGORITHM_GROUP: &str = "RSA"; +pub const NCRYPT_RSA_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RSA"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_RSA_SIGN_ALGORITHM: &str = "RSA_SIGN"; +pub const NCRYPT_RSA_SIGN_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RSA_SIGN"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_SCARD_NGC_KEY_NAME: &str = "SmartCardNgcKeyName"; +pub const NCRYPT_SCARD_NGC_KEY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SmartCardNgcKeyName"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_SCARD_PIN_ID: &str = "SmartCardPinId"; +pub const NCRYPT_SCARD_PIN_ID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SmartCardPinId"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_SCARD_PIN_INFO: &str = "SmartCardPinInfo"; +pub const NCRYPT_SCARD_PIN_INFO: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SmartCardPinInfo"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_SEALING_FLAG: u32 = 256u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_SECURE_PIN_PROPERTY: &str = "SmartCardSecurePin"; +pub const NCRYPT_SECURE_PIN_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SmartCardSecurePin"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_SECURITY_DESCR_PROPERTY: &str = "Security Descr"; +pub const NCRYPT_SECURITY_DESCR_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Security Descr"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_SECURITY_DESCR_SUPPORT_PROPERTY: &str = "Security Descr Support"; +pub const NCRYPT_SECURITY_DESCR_SUPPORT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Security Descr Support"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_SHA1_ALGORITHM: &str = "SHA1"; +pub const NCRYPT_SHA1_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SHA1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_SHA256_ALGORITHM: &str = "SHA256"; +pub const NCRYPT_SHA256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SHA256"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_SHA384_ALGORITHM: &str = "SHA384"; +pub const NCRYPT_SHA384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SHA384"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_SHA512_ALGORITHM: &str = "SHA512"; +pub const NCRYPT_SHA512_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SHA512"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_SIGNATURE_LENGTH_PROPERTY: &str = "SignatureLength"; +pub const NCRYPT_SIGNATURE_LENGTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SignatureLength"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_SMARTCARD_GUID_PROPERTY: &str = "SmartCardGuid"; +pub const NCRYPT_SMARTCARD_GUID_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SmartCardGuid"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_SP800108_CTR_HMAC_ALGORITHM: &str = "SP800_108_CTR_HMAC"; +pub const NCRYPT_SP800108_CTR_HMAC_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SP800_108_CTR_HMAC"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_SP80056A_CONCAT_ALGORITHM: &str = "SP800_56A_CONCAT"; +pub const NCRYPT_SP80056A_CONCAT_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SP800_56A_CONCAT"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_TPM12_PROVIDER: u32 = 65536u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_TPM_LOADABLE_KEY_BLOB: &str = "PcpTpmProtectedKeyBlob"; +pub const NCRYPT_TPM_LOADABLE_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PcpTpmProtectedKeyBlob"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_TPM_LOADABLE_KEY_BLOB_MAGIC: u32 = 1297371211u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -5104,29 +4709,29 @@ pub const NCRYPT_UI_FINGERPRINT_PROTECTION_FLAG: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_UI_FORCE_HIGH_PROTECTION_FLAG: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_UI_POLICY_PROPERTY: &str = "UI Policy"; +pub const NCRYPT_UI_POLICY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("UI Policy"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_UI_PROTECT_KEY_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_UNIQUE_NAME_PROPERTY: &str = "Unique Name"; +pub const NCRYPT_UNIQUE_NAME_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Unique Name"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_USER_CERTSTORE_PROPERTY: &str = "SmartCardUserCertStore"; +pub const NCRYPT_USER_CERTSTORE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SmartCardUserCertStore"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_USE_CONTEXT_PROPERTY: &str = "Use Context"; +pub const NCRYPT_USE_CONTEXT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Use Context"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_USE_COUNT_ENABLED_PROPERTY: &str = "Enabled Use Count"; +pub const NCRYPT_USE_COUNT_ENABLED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Enabled Use Count"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_USE_COUNT_PROPERTY: &str = "Use Count"; +pub const NCRYPT_USE_COUNT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Use Count"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_USE_PER_BOOT_KEY_FLAG: u32 = 262144u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_USE_PER_BOOT_KEY_PROPERTY: &str = "Per Boot Key"; +pub const NCRYPT_USE_PER_BOOT_KEY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Per Boot Key"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_USE_VIRTUAL_ISOLATION_FLAG: u32 = 131072u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_USE_VIRTUAL_ISOLATION_PROPERTY: &str = "Virtual Iso"; +pub const NCRYPT_USE_VIRTUAL_ISOLATION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Virtual Iso"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_VERSION_PROPERTY: &str = "Version"; +pub const NCRYPT_VERSION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Version"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS_CURRENT_VERSION: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -5136,7 +4741,7 @@ pub const NCRYPT_VSM_KEY_ATTESTATION_STATEMENT_CURRENT_VERSION: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NCRYPT_VSM_KEY_ATTESTATION_STATEMENT_V0: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const NCRYPT_WINDOW_HANDLE_PROPERTY: &str = "HWND Handle"; +pub const NCRYPT_WINDOW_HANDLE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HWND Handle"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const NETSCAPE_SIGN_CA_CERT_TYPE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -5190,13 +4795,13 @@ pub const OCSP_UNAUTHORIZED_RESPONSE: u32 = 6u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const OPAQUEKEYBLOB: u32 = 9u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const PKCS12_CONFIG_REGPATH: &str = "Software\\Microsoft\\Windows\\CurrentVersion\\PFX"; +pub const PKCS12_CONFIG_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Software\\Microsoft\\Windows\\CurrentVersion\\PFX"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const PKCS12_DISABLE_ENCRYPT_CERTIFICATES: u32 = 256u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const PKCS12_ENCRYPT_CERTIFICATES: u32 = 512u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const PKCS12_ENCRYPT_CERTIFICATES_VALUE_NAME: &str = "EncryptCertificates"; +pub const PKCS12_ENCRYPT_CERTIFICATES_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EncryptCertificates"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const PKCS12_EXPORT_ECC_CURVE_OID: u32 = 8192u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -5214,23 +4819,23 @@ pub const PKCS12_IMPORT_SILENT: u32 = 64u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const PKCS12_ONLY_CERTIFICATES: u32 = 1024u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const PKCS12_ONLY_CERTIFICATES_CONTAINER_NAME: &str = "PfxContainer"; +pub const PKCS12_ONLY_CERTIFICATES_CONTAINER_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PfxContainer"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const PKCS12_ONLY_CERTIFICATES_PROVIDER_NAME: &str = "PfxProvider"; +pub const PKCS12_ONLY_CERTIFICATES_PROVIDER_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PfxProvider"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const PKCS12_ONLY_CERTIFICATES_PROVIDER_TYPE: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const PKCS12_ONLY_NOT_ENCRYPTED_CERTIFICATES: u32 = 2048u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const PKCS12_PBES2_ALG_AES256_SHA256: &str = "AES256-SHA256"; +pub const PKCS12_PBES2_ALG_AES256_SHA256: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AES256-SHA256"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const PKCS12_PBKDF2_ID_HMAC_SHA1: &str = "1.2.840.113549.2.7"; +pub const PKCS12_PBKDF2_ID_HMAC_SHA1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.2.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const PKCS12_PBKDF2_ID_HMAC_SHA256: &str = "1.2.840.113549.2.9"; +pub const PKCS12_PBKDF2_ID_HMAC_SHA256: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.2.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const PKCS12_PBKDF2_ID_HMAC_SHA384: &str = "1.2.840.113549.2.10"; +pub const PKCS12_PBKDF2_ID_HMAC_SHA384: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.2.10"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const PKCS12_PBKDF2_ID_HMAC_SHA512: &str = "1.2.840.113549.2.11"; +pub const PKCS12_PBKDF2_ID_HMAC_SHA512: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.2.11"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const PKCS12_PROTECT_TO_DOMAIN_SIDS: u32 = 32u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -5408,9 +5013,9 @@ pub const SCHANNEL_ENC_KEY: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const SCHANNEL_MAC_KEY: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const SCHEME_OID_RETRIEVE_ENCODED_OBJECTW_FUNC: &str = "SchemeDllRetrieveEncodedObjectW"; +pub const SCHEME_OID_RETRIEVE_ENCODED_OBJECTW_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("SchemeDllRetrieveEncodedObjectW"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const SCHEME_OID_RETRIEVE_ENCODED_OBJECT_FUNC: &str = "SchemeDllRetrieveEncodedObject"; +pub const SCHEME_OID_RETRIEVE_ENCODED_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("SchemeDllRetrieveEncodedObject"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const SIGNATURE_RESOURCE_NUMBER: u32 = 666u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -5420,7 +5025,7 @@ pub const SITE_PIN_RULES_ALL_SUBDOMAINS_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const SORTED_CTL_EXT_HASHED_SUBJECT_IDENTIFIER_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const SSL_ECCPUBLIC_BLOB: &str = "SSLECCPUBLICBLOB"; +pub const SSL_ECCPUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SSLECCPUBLICBLOB"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const SSL_F12_ERROR_TEXT_LENGTH: u32 = 256u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -5432,11 +5037,11 @@ pub const SSL_HPKP_PKP_RO_HEADER_INDEX: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const SSL_KEY_PIN_ERROR_TEXT_LENGTH: u32 = 512u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const SSL_OBJECT_LOCATOR_CERT_VALIDATION_CONFIG_FUNC: &str = "SslObjectLocatorInitializeCertValidationConfig"; +pub const SSL_OBJECT_LOCATOR_CERT_VALIDATION_CONFIG_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("SslObjectLocatorInitializeCertValidationConfig"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const SSL_OBJECT_LOCATOR_ISSUER_LIST_FUNC: &str = "SslObjectLocatorInitializeIssuerList"; +pub const SSL_OBJECT_LOCATOR_ISSUER_LIST_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("SslObjectLocatorInitializeIssuerList"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const SSL_OBJECT_LOCATOR_PFX_FUNC: &str = "SslObjectLocatorInitializePfx"; +pub const SSL_OBJECT_LOCATOR_PFX_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("SslObjectLocatorInitializePfx"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const SYMMETRICWRAPKEYBLOB: u32 = 11u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -5478,7 +5083,7 @@ pub const TIME_VALID_OID_FLUSH_FRESHEST_CRL_FROM_CERT: ::windows_sys::core::PCST #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const TIME_VALID_OID_FLUSH_FRESHEST_CRL_FROM_CRL: ::windows_sys::core::PCSTR = 5i32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const TIME_VALID_OID_FLUSH_OBJECT_FUNC: &str = "TimeValidDllFlushObject"; +pub const TIME_VALID_OID_FLUSH_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("TimeValidDllFlushObject"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const TIME_VALID_OID_GET_CRL: ::windows_sys::core::PCSTR = 2i32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -5490,9 +5095,9 @@ pub const TIME_VALID_OID_GET_FRESHEST_CRL_FROM_CERT: ::windows_sys::core::PCSTR #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const TIME_VALID_OID_GET_FRESHEST_CRL_FROM_CRL: ::windows_sys::core::PCSTR = 5i32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const TIME_VALID_OID_GET_OBJECT_FUNC: &str = "TimeValidDllGetObject"; +pub const TIME_VALID_OID_GET_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("TimeValidDllGetObject"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const TPM_RSA_SRK_SEAL_KEY: &str = "MICROSOFT_PCP_KSP_RSA_SEAL_KEY_3BD1C4BF-004E-4E2F-8A4D-0BF633DCB074"; +pub const TPM_RSA_SRK_SEAL_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MICROSOFT_PCP_KSP_RSA_SEAL_KEY_3BD1C4BF-004E-4E2F-8A4D-0BF633DCB074"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const URL_OID_CERTIFICATE_CRL_DIST_POINT: ::windows_sys::core::PCSTR = 2i32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -5520,7 +5125,7 @@ pub const URL_OID_CTL_ISSUER: ::windows_sys::core::PCSTR = 3i32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const URL_OID_CTL_NEXT_UPDATE: ::windows_sys::core::PCSTR = 4i32 as _; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const URL_OID_GET_OBJECT_URL_FUNC: &str = "UrlDllGetObjectUrl"; +pub const URL_OID_GET_OBJECT_URL_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::s!("UrlDllGetObjectUrl"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const USAGE_MATCH_TYPE_AND: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -5662,1155 +5267,1155 @@ pub const dwFORCE_KEY_PROTECTION_HIGH: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub const dwFORCE_KEY_PROTECTION_USER_SELECT: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szFORCE_KEY_PROTECTION: &str = "ForceKeyProtection"; +pub const szFORCE_KEY_PROTECTION: ::windows_sys::core::PCSTR = ::windows_sys::s!("ForceKeyProtection"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szKEY_CACHE_ENABLED: &str = "CachePrivateKeys"; +pub const szKEY_CACHE_ENABLED: ::windows_sys::core::PCSTR = ::windows_sys::s!("CachePrivateKeys"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szKEY_CACHE_SECONDS: &str = "PrivateKeyLifetimeSeconds"; +pub const szKEY_CACHE_SECONDS: ::windows_sys::core::PCSTR = ::windows_sys::s!("PrivateKeyLifetimeSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szKEY_CRYPTOAPI_PRIVATE_KEY_OPTIONS: &str = "Software\\Policies\\Microsoft\\Cryptography"; +pub const szKEY_CRYPTOAPI_PRIVATE_KEY_OPTIONS: ::windows_sys::core::PCSTR = ::windows_sys::s!("Software\\Policies\\Microsoft\\Cryptography"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOIDVerisign_FailInfo: &str = "2.16.840.1.113733.1.9.4"; +pub const szOIDVerisign_FailInfo: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113733.1.9.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOIDVerisign_MessageType: &str = "2.16.840.1.113733.1.9.2"; +pub const szOIDVerisign_MessageType: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113733.1.9.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOIDVerisign_PkiStatus: &str = "2.16.840.1.113733.1.9.3"; +pub const szOIDVerisign_PkiStatus: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113733.1.9.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOIDVerisign_RecipientNonce: &str = "2.16.840.1.113733.1.9.6"; +pub const szOIDVerisign_RecipientNonce: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113733.1.9.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOIDVerisign_SenderNonce: &str = "2.16.840.1.113733.1.9.5"; +pub const szOIDVerisign_SenderNonce: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113733.1.9.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOIDVerisign_TransactionID: &str = "2.16.840.1.113733.1.9.7"; +pub const szOIDVerisign_TransactionID: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113733.1.9.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ANSI_X942: &str = "1.2.840.10046"; +pub const szOID_ANSI_X942: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10046"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ANSI_X942_DH: &str = "1.2.840.10046.2.1"; +pub const szOID_ANSI_X942_DH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10046.2.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ANY_APPLICATION_POLICY: &str = "1.3.6.1.4.1.311.10.12.1"; +pub const szOID_ANY_APPLICATION_POLICY: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.12.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ANY_CERT_POLICY: &str = "2.5.29.32.0"; +pub const szOID_ANY_CERT_POLICY: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.32.0"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ANY_ENHANCED_KEY_USAGE: &str = "2.5.29.37.0"; +pub const szOID_ANY_ENHANCED_KEY_USAGE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.37.0"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_APPLICATION_CERT_POLICIES: &str = "1.3.6.1.4.1.311.21.10"; +pub const szOID_APPLICATION_CERT_POLICIES: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.10"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_APPLICATION_POLICY_CONSTRAINTS: &str = "1.3.6.1.4.1.311.21.12"; +pub const szOID_APPLICATION_POLICY_CONSTRAINTS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.12"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_APPLICATION_POLICY_MAPPINGS: &str = "1.3.6.1.4.1.311.21.11"; +pub const szOID_APPLICATION_POLICY_MAPPINGS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.11"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ARCHIVED_KEY_ATTR: &str = "1.3.6.1.4.1.311.21.13"; +pub const szOID_ARCHIVED_KEY_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.13"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ARCHIVED_KEY_CERT_HASH: &str = "1.3.6.1.4.1.311.21.16"; +pub const szOID_ARCHIVED_KEY_CERT_HASH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.16"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ATTEST_WHQL_CRYPTO: &str = "1.3.6.1.4.1.311.10.3.5.1"; +pub const szOID_ATTEST_WHQL_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.5.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ATTR_PLATFORM_SPECIFICATION: &str = "2.23.133.2.17"; +pub const szOID_ATTR_PLATFORM_SPECIFICATION: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.23.133.2.17"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ATTR_SUPPORTED_ALGORITHMS: &str = "2.5.4.52"; +pub const szOID_ATTR_SUPPORTED_ALGORITHMS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.52"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ATTR_TPM_SECURITY_ASSERTIONS: &str = "2.23.133.2.18"; +pub const szOID_ATTR_TPM_SECURITY_ASSERTIONS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.23.133.2.18"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ATTR_TPM_SPECIFICATION: &str = "2.23.133.2.16"; +pub const szOID_ATTR_TPM_SPECIFICATION: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.23.133.2.16"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_AUTHORITY_INFO_ACCESS: &str = "1.3.6.1.5.5.7.1.1"; +pub const szOID_AUTHORITY_INFO_ACCESS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_AUTHORITY_KEY_IDENTIFIER: &str = "2.5.29.1"; +pub const szOID_AUTHORITY_KEY_IDENTIFIER: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_AUTHORITY_KEY_IDENTIFIER2: &str = "2.5.29.35"; +pub const szOID_AUTHORITY_KEY_IDENTIFIER2: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.35"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_AUTHORITY_REVOCATION_LIST: &str = "2.5.4.38"; +pub const szOID_AUTHORITY_REVOCATION_LIST: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.38"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_AUTO_ENROLL_CTL_USAGE: &str = "1.3.6.1.4.1.311.20.1"; +pub const szOID_AUTO_ENROLL_CTL_USAGE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.20.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_BACKGROUND_OTHER_LOGOTYPE: &str = "1.3.6.1.5.5.7.20.2"; +pub const szOID_BACKGROUND_OTHER_LOGOTYPE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.20.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_BASIC_CONSTRAINTS: &str = "2.5.29.10"; +pub const szOID_BASIC_CONSTRAINTS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.10"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_BASIC_CONSTRAINTS2: &str = "2.5.29.19"; +pub const szOID_BASIC_CONSTRAINTS2: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.19"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_BIOMETRIC_EXT: &str = "1.3.6.1.5.5.7.1.2"; +pub const szOID_BIOMETRIC_EXT: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.1.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_BIOMETRIC_SIGNING: &str = "1.3.6.1.4.1.311.10.3.41"; +pub const szOID_BIOMETRIC_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.41"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_BUSINESS_CATEGORY: &str = "2.5.4.15"; +pub const szOID_BUSINESS_CATEGORY: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.15"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CA_CERTIFICATE: &str = "2.5.4.37"; +pub const szOID_CA_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.37"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERTIFICATE_REVOCATION_LIST: &str = "2.5.4.39"; +pub const szOID_CERTIFICATE_REVOCATION_LIST: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.39"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERTIFICATE_TEMPLATE: &str = "1.3.6.1.4.1.311.21.7"; +pub const szOID_CERTIFICATE_TEMPLATE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERTSRV_CA_VERSION: &str = "1.3.6.1.4.1.311.21.1"; +pub const szOID_CERTSRV_CA_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERTSRV_CROSSCA_VERSION: &str = "1.3.6.1.4.1.311.21.22"; +pub const szOID_CERTSRV_CROSSCA_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.22"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERTSRV_PREVIOUS_CERT_HASH: &str = "1.3.6.1.4.1.311.21.2"; +pub const szOID_CERTSRV_PREVIOUS_CERT_HASH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_DISALLOWED_FILETIME_PROP_ID: &str = "1.3.6.1.4.1.311.10.11.104"; +pub const szOID_CERT_DISALLOWED_FILETIME_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.11.104"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_EXTENSIONS: &str = "1.3.6.1.4.1.311.2.1.14"; +pub const szOID_CERT_EXTENSIONS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.14"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: &str = "1.3.6.1.4.1.311.10.11.28"; +pub const szOID_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.11.28"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_KEY_IDENTIFIER_PROP_ID: &str = "1.3.6.1.4.1.311.10.11.20"; +pub const szOID_CERT_KEY_IDENTIFIER_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.11.20"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_MANIFOLD: &str = "1.3.6.1.4.1.311.20.3"; +pub const szOID_CERT_MANIFOLD: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.20.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_MD5_HASH_PROP_ID: &str = "1.3.6.1.4.1.311.10.11.4"; +pub const szOID_CERT_MD5_HASH_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.11.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_POLICIES: &str = "2.5.29.32"; +pub const szOID_CERT_POLICIES: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.32"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_POLICIES_95: &str = "2.5.29.3"; +pub const szOID_CERT_POLICIES_95: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_POLICIES_95_QUALIFIER1: &str = "2.16.840.1.113733.1.7.1.1"; +pub const szOID_CERT_POLICIES_95_QUALIFIER1: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113733.1.7.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_PROP_ID_PREFIX: &str = "1.3.6.1.4.1.311.10.11."; +pub const szOID_CERT_PROP_ID_PREFIX: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.11."); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_SIGNATURE_HASH_PROP_ID: &str = "1.3.6.1.4.1.311.10.11.15"; +pub const szOID_CERT_SIGNATURE_HASH_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.11.15"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_STRONG_KEY_OS_1: &str = "1.3.6.1.4.1.311.72.2.1"; +pub const szOID_CERT_STRONG_KEY_OS_1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.72.2.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_STRONG_KEY_OS_CURRENT: &str = "1.3.6.1.4.1.311.72.2.1"; +pub const szOID_CERT_STRONG_KEY_OS_CURRENT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.3.6.1.4.1.311.72.2.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_STRONG_KEY_OS_PREFIX: &str = "1.3.6.1.4.1.311.72.2."; +pub const szOID_CERT_STRONG_KEY_OS_PREFIX: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.72.2."); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_STRONG_SIGN_OS_1: &str = "1.3.6.1.4.1.311.72.1.1"; +pub const szOID_CERT_STRONG_SIGN_OS_1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.72.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_STRONG_SIGN_OS_CURRENT: &str = "1.3.6.1.4.1.311.72.1.1"; +pub const szOID_CERT_STRONG_SIGN_OS_CURRENT: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.3.6.1.4.1.311.72.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_STRONG_SIGN_OS_PREFIX: &str = "1.3.6.1.4.1.311.72.1."; +pub const szOID_CERT_STRONG_SIGN_OS_PREFIX: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.72.1."); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: &str = "1.3.6.1.4.1.311.10.11.29"; +pub const szOID_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.11.29"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC: &str = "1.3.6.1.5.5.7.7"; +pub const szOID_CMC: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_ADD_ATTRIBUTES: &str = "1.3.6.1.4.1.311.10.10.1"; +pub const szOID_CMC_ADD_ATTRIBUTES: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.10.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_ADD_EXTENSIONS: &str = "1.3.6.1.5.5.7.7.8"; +pub const szOID_CMC_ADD_EXTENSIONS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.8"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_DATA_RETURN: &str = "1.3.6.1.5.5.7.7.4"; +pub const szOID_CMC_DATA_RETURN: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_DECRYPTED_POP: &str = "1.3.6.1.5.5.7.7.10"; +pub const szOID_CMC_DECRYPTED_POP: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.10"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_ENCRYPTED_POP: &str = "1.3.6.1.5.5.7.7.9"; +pub const szOID_CMC_ENCRYPTED_POP: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_GET_CERT: &str = "1.3.6.1.5.5.7.7.15"; +pub const szOID_CMC_GET_CERT: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.15"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_GET_CRL: &str = "1.3.6.1.5.5.7.7.16"; +pub const szOID_CMC_GET_CRL: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.16"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_IDENTIFICATION: &str = "1.3.6.1.5.5.7.7.2"; +pub const szOID_CMC_IDENTIFICATION: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_IDENTITY_PROOF: &str = "1.3.6.1.5.5.7.7.3"; +pub const szOID_CMC_IDENTITY_PROOF: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_ID_CONFIRM_CERT_ACCEPTANCE: &str = "1.3.6.1.5.5.7.7.24"; +pub const szOID_CMC_ID_CONFIRM_CERT_ACCEPTANCE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.24"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_ID_POP_LINK_RANDOM: &str = "1.3.6.1.5.5.7.7.22"; +pub const szOID_CMC_ID_POP_LINK_RANDOM: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.22"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_ID_POP_LINK_WITNESS: &str = "1.3.6.1.5.5.7.7.23"; +pub const szOID_CMC_ID_POP_LINK_WITNESS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.23"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_LRA_POP_WITNESS: &str = "1.3.6.1.5.5.7.7.11"; +pub const szOID_CMC_LRA_POP_WITNESS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.11"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_QUERY_PENDING: &str = "1.3.6.1.5.5.7.7.21"; +pub const szOID_CMC_QUERY_PENDING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.21"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_RECIPIENT_NONCE: &str = "1.3.6.1.5.5.7.7.7"; +pub const szOID_CMC_RECIPIENT_NONCE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_REG_INFO: &str = "1.3.6.1.5.5.7.7.18"; +pub const szOID_CMC_REG_INFO: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.18"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_RESPONSE_INFO: &str = "1.3.6.1.5.5.7.7.19"; +pub const szOID_CMC_RESPONSE_INFO: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.19"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_REVOKE_REQUEST: &str = "1.3.6.1.5.5.7.7.17"; +pub const szOID_CMC_REVOKE_REQUEST: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.17"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_SENDER_NONCE: &str = "1.3.6.1.5.5.7.7.6"; +pub const szOID_CMC_SENDER_NONCE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_STATUS_INFO: &str = "1.3.6.1.5.5.7.7.1"; +pub const szOID_CMC_STATUS_INFO: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CMC_TRANSACTION_ID: &str = "1.3.6.1.5.5.7.7.5"; +pub const szOID_CMC_TRANSACTION_ID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.7.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CN_ECDSA_SHA256: &str = "1.2.156.11235.1.1.1"; +pub const szOID_CN_ECDSA_SHA256: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.156.11235.1.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_COMMON_NAME: &str = "2.5.4.3"; +pub const szOID_COMMON_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_COUNTRY_NAME: &str = "2.5.4.6"; +pub const szOID_COUNTRY_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CRL_DIST_POINTS: &str = "2.5.29.31"; +pub const szOID_CRL_DIST_POINTS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.31"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CRL_NEXT_PUBLISH: &str = "1.3.6.1.4.1.311.21.4"; +pub const szOID_CRL_NEXT_PUBLISH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CRL_NUMBER: &str = "2.5.29.20"; +pub const szOID_CRL_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.20"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CRL_REASON_CODE: &str = "2.5.29.21"; +pub const szOID_CRL_REASON_CODE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.21"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CRL_SELF_CDP: &str = "1.3.6.1.4.1.311.21.14"; +pub const szOID_CRL_SELF_CDP: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.14"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CRL_VIRTUAL_BASE: &str = "1.3.6.1.4.1.311.21.3"; +pub const szOID_CRL_VIRTUAL_BASE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CROSS_CERTIFICATE_PAIR: &str = "2.5.4.40"; +pub const szOID_CROSS_CERTIFICATE_PAIR: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.40"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CROSS_CERT_DIST_POINTS: &str = "1.3.6.1.4.1.311.10.9.1"; +pub const szOID_CROSS_CERT_DIST_POINTS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.9.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CTL: &str = "1.3.6.1.4.1.311.10.1"; +pub const szOID_CTL: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CT_CERT_SCTLIST: &str = "1.3.6.1.4.1.11129.2.4.2"; +pub const szOID_CT_CERT_SCTLIST: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.11129.2.4.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CT_PKI_DATA: &str = "1.3.6.1.5.5.7.12.2"; +pub const szOID_CT_PKI_DATA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.12.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_CT_PKI_RESPONSE: &str = "1.3.6.1.5.5.7.12.3"; +pub const szOID_CT_PKI_RESPONSE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.12.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DELTA_CRL_INDICATOR: &str = "2.5.29.27"; +pub const szOID_DELTA_CRL_INDICATOR: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.27"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DESCRIPTION: &str = "2.5.4.13"; +pub const szOID_DESCRIPTION: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.13"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DESTINATION_INDICATOR: &str = "2.5.4.27"; +pub const szOID_DESTINATION_INDICATOR: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.27"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DEVICE_SERIAL_NUMBER: &str = "2.5.4.5"; +pub const szOID_DEVICE_SERIAL_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DH_SINGLE_PASS_STDDH_SHA1_KDF: &str = "1.3.133.16.840.63.0.2"; +pub const szOID_DH_SINGLE_PASS_STDDH_SHA1_KDF: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.133.16.840.63.0.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DH_SINGLE_PASS_STDDH_SHA256_KDF: &str = "1.3.132.1.11.1"; +pub const szOID_DH_SINGLE_PASS_STDDH_SHA256_KDF: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.132.1.11.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DH_SINGLE_PASS_STDDH_SHA384_KDF: &str = "1.3.132.1.11.2"; +pub const szOID_DH_SINGLE_PASS_STDDH_SHA384_KDF: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.132.1.11.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DISALLOWED_HASH: &str = "1.3.6.1.4.1.311.10.11.15"; +pub const szOID_DISALLOWED_HASH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.3.6.1.4.1.311.10.11.15"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DISALLOWED_LIST: &str = "1.3.6.1.4.1.311.10.3.30"; +pub const szOID_DISALLOWED_LIST: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.30"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DN_QUALIFIER: &str = "2.5.4.46"; +pub const szOID_DN_QUALIFIER: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.46"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DOMAIN_COMPONENT: &str = "0.9.2342.19200300.100.1.25"; +pub const szOID_DOMAIN_COMPONENT: ::windows_sys::core::PCSTR = ::windows_sys::s!("0.9.2342.19200300.100.1.25"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DRM: &str = "1.3.6.1.4.1.311.10.5.1"; +pub const szOID_DRM: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.5.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DRM_INDIVIDUALIZATION: &str = "1.3.6.1.4.1.311.10.5.2"; +pub const szOID_DRM_INDIVIDUALIZATION: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.5.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DS: &str = "2.5"; +pub const szOID_DS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DSALG: &str = "2.5.8"; +pub const szOID_DSALG: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.8"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DSALG_CRPT: &str = "2.5.8.1"; +pub const szOID_DSALG_CRPT: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.8.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DSALG_HASH: &str = "2.5.8.2"; +pub const szOID_DSALG_HASH: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.8.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DSALG_RSA: &str = "2.5.8.1.1"; +pub const szOID_DSALG_RSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.8.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DSALG_SIGN: &str = "2.5.8.3"; +pub const szOID_DSALG_SIGN: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.8.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DS_EMAIL_REPLICATION: &str = "1.3.6.1.4.1.311.21.19"; +pub const szOID_DS_EMAIL_REPLICATION: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.19"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_DYNAMIC_CODE_GEN_SIGNER: &str = "1.3.6.1.4.1.311.76.5.1"; +pub const szOID_DYNAMIC_CODE_GEN_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.76.5.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_BRAINPOOLP160R1: &str = "1.3.36.3.3.2.8.1.1.1"; +pub const szOID_ECC_CURVE_BRAINPOOLP160R1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.36.3.3.2.8.1.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_BRAINPOOLP160T1: &str = "1.3.36.3.3.2.8.1.1.2"; +pub const szOID_ECC_CURVE_BRAINPOOLP160T1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.36.3.3.2.8.1.1.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_BRAINPOOLP192R1: &str = "1.3.36.3.3.2.8.1.1.3"; +pub const szOID_ECC_CURVE_BRAINPOOLP192R1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.36.3.3.2.8.1.1.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_BRAINPOOLP192T1: &str = "1.3.36.3.3.2.8.1.1.4"; +pub const szOID_ECC_CURVE_BRAINPOOLP192T1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.36.3.3.2.8.1.1.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_BRAINPOOLP224R1: &str = "1.3.36.3.3.2.8.1.1.5"; +pub const szOID_ECC_CURVE_BRAINPOOLP224R1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.36.3.3.2.8.1.1.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_BRAINPOOLP224T1: &str = "1.3.36.3.3.2.8.1.1.6"; +pub const szOID_ECC_CURVE_BRAINPOOLP224T1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.36.3.3.2.8.1.1.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_BRAINPOOLP256R1: &str = "1.3.36.3.3.2.8.1.1.7"; +pub const szOID_ECC_CURVE_BRAINPOOLP256R1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.36.3.3.2.8.1.1.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_BRAINPOOLP256T1: &str = "1.3.36.3.3.2.8.1.1.8"; +pub const szOID_ECC_CURVE_BRAINPOOLP256T1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.36.3.3.2.8.1.1.8"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_BRAINPOOLP320R1: &str = "1.3.36.3.3.2.8.1.1.9"; +pub const szOID_ECC_CURVE_BRAINPOOLP320R1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.36.3.3.2.8.1.1.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_BRAINPOOLP320T1: &str = "1.3.36.3.3.2.8.1.1.10"; +pub const szOID_ECC_CURVE_BRAINPOOLP320T1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.36.3.3.2.8.1.1.10"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_BRAINPOOLP384R1: &str = "1.3.36.3.3.2.8.1.1.11"; +pub const szOID_ECC_CURVE_BRAINPOOLP384R1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.36.3.3.2.8.1.1.11"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_BRAINPOOLP384T1: &str = "1.3.36.3.3.2.8.1.1.12"; +pub const szOID_ECC_CURVE_BRAINPOOLP384T1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.36.3.3.2.8.1.1.12"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_BRAINPOOLP512R1: &str = "1.3.36.3.3.2.8.1.1.13"; +pub const szOID_ECC_CURVE_BRAINPOOLP512R1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.36.3.3.2.8.1.1.13"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_BRAINPOOLP512T1: &str = "1.3.36.3.3.2.8.1.1.14"; +pub const szOID_ECC_CURVE_BRAINPOOLP512T1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.36.3.3.2.8.1.1.14"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_EC192WAPI: &str = "1.2.156.11235.1.1.2.1"; +pub const szOID_ECC_CURVE_EC192WAPI: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.156.11235.1.1.2.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_NISTP192: &str = "1.2.840.10045.3.1.1"; +pub const szOID_ECC_CURVE_NISTP192: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10045.3.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_NISTP224: &str = "1.3.132.0.33"; +pub const szOID_ECC_CURVE_NISTP224: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.132.0.33"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_NISTP256: &str = "1.2.840.10045.3.1.7"; +pub const szOID_ECC_CURVE_NISTP256: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.2.840.10045.3.1.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_NISTP384: &str = "1.3.132.0.34"; +pub const szOID_ECC_CURVE_NISTP384: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.3.132.0.34"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_NISTP521: &str = "1.3.132.0.35"; +pub const szOID_ECC_CURVE_NISTP521: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.3.132.0.35"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_P256: &str = "1.2.840.10045.3.1.7"; +pub const szOID_ECC_CURVE_P256: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10045.3.1.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_P384: &str = "1.3.132.0.34"; +pub const szOID_ECC_CURVE_P384: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.132.0.34"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_P521: &str = "1.3.132.0.35"; +pub const szOID_ECC_CURVE_P521: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.132.0.35"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_SECP160K1: &str = "1.3.132.0.9"; +pub const szOID_ECC_CURVE_SECP160K1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.132.0.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_SECP160R1: &str = "1.3.132.0.8"; +pub const szOID_ECC_CURVE_SECP160R1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.132.0.8"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_SECP160R2: &str = "1.3.132.0.30"; +pub const szOID_ECC_CURVE_SECP160R2: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.132.0.30"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_SECP192K1: &str = "1.3.132.0.31"; +pub const szOID_ECC_CURVE_SECP192K1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.132.0.31"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_SECP192R1: &str = "1.2.840.10045.3.1.1"; +pub const szOID_ECC_CURVE_SECP192R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.2.840.10045.3.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_SECP224K1: &str = "1.3.132.0.32"; +pub const szOID_ECC_CURVE_SECP224K1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.132.0.32"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_SECP224R1: &str = "1.3.132.0.33"; +pub const szOID_ECC_CURVE_SECP224R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.3.132.0.33"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_SECP256K1: &str = "1.3.132.0.10"; +pub const szOID_ECC_CURVE_SECP256K1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.132.0.10"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_SECP256R1: &str = "1.2.840.10045.3.1.7"; +pub const szOID_ECC_CURVE_SECP256R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.2.840.10045.3.1.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_SECP384R1: &str = "1.3.132.0.34"; +pub const szOID_ECC_CURVE_SECP384R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.3.132.0.34"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_SECP521R1: &str = "1.3.132.0.35"; +pub const szOID_ECC_CURVE_SECP521R1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.3.132.0.35"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_WTLS12: &str = "1.3.132.0.33"; +pub const szOID_ECC_CURVE_WTLS12: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.3.132.0.33"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_WTLS7: &str = "1.3.132.0.30"; +pub const szOID_ECC_CURVE_WTLS7: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.3.132.0.30"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_WTLS9: &str = "2.23.43.1.4.9"; +pub const szOID_ECC_CURVE_WTLS9: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.23.43.1.4.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_X962P192V1: &str = "1.2.840.10045.3.1.1"; +pub const szOID_ECC_CURVE_X962P192V1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10045.3.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_X962P192V2: &str = "1.2.840.10045.3.1.2"; +pub const szOID_ECC_CURVE_X962P192V2: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10045.3.1.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_X962P192V3: &str = "1.2.840.10045.3.1.3"; +pub const szOID_ECC_CURVE_X962P192V3: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10045.3.1.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_X962P239V1: &str = "1.2.840.10045.3.1.4"; +pub const szOID_ECC_CURVE_X962P239V1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10045.3.1.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_X962P239V2: &str = "1.2.840.10045.3.1.5"; +pub const szOID_ECC_CURVE_X962P239V2: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10045.3.1.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_X962P239V3: &str = "1.2.840.10045.3.1.6"; +pub const szOID_ECC_CURVE_X962P239V3: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10045.3.1.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_CURVE_X962P256V1: &str = "1.2.840.10045.3.1.7"; +pub const szOID_ECC_CURVE_X962P256V1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("1.2.840.10045.3.1.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECC_PUBLIC_KEY: &str = "1.2.840.10045.2.1"; +pub const szOID_ECC_PUBLIC_KEY: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10045.2.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECDSA_SHA1: &str = "1.2.840.10045.4.1"; +pub const szOID_ECDSA_SHA1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10045.4.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECDSA_SHA256: &str = "1.2.840.10045.4.3.2"; +pub const szOID_ECDSA_SHA256: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10045.4.3.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECDSA_SHA384: &str = "1.2.840.10045.4.3.3"; +pub const szOID_ECDSA_SHA384: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10045.4.3.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECDSA_SHA512: &str = "1.2.840.10045.4.3.4"; +pub const szOID_ECDSA_SHA512: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10045.4.3.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ECDSA_SPECIFIED: &str = "1.2.840.10045.4.3"; +pub const szOID_ECDSA_SPECIFIED: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10045.4.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_EFS_RECOVERY: &str = "1.3.6.1.4.1.311.10.3.4.1"; +pub const szOID_EFS_RECOVERY: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.4.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_EMBEDDED_NT_CRYPTO: &str = "1.3.6.1.4.1.311.10.3.8"; +pub const szOID_EMBEDDED_NT_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.8"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENCLAVE_SIGNING: &str = "1.3.6.1.4.1.311.10.3.42"; +pub const szOID_ENCLAVE_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.42"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENCRYPTED_KEY_HASH: &str = "1.3.6.1.4.1.311.21.21"; +pub const szOID_ENCRYPTED_KEY_HASH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.21"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENHANCED_KEY_USAGE: &str = "2.5.29.37"; +pub const szOID_ENHANCED_KEY_USAGE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.37"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLLMENT_AGENT: &str = "1.3.6.1.4.1.311.20.2.1"; +pub const szOID_ENROLLMENT_AGENT: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.20.2.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLLMENT_CSP_PROVIDER: &str = "1.3.6.1.4.1.311.13.2.2"; +pub const szOID_ENROLLMENT_CSP_PROVIDER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.13.2.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLLMENT_NAME_VALUE_PAIR: &str = "1.3.6.1.4.1.311.13.2.1"; +pub const szOID_ENROLLMENT_NAME_VALUE_PAIR: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.13.2.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_AIK_INFO: &str = "1.3.6.1.4.1.311.21.39"; +pub const szOID_ENROLL_AIK_INFO: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.39"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_ATTESTATION_CHALLENGE: &str = "1.3.6.1.4.1.311.21.28"; +pub const szOID_ENROLL_ATTESTATION_CHALLENGE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.28"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_ATTESTATION_STATEMENT: &str = "1.3.6.1.4.1.311.21.24"; +pub const szOID_ENROLL_ATTESTATION_STATEMENT: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.24"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_CAXCHGCERT_HASH: &str = "1.3.6.1.4.1.311.21.27"; +pub const szOID_ENROLL_CAXCHGCERT_HASH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.27"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_CERTTYPE_EXTENSION: &str = "1.3.6.1.4.1.311.20.2"; +pub const szOID_ENROLL_CERTTYPE_EXTENSION: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.20.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_EKPUB_CHALLENGE: &str = "1.3.6.1.4.1.311.21.26"; +pub const szOID_ENROLL_EKPUB_CHALLENGE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.26"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_EKVERIFYCERT: &str = "1.3.6.1.4.1.311.21.31"; +pub const szOID_ENROLL_EKVERIFYCERT: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.31"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_EKVERIFYCREDS: &str = "1.3.6.1.4.1.311.21.32"; +pub const szOID_ENROLL_EKVERIFYCREDS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.32"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_EKVERIFYKEY: &str = "1.3.6.1.4.1.311.21.30"; +pub const szOID_ENROLL_EKVERIFYKEY: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.30"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_EK_CA_KEYID: &str = "1.3.6.1.4.1.311.21.43"; +pub const szOID_ENROLL_EK_CA_KEYID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.43"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_EK_INFO: &str = "1.3.6.1.4.1.311.21.23"; +pub const szOID_ENROLL_EK_INFO: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.23"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_ENCRYPTION_ALGORITHM: &str = "1.3.6.1.4.1.311.21.29"; +pub const szOID_ENROLL_ENCRYPTION_ALGORITHM: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.29"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_KEY_AFFINITY: &str = "1.3.6.1.4.1.311.21.41"; +pub const szOID_ENROLL_KEY_AFFINITY: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.41"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_KSP_NAME: &str = "1.3.6.1.4.1.311.21.25"; +pub const szOID_ENROLL_KSP_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.25"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_SCEP_CHALLENGE_ANSWER: &str = "1.3.6.1.4.1.311.21.35"; +pub const szOID_ENROLL_SCEP_CHALLENGE_ANSWER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.35"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_SCEP_CLIENT_REQUEST: &str = "1.3.6.1.4.1.311.21.37"; +pub const szOID_ENROLL_SCEP_CLIENT_REQUEST: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.37"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_SCEP_ERROR: &str = "1.3.6.1.4.1.311.21.33"; +pub const szOID_ENROLL_SCEP_ERROR: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.33"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_SCEP_SERVER_MESSAGE: &str = "1.3.6.1.4.1.311.21.38"; +pub const szOID_ENROLL_SCEP_SERVER_MESSAGE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.38"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_SCEP_SERVER_SECRET: &str = "1.3.6.1.4.1.311.21.40"; +pub const szOID_ENROLL_SCEP_SERVER_SECRET: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.40"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_SCEP_SERVER_STATE: &str = "1.3.6.1.4.1.311.21.34"; +pub const szOID_ENROLL_SCEP_SERVER_STATE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.34"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENROLL_SCEP_SIGNER_HASH: &str = "1.3.6.1.4.1.311.21.42"; +pub const szOID_ENROLL_SCEP_SIGNER_HASH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.42"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ENTERPRISE_OID_ROOT: &str = "1.3.6.1.4.1.311.21.8"; +pub const szOID_ENTERPRISE_OID_ROOT: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.8"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_EV_RDN_COUNTRY: &str = "1.3.6.1.4.1.311.60.2.1.3"; +pub const szOID_EV_RDN_COUNTRY: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.60.2.1.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_EV_RDN_LOCALE: &str = "1.3.6.1.4.1.311.60.2.1.1"; +pub const szOID_EV_RDN_LOCALE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.60.2.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_EV_RDN_STATE_OR_PROVINCE: &str = "1.3.6.1.4.1.311.60.2.1.2"; +pub const szOID_EV_RDN_STATE_OR_PROVINCE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.60.2.1.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_EV_WHQL_CRYPTO: &str = "1.3.6.1.4.1.311.10.3.39"; +pub const szOID_EV_WHQL_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.39"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_FACSIMILE_TELEPHONE_NUMBER: &str = "2.5.4.23"; +pub const szOID_FACSIMILE_TELEPHONE_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.23"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_FRESHEST_CRL: &str = "2.5.29.46"; +pub const szOID_FRESHEST_CRL: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.46"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_GIVEN_NAME: &str = "2.5.4.42"; +pub const szOID_GIVEN_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.42"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_HPKP_DOMAIN_NAME_CTL: &str = "1.3.6.1.4.1.311.10.3.60"; +pub const szOID_HPKP_DOMAIN_NAME_CTL: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.60"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_HPKP_HEADER_VALUE_CTL: &str = "1.3.6.1.4.1.311.10.3.61"; +pub const szOID_HPKP_HEADER_VALUE_CTL: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.61"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC: &str = "2.16.840.1.101.2.1"; +pub const szOID_INFOSEC: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_SuiteAConfidentiality: &str = "2.16.840.1.101.2.1.1.14"; +pub const szOID_INFOSEC_SuiteAConfidentiality: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.14"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_SuiteAIntegrity: &str = "2.16.840.1.101.2.1.1.15"; +pub const szOID_INFOSEC_SuiteAIntegrity: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.15"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_SuiteAKMandSig: &str = "2.16.840.1.101.2.1.1.18"; +pub const szOID_INFOSEC_SuiteAKMandSig: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.18"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_SuiteAKeyManagement: &str = "2.16.840.1.101.2.1.1.17"; +pub const szOID_INFOSEC_SuiteAKeyManagement: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.17"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_SuiteASignature: &str = "2.16.840.1.101.2.1.1.13"; +pub const szOID_INFOSEC_SuiteASignature: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.13"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_SuiteATokenProtection: &str = "2.16.840.1.101.2.1.1.16"; +pub const szOID_INFOSEC_SuiteATokenProtection: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.16"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_mosaicConfidentiality: &str = "2.16.840.1.101.2.1.1.4"; +pub const szOID_INFOSEC_mosaicConfidentiality: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_mosaicIntegrity: &str = "2.16.840.1.101.2.1.1.6"; +pub const szOID_INFOSEC_mosaicIntegrity: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_mosaicKMandSig: &str = "2.16.840.1.101.2.1.1.12"; +pub const szOID_INFOSEC_mosaicKMandSig: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.12"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_mosaicKMandUpdSig: &str = "2.16.840.1.101.2.1.1.20"; +pub const szOID_INFOSEC_mosaicKMandUpdSig: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.20"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_mosaicKeyManagement: &str = "2.16.840.1.101.2.1.1.10"; +pub const szOID_INFOSEC_mosaicKeyManagement: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.10"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_mosaicSignature: &str = "2.16.840.1.101.2.1.1.2"; +pub const szOID_INFOSEC_mosaicSignature: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_mosaicTokenProtection: &str = "2.16.840.1.101.2.1.1.8"; +pub const szOID_INFOSEC_mosaicTokenProtection: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.8"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_mosaicUpdatedInteg: &str = "2.16.840.1.101.2.1.1.21"; +pub const szOID_INFOSEC_mosaicUpdatedInteg: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.21"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_mosaicUpdatedSig: &str = "2.16.840.1.101.2.1.1.19"; +pub const szOID_INFOSEC_mosaicUpdatedSig: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.19"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_sdnsConfidentiality: &str = "2.16.840.1.101.2.1.1.3"; +pub const szOID_INFOSEC_sdnsConfidentiality: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_sdnsIntegrity: &str = "2.16.840.1.101.2.1.1.5"; +pub const szOID_INFOSEC_sdnsIntegrity: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_sdnsKMandSig: &str = "2.16.840.1.101.2.1.1.11"; +pub const szOID_INFOSEC_sdnsKMandSig: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.11"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_sdnsKeyManagement: &str = "2.16.840.1.101.2.1.1.9"; +pub const szOID_INFOSEC_sdnsKeyManagement: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_sdnsSignature: &str = "2.16.840.1.101.2.1.1.1"; +pub const szOID_INFOSEC_sdnsSignature: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INFOSEC_sdnsTokenProtection: &str = "2.16.840.1.101.2.1.1.7"; +pub const szOID_INFOSEC_sdnsTokenProtection: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.2.1.1.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INHIBIT_ANY_POLICY: &str = "2.5.29.54"; +pub const szOID_INHIBIT_ANY_POLICY: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.54"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INITIALS: &str = "2.5.4.43"; +pub const szOID_INITIALS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.43"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INTERNATIONALIZED_EMAIL_ADDRESS: &str = "1.3.6.1.4.1.311.20.2.4"; +pub const szOID_INTERNATIONALIZED_EMAIL_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.20.2.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_INTERNATIONAL_ISDN_NUMBER: &str = "2.5.4.25"; +pub const szOID_INTERNATIONAL_ISDN_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.25"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_IPSEC_KP_IKE_INTERMEDIATE: &str = "1.3.6.1.5.5.8.2.2"; +pub const szOID_IPSEC_KP_IKE_INTERMEDIATE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.8.2.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ISSUED_CERT_HASH: &str = "1.3.6.1.4.1.311.21.17"; +pub const szOID_ISSUED_CERT_HASH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.17"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ISSUER_ALT_NAME: &str = "2.5.29.8"; +pub const szOID_ISSUER_ALT_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.8"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ISSUER_ALT_NAME2: &str = "2.5.29.18"; +pub const szOID_ISSUER_ALT_NAME2: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.18"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ISSUING_DIST_POINT: &str = "2.5.29.28"; +pub const szOID_ISSUING_DIST_POINT: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.28"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_IUM_SIGNING: &str = "1.3.6.1.4.1.311.10.3.37"; +pub const szOID_IUM_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.37"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KEYID_RDN: &str = "1.3.6.1.4.1.311.10.7.1"; +pub const szOID_KEYID_RDN: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.7.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KEY_ATTRIBUTES: &str = "2.5.29.2"; +pub const szOID_KEY_ATTRIBUTES: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KEY_USAGE: &str = "2.5.29.15"; +pub const szOID_KEY_USAGE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.15"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KEY_USAGE_RESTRICTION: &str = "2.5.29.4"; +pub const szOID_KEY_USAGE_RESTRICTION: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_CA_EXCHANGE: &str = "1.3.6.1.4.1.311.21.5"; +pub const szOID_KP_CA_EXCHANGE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_CSP_SIGNATURE: &str = "1.3.6.1.4.1.311.10.3.16"; +pub const szOID_KP_CSP_SIGNATURE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.16"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_CTL_USAGE_SIGNING: &str = "1.3.6.1.4.1.311.10.3.1"; +pub const szOID_KP_CTL_USAGE_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_DOCUMENT_SIGNING: &str = "1.3.6.1.4.1.311.10.3.12"; +pub const szOID_KP_DOCUMENT_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.12"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_EFS: &str = "1.3.6.1.4.1.311.10.3.4"; +pub const szOID_KP_EFS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_FLIGHT_SIGNING: &str = "1.3.6.1.4.1.311.10.3.27"; +pub const szOID_KP_FLIGHT_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.27"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_KERNEL_MODE_CODE_SIGNING: &str = "1.3.6.1.4.1.311.61.1.1"; +pub const szOID_KP_KERNEL_MODE_CODE_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.61.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_KERNEL_MODE_HAL_EXTENSION_SIGNING: &str = "1.3.6.1.4.1.311.61.5.1"; +pub const szOID_KP_KERNEL_MODE_HAL_EXTENSION_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.61.5.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_KERNEL_MODE_TRUSTED_BOOT_SIGNING: &str = "1.3.6.1.4.1.311.61.4.1"; +pub const szOID_KP_KERNEL_MODE_TRUSTED_BOOT_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.61.4.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_KEY_RECOVERY: &str = "1.3.6.1.4.1.311.10.3.11"; +pub const szOID_KP_KEY_RECOVERY: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.11"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_KEY_RECOVERY_AGENT: &str = "1.3.6.1.4.1.311.21.6"; +pub const szOID_KP_KEY_RECOVERY_AGENT: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_LIFETIME_SIGNING: &str = "1.3.6.1.4.1.311.10.3.13"; +pub const szOID_KP_LIFETIME_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.13"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_MOBILE_DEVICE_SOFTWARE: &str = "1.3.6.1.4.1.311.10.3.14"; +pub const szOID_KP_MOBILE_DEVICE_SOFTWARE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.14"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_PRIVACY_CA: &str = "1.3.6.1.4.1.311.21.36"; +pub const szOID_KP_PRIVACY_CA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.36"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_QUALIFIED_SUBORDINATION: &str = "1.3.6.1.4.1.311.10.3.10"; +pub const szOID_KP_QUALIFIED_SUBORDINATION: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.10"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_SMARTCARD_LOGON: &str = "1.3.6.1.4.1.311.20.2.2"; +pub const szOID_KP_SMARTCARD_LOGON: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.20.2.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_SMART_DISPLAY: &str = "1.3.6.1.4.1.311.10.3.15"; +pub const szOID_KP_SMART_DISPLAY: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.15"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_TIME_STAMP_SIGNING: &str = "1.3.6.1.4.1.311.10.3.2"; +pub const szOID_KP_TIME_STAMP_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_TPM_AIK_CERTIFICATE: &str = "2.23.133.8.3"; +pub const szOID_KP_TPM_AIK_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.23.133.8.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_TPM_EK_CERTIFICATE: &str = "2.23.133.8.1"; +pub const szOID_KP_TPM_EK_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.23.133.8.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_KP_TPM_PLATFORM_CERTIFICATE: &str = "2.23.133.8.2"; +pub const szOID_KP_TPM_PLATFORM_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.23.133.8.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_LEGACY_POLICY_MAPPINGS: &str = "2.5.29.5"; +pub const szOID_LEGACY_POLICY_MAPPINGS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_LICENSES: &str = "1.3.6.1.4.1.311.10.6.1"; +pub const szOID_LICENSES: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.6.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_LICENSE_SERVER: &str = "1.3.6.1.4.1.311.10.6.2"; +pub const szOID_LICENSE_SERVER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.6.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_LOCALITY_NAME: &str = "2.5.4.7"; +pub const szOID_LOCALITY_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_LOCAL_MACHINE_KEYSET: &str = "1.3.6.1.4.1.311.17.2"; +pub const szOID_LOCAL_MACHINE_KEYSET: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.17.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_LOGOTYPE_EXT: &str = "1.3.6.1.5.5.7.1.12"; +pub const szOID_LOGOTYPE_EXT: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.1.12"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_LOYALTY_OTHER_LOGOTYPE: &str = "1.3.6.1.5.5.7.20.1"; +pub const szOID_LOYALTY_OTHER_LOGOTYPE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.20.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_MEMBER: &str = "2.5.4.31"; +pub const szOID_MEMBER: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.31"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_MICROSOFT_PUBLISHER_SIGNER: &str = "1.3.6.1.4.1.311.76.8.1"; +pub const szOID_MICROSOFT_PUBLISHER_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.76.8.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NAME_CONSTRAINTS: &str = "2.5.29.30"; +pub const szOID_NAME_CONSTRAINTS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.30"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NETSCAPE: &str = "2.16.840.1.113730"; +pub const szOID_NETSCAPE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113730"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NETSCAPE_BASE_URL: &str = "2.16.840.1.113730.1.2"; +pub const szOID_NETSCAPE_BASE_URL: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113730.1.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NETSCAPE_CA_POLICY_URL: &str = "2.16.840.1.113730.1.8"; +pub const szOID_NETSCAPE_CA_POLICY_URL: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113730.1.8"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NETSCAPE_CA_REVOCATION_URL: &str = "2.16.840.1.113730.1.4"; +pub const szOID_NETSCAPE_CA_REVOCATION_URL: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113730.1.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NETSCAPE_CERT_EXTENSION: &str = "2.16.840.1.113730.1"; +pub const szOID_NETSCAPE_CERT_EXTENSION: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113730.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NETSCAPE_CERT_RENEWAL_URL: &str = "2.16.840.1.113730.1.7"; +pub const szOID_NETSCAPE_CERT_RENEWAL_URL: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113730.1.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NETSCAPE_CERT_SEQUENCE: &str = "2.16.840.1.113730.2.5"; +pub const szOID_NETSCAPE_CERT_SEQUENCE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113730.2.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NETSCAPE_CERT_TYPE: &str = "2.16.840.1.113730.1.1"; +pub const szOID_NETSCAPE_CERT_TYPE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113730.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NETSCAPE_COMMENT: &str = "2.16.840.1.113730.1.13"; +pub const szOID_NETSCAPE_COMMENT: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113730.1.13"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NETSCAPE_DATA_TYPE: &str = "2.16.840.1.113730.2"; +pub const szOID_NETSCAPE_DATA_TYPE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113730.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NETSCAPE_REVOCATION_URL: &str = "2.16.840.1.113730.1.3"; +pub const szOID_NETSCAPE_REVOCATION_URL: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113730.1.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NETSCAPE_SSL_SERVER_NAME: &str = "2.16.840.1.113730.1.12"; +pub const szOID_NETSCAPE_SSL_SERVER_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113730.1.12"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NEXT_UPDATE_LOCATION: &str = "1.3.6.1.4.1.311.10.2"; +pub const szOID_NEXT_UPDATE_LOCATION: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NIST_AES128_CBC: &str = "2.16.840.1.101.3.4.1.2"; +pub const szOID_NIST_AES128_CBC: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.3.4.1.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NIST_AES128_WRAP: &str = "2.16.840.1.101.3.4.1.5"; +pub const szOID_NIST_AES128_WRAP: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.3.4.1.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NIST_AES192_CBC: &str = "2.16.840.1.101.3.4.1.22"; +pub const szOID_NIST_AES192_CBC: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.3.4.1.22"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NIST_AES192_WRAP: &str = "2.16.840.1.101.3.4.1.25"; +pub const szOID_NIST_AES192_WRAP: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.3.4.1.25"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NIST_AES256_CBC: &str = "2.16.840.1.101.3.4.1.42"; +pub const szOID_NIST_AES256_CBC: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.3.4.1.42"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NIST_AES256_WRAP: &str = "2.16.840.1.101.3.4.1.45"; +pub const szOID_NIST_AES256_WRAP: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.3.4.1.45"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NIST_sha256: &str = "2.16.840.1.101.3.4.2.1"; +pub const szOID_NIST_sha256: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.3.4.2.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NIST_sha384: &str = "2.16.840.1.101.3.4.2.2"; +pub const szOID_NIST_sha384: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.3.4.2.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NIST_sha512: &str = "2.16.840.1.101.3.4.2.3"; +pub const szOID_NIST_sha512: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.101.3.4.2.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NT5_CRYPTO: &str = "1.3.6.1.4.1.311.10.3.6"; +pub const szOID_NT5_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NTDS_REPLICATION: &str = "1.3.6.1.4.1.311.25.1"; +pub const szOID_NTDS_REPLICATION: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.25.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_NT_PRINCIPAL_NAME: &str = "1.3.6.1.4.1.311.20.2.3"; +pub const szOID_NT_PRINCIPAL_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.20.2.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OEM_WHQL_CRYPTO: &str = "1.3.6.1.4.1.311.10.3.7"; +pub const szOID_OEM_WHQL_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIW: &str = "1.3.14"; +pub const szOID_OIW: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWDIR: &str = "1.3.14.7.2"; +pub const szOID_OIWDIR: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.7.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWDIR_CRPT: &str = "1.3.14.7.2.1"; +pub const szOID_OIWDIR_CRPT: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.7.2.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWDIR_HASH: &str = "1.3.14.7.2.2"; +pub const szOID_OIWDIR_HASH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.7.2.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWDIR_SIGN: &str = "1.3.14.7.2.3"; +pub const szOID_OIWDIR_SIGN: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.7.2.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWDIR_md2: &str = "1.3.14.7.2.2.1"; +pub const szOID_OIWDIR_md2: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.7.2.2.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWDIR_md2RSA: &str = "1.3.14.7.2.3.1"; +pub const szOID_OIWDIR_md2RSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.7.2.3.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC: &str = "1.3.14.3.2"; +pub const szOID_OIWSEC: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_desCBC: &str = "1.3.14.3.2.7"; +pub const szOID_OIWSEC_desCBC: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_desCFB: &str = "1.3.14.3.2.9"; +pub const szOID_OIWSEC_desCFB: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_desECB: &str = "1.3.14.3.2.6"; +pub const szOID_OIWSEC_desECB: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_desEDE: &str = "1.3.14.3.2.17"; +pub const szOID_OIWSEC_desEDE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.17"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_desMAC: &str = "1.3.14.3.2.10"; +pub const szOID_OIWSEC_desMAC: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.10"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_desOFB: &str = "1.3.14.3.2.8"; +pub const szOID_OIWSEC_desOFB: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.8"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_dhCommMod: &str = "1.3.14.3.2.16"; +pub const szOID_OIWSEC_dhCommMod: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.16"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_dsa: &str = "1.3.14.3.2.12"; +pub const szOID_OIWSEC_dsa: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.12"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_dsaComm: &str = "1.3.14.3.2.20"; +pub const szOID_OIWSEC_dsaComm: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.20"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_dsaCommSHA: &str = "1.3.14.3.2.21"; +pub const szOID_OIWSEC_dsaCommSHA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.21"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_dsaCommSHA1: &str = "1.3.14.3.2.28"; +pub const szOID_OIWSEC_dsaCommSHA1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.28"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_dsaSHA1: &str = "1.3.14.3.2.27"; +pub const szOID_OIWSEC_dsaSHA1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.27"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_keyHashSeal: &str = "1.3.14.3.2.23"; +pub const szOID_OIWSEC_keyHashSeal: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.23"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_md2RSASign: &str = "1.3.14.3.2.24"; +pub const szOID_OIWSEC_md2RSASign: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.24"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_md4RSA: &str = "1.3.14.3.2.2"; +pub const szOID_OIWSEC_md4RSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_md4RSA2: &str = "1.3.14.3.2.4"; +pub const szOID_OIWSEC_md4RSA2: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_md5RSA: &str = "1.3.14.3.2.3"; +pub const szOID_OIWSEC_md5RSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_md5RSASign: &str = "1.3.14.3.2.25"; +pub const szOID_OIWSEC_md5RSASign: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.25"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_mdc2: &str = "1.3.14.3.2.19"; +pub const szOID_OIWSEC_mdc2: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.19"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_mdc2RSA: &str = "1.3.14.3.2.14"; +pub const szOID_OIWSEC_mdc2RSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.14"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_rsaSign: &str = "1.3.14.3.2.11"; +pub const szOID_OIWSEC_rsaSign: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.11"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_rsaXchg: &str = "1.3.14.3.2.22"; +pub const szOID_OIWSEC_rsaXchg: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.22"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_sha: &str = "1.3.14.3.2.18"; +pub const szOID_OIWSEC_sha: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.18"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_sha1: &str = "1.3.14.3.2.26"; +pub const szOID_OIWSEC_sha1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.26"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_sha1RSASign: &str = "1.3.14.3.2.29"; +pub const szOID_OIWSEC_sha1RSASign: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.29"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_shaDSA: &str = "1.3.14.3.2.13"; +pub const szOID_OIWSEC_shaDSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.13"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OIWSEC_shaRSA: &str = "1.3.14.3.2.15"; +pub const szOID_OIWSEC_shaRSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.14.3.2.15"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ORGANIZATIONAL_UNIT_NAME: &str = "2.5.4.11"; +pub const szOID_ORGANIZATIONAL_UNIT_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.11"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ORGANIZATION_NAME: &str = "2.5.4.10"; +pub const szOID_ORGANIZATION_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.10"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OS_VERSION: &str = "1.3.6.1.4.1.311.13.2.3"; +pub const szOID_OS_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.13.2.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_OWNER: &str = "2.5.4.32"; +pub const szOID_OWNER: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.32"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PHYSICAL_DELIVERY_OFFICE_NAME: &str = "2.5.4.19"; +pub const szOID_PHYSICAL_DELIVERY_OFFICE_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.19"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PIN_RULES_CTL: &str = "1.3.6.1.4.1.311.10.3.32"; +pub const szOID_PIN_RULES_CTL: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.32"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PIN_RULES_DOMAIN_NAME: &str = "1.3.6.1.4.1.311.10.3.34"; +pub const szOID_PIN_RULES_DOMAIN_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.34"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PIN_RULES_EXT: &str = "1.3.6.1.4.1.311.10.3.33"; +pub const szOID_PIN_RULES_EXT: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.33"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PIN_RULES_LOG_END_DATE_EXT: &str = "1.3.6.1.4.1.311.10.3.35"; +pub const szOID_PIN_RULES_LOG_END_DATE_EXT: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.35"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PIN_RULES_SIGNER: &str = "1.3.6.1.4.1.311.10.3.31"; +pub const szOID_PIN_RULES_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.31"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS: &str = "1.2.840.113549.1"; +pub const szOID_PKCS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_1: &str = "1.2.840.113549.1.1"; +pub const szOID_PKCS_1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_10: &str = "1.2.840.113549.1.10"; +pub const szOID_PKCS_10: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.10"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_12: &str = "1.2.840.113549.1.12"; +pub const szOID_PKCS_12: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.12"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_12_EXTENDED_ATTRIBUTES: &str = "1.3.6.1.4.1.311.17.3"; +pub const szOID_PKCS_12_EXTENDED_ATTRIBUTES: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.17.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_12_FRIENDLY_NAME_ATTR: &str = "1.2.840.113549.1.9.20"; +pub const szOID_PKCS_12_FRIENDLY_NAME_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.20"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_12_KEY_PROVIDER_NAME_ATTR: &str = "1.3.6.1.4.1.311.17.1"; +pub const szOID_PKCS_12_KEY_PROVIDER_NAME_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.17.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_12_LOCAL_KEY_ID: &str = "1.2.840.113549.1.9.21"; +pub const szOID_PKCS_12_LOCAL_KEY_ID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.21"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_12_PROTECTED_PASSWORD_SECRET_BAG_TYPE_ID: &str = "1.3.6.1.4.1.311.17.4"; +pub const szOID_PKCS_12_PROTECTED_PASSWORD_SECRET_BAG_TYPE_ID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.17.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_12_PbeIds: &str = "1.2.840.113549.1.12.1"; +pub const szOID_PKCS_12_PbeIds: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.12.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_12_pbeWithSHA1And128BitRC2: &str = "1.2.840.113549.1.12.1.5"; +pub const szOID_PKCS_12_pbeWithSHA1And128BitRC2: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.12.1.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_12_pbeWithSHA1And128BitRC4: &str = "1.2.840.113549.1.12.1.1"; +pub const szOID_PKCS_12_pbeWithSHA1And128BitRC4: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.12.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_12_pbeWithSHA1And2KeyTripleDES: &str = "1.2.840.113549.1.12.1.4"; +pub const szOID_PKCS_12_pbeWithSHA1And2KeyTripleDES: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.12.1.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_12_pbeWithSHA1And3KeyTripleDES: &str = "1.2.840.113549.1.12.1.3"; +pub const szOID_PKCS_12_pbeWithSHA1And3KeyTripleDES: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.12.1.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_12_pbeWithSHA1And40BitRC2: &str = "1.2.840.113549.1.12.1.6"; +pub const szOID_PKCS_12_pbeWithSHA1And40BitRC2: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.12.1.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_12_pbeWithSHA1And40BitRC4: &str = "1.2.840.113549.1.12.1.2"; +pub const szOID_PKCS_12_pbeWithSHA1And40BitRC4: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.12.1.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_2: &str = "1.2.840.113549.1.2"; +pub const szOID_PKCS_2: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_3: &str = "1.2.840.113549.1.3"; +pub const szOID_PKCS_3: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_4: &str = "1.2.840.113549.1.4"; +pub const szOID_PKCS_4: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_5: &str = "1.2.840.113549.1.5"; +pub const szOID_PKCS_5: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_5_PBES2: &str = "1.2.840.113549.1.5.13"; +pub const szOID_PKCS_5_PBES2: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.5.13"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_5_PBKDF2: &str = "1.2.840.113549.1.5.12"; +pub const szOID_PKCS_5_PBKDF2: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.5.12"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_6: &str = "1.2.840.113549.1.6"; +pub const szOID_PKCS_6: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_7: &str = "1.2.840.113549.1.7"; +pub const szOID_PKCS_7: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_7_DATA: &str = "1.2.840.113549.1.7.1"; +pub const szOID_PKCS_7_DATA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.7.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_7_DIGESTED: &str = "1.2.840.113549.1.7.5"; +pub const szOID_PKCS_7_DIGESTED: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.7.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_7_ENCRYPTED: &str = "1.2.840.113549.1.7.6"; +pub const szOID_PKCS_7_ENCRYPTED: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.7.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_7_ENVELOPED: &str = "1.2.840.113549.1.7.3"; +pub const szOID_PKCS_7_ENVELOPED: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.7.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_7_SIGNED: &str = "1.2.840.113549.1.7.2"; +pub const szOID_PKCS_7_SIGNED: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.7.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_7_SIGNEDANDENVELOPED: &str = "1.2.840.113549.1.7.4"; +pub const szOID_PKCS_7_SIGNEDANDENVELOPED: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.7.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_8: &str = "1.2.840.113549.1.8"; +pub const szOID_PKCS_8: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.8"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_9: &str = "1.2.840.113549.1.9"; +pub const szOID_PKCS_9: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_9_CONTENT_TYPE: &str = "1.2.840.113549.1.9.3"; +pub const szOID_PKCS_9_CONTENT_TYPE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKCS_9_MESSAGE_DIGEST: &str = "1.2.840.113549.1.9.4"; +pub const szOID_PKCS_9_MESSAGE_DIGEST: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKINIT_KP_KDC: &str = "1.3.6.1.5.2.3.5"; +pub const szOID_PKINIT_KP_KDC: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.2.3.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX: &str = "1.3.6.1.5.5.7"; +pub const szOID_PKIX: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_ACC_DESCR: &str = "1.3.6.1.5.5.7.48"; +pub const szOID_PKIX_ACC_DESCR: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.48"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_CA_ISSUERS: &str = "1.3.6.1.5.5.7.48.2"; +pub const szOID_PKIX_CA_ISSUERS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.48.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_CA_REPOSITORY: &str = "1.3.6.1.5.5.7.48.5"; +pub const szOID_PKIX_CA_REPOSITORY: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.48.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_KP: &str = "1.3.6.1.5.5.7.3"; +pub const szOID_PKIX_KP: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_KP_CLIENT_AUTH: &str = "1.3.6.1.5.5.7.3.2"; +pub const szOID_PKIX_KP_CLIENT_AUTH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.3.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_KP_CODE_SIGNING: &str = "1.3.6.1.5.5.7.3.3"; +pub const szOID_PKIX_KP_CODE_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.3.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_KP_EMAIL_PROTECTION: &str = "1.3.6.1.5.5.7.3.4"; +pub const szOID_PKIX_KP_EMAIL_PROTECTION: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.3.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_KP_IPSEC_END_SYSTEM: &str = "1.3.6.1.5.5.7.3.5"; +pub const szOID_PKIX_KP_IPSEC_END_SYSTEM: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.3.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_KP_IPSEC_TUNNEL: &str = "1.3.6.1.5.5.7.3.6"; +pub const szOID_PKIX_KP_IPSEC_TUNNEL: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.3.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_KP_IPSEC_USER: &str = "1.3.6.1.5.5.7.3.7"; +pub const szOID_PKIX_KP_IPSEC_USER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.3.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_KP_OCSP_SIGNING: &str = "1.3.6.1.5.5.7.3.9"; +pub const szOID_PKIX_KP_OCSP_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.3.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_KP_SERVER_AUTH: &str = "1.3.6.1.5.5.7.3.1"; +pub const szOID_PKIX_KP_SERVER_AUTH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.3.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_KP_TIMESTAMP_SIGNING: &str = "1.3.6.1.5.5.7.3.8"; +pub const szOID_PKIX_KP_TIMESTAMP_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.3.8"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_NO_SIGNATURE: &str = "1.3.6.1.5.5.7.6.2"; +pub const szOID_PKIX_NO_SIGNATURE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.6.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_OCSP: &str = "1.3.6.1.5.5.7.48.1"; +pub const szOID_PKIX_OCSP: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.48.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_OCSP_BASIC_SIGNED_RESPONSE: &str = "1.3.6.1.5.5.7.48.1.1"; +pub const szOID_PKIX_OCSP_BASIC_SIGNED_RESPONSE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.48.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_OCSP_NOCHECK: &str = "1.3.6.1.5.5.7.48.1.5"; +pub const szOID_PKIX_OCSP_NOCHECK: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.48.1.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_OCSP_NONCE: &str = "1.3.6.1.5.5.7.48.1.2"; +pub const szOID_PKIX_OCSP_NONCE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.48.1.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_PE: &str = "1.3.6.1.5.5.7.1"; +pub const szOID_PKIX_PE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_POLICY_QUALIFIER_CPS: &str = "1.3.6.1.5.5.7.2.1"; +pub const szOID_PKIX_POLICY_QUALIFIER_CPS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.2.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_POLICY_QUALIFIER_USERNOTICE: &str = "1.3.6.1.5.5.7.2.2"; +pub const szOID_PKIX_POLICY_QUALIFIER_USERNOTICE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.2.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PKIX_TIME_STAMPING: &str = "1.3.6.1.5.5.7.48.3"; +pub const szOID_PKIX_TIME_STAMPING: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.48.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PLATFORM_MANIFEST_BINARY_ID: &str = "1.3.6.1.4.1.311.10.3.28"; +pub const szOID_PLATFORM_MANIFEST_BINARY_ID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.28"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_POLICY_CONSTRAINTS: &str = "2.5.29.36"; +pub const szOID_POLICY_CONSTRAINTS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.36"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_POLICY_MAPPINGS: &str = "2.5.29.33"; +pub const szOID_POLICY_MAPPINGS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.33"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_POSTAL_ADDRESS: &str = "2.5.4.16"; +pub const szOID_POSTAL_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.16"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_POSTAL_CODE: &str = "2.5.4.17"; +pub const szOID_POSTAL_CODE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.17"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_POST_OFFICE_BOX: &str = "2.5.4.18"; +pub const szOID_POST_OFFICE_BOX: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.18"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PREFERRED_DELIVERY_METHOD: &str = "2.5.4.28"; +pub const szOID_PREFERRED_DELIVERY_METHOD: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.28"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PRESENTATION_ADDRESS: &str = "2.5.4.29"; +pub const szOID_PRESENTATION_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.29"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PRIVATEKEY_USAGE_PERIOD: &str = "2.5.29.16"; +pub const szOID_PRIVATEKEY_USAGE_PERIOD: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.16"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PRODUCT_UPDATE: &str = "1.3.6.1.4.1.311.31.1"; +pub const szOID_PRODUCT_UPDATE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.31.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PROTECTED_PROCESS_LIGHT_SIGNER: &str = "1.3.6.1.4.1.311.10.3.22"; +pub const szOID_PROTECTED_PROCESS_LIGHT_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.22"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_PROTECTED_PROCESS_SIGNER: &str = "1.3.6.1.4.1.311.10.3.24"; +pub const szOID_PROTECTED_PROCESS_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.24"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_QC_EU_COMPLIANCE: &str = "0.4.0.1862.1.1"; +pub const szOID_QC_EU_COMPLIANCE: ::windows_sys::core::PCSTR = ::windows_sys::s!("0.4.0.1862.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_QC_SSCD: &str = "0.4.0.1862.1.4"; +pub const szOID_QC_SSCD: ::windows_sys::core::PCSTR = ::windows_sys::s!("0.4.0.1862.1.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_QC_STATEMENTS_EXT: &str = "1.3.6.1.5.5.7.1.3"; +pub const szOID_QC_STATEMENTS_EXT: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.1.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RDN_DUMMY_SIGNER: &str = "1.3.6.1.4.1.311.21.9"; +pub const szOID_RDN_DUMMY_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RDN_TCG_PLATFORM_MANUFACTURER: &str = "2.23.133.2.4"; +pub const szOID_RDN_TCG_PLATFORM_MANUFACTURER: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.23.133.2.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RDN_TCG_PLATFORM_MODEL: &str = "2.23.133.2.5"; +pub const szOID_RDN_TCG_PLATFORM_MODEL: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.23.133.2.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RDN_TCG_PLATFORM_VERSION: &str = "2.23.133.2.6"; +pub const szOID_RDN_TCG_PLATFORM_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.23.133.2.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RDN_TPM_MANUFACTURER: &str = "2.23.133.2.1"; +pub const szOID_RDN_TPM_MANUFACTURER: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.23.133.2.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RDN_TPM_MODEL: &str = "2.23.133.2.2"; +pub const szOID_RDN_TPM_MODEL: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.23.133.2.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RDN_TPM_VERSION: &str = "2.23.133.2.3"; +pub const szOID_RDN_TPM_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.23.133.2.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_REASON_CODE_HOLD: &str = "2.5.29.23"; +pub const szOID_REASON_CODE_HOLD: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.23"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_REGISTERED_ADDRESS: &str = "2.5.4.26"; +pub const szOID_REGISTERED_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.26"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_REMOVE_CERTIFICATE: &str = "1.3.6.1.4.1.311.10.8.1"; +pub const szOID_REMOVE_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.8.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RENEWAL_CERTIFICATE: &str = "1.3.6.1.4.1.311.13.1"; +pub const szOID_RENEWAL_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.13.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_REQUEST_CLIENT_INFO: &str = "1.3.6.1.4.1.311.21.20"; +pub const szOID_REQUEST_CLIENT_INFO: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.20"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_REQUIRE_CERT_CHAIN_POLICY: &str = "1.3.6.1.4.1.311.21.15"; +pub const szOID_REQUIRE_CERT_CHAIN_POLICY: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.21.15"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_REVOKED_LIST_SIGNER: &str = "1.3.6.1.4.1.311.10.3.19"; +pub const szOID_REVOKED_LIST_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.19"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RFC3161_counterSign: &str = "1.3.6.1.4.1.311.3.3.1"; +pub const szOID_RFC3161_counterSign: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.3.3.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ROLE_OCCUPANT: &str = "2.5.4.33"; +pub const szOID_ROLE_OCCUPANT: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.33"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ROOT_LIST_SIGNER: &str = "1.3.6.1.4.1.311.10.3.9"; +pub const szOID_ROOT_LIST_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION: &str = "1.3.6.1.4.1.311.60.3.1"; +pub const szOID_ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.60.3.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION: &str = "1.3.6.1.4.1.311.60.3.2"; +pub const szOID_ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.60.3.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ROOT_PROGRAM_FLAGS: &str = "1.3.6.1.4.1.311.60.1.1"; +pub const szOID_ROOT_PROGRAM_FLAGS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.60.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_ROOT_PROGRAM_NO_OCSP_FAILOVER_TO_CRL: &str = "1.3.6.1.4.1.311.60.3.3"; +pub const szOID_ROOT_PROGRAM_NO_OCSP_FAILOVER_TO_CRL: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.60.3.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA: &str = "1.2.840.113549"; +pub const szOID_RSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSAES_OAEP: &str = "1.2.840.113549.1.1.7"; +pub const szOID_RSAES_OAEP: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.1.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_DES_EDE3_CBC: &str = "1.2.840.113549.3.7"; +pub const szOID_RSA_DES_EDE3_CBC: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.3.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_DH: &str = "1.2.840.113549.1.3.1"; +pub const szOID_RSA_DH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.3.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_ENCRYPT: &str = "1.2.840.113549.3"; +pub const szOID_RSA_ENCRYPT: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_HASH: &str = "1.2.840.113549.2"; +pub const szOID_RSA_HASH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_MD2: &str = "1.2.840.113549.2.2"; +pub const szOID_RSA_MD2: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.2.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_MD2RSA: &str = "1.2.840.113549.1.1.2"; +pub const szOID_RSA_MD2RSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.1.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_MD4: &str = "1.2.840.113549.2.4"; +pub const szOID_RSA_MD4: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.2.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_MD4RSA: &str = "1.2.840.113549.1.1.3"; +pub const szOID_RSA_MD4RSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.1.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_MD5: &str = "1.2.840.113549.2.5"; +pub const szOID_RSA_MD5: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.2.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_MD5RSA: &str = "1.2.840.113549.1.1.4"; +pub const szOID_RSA_MD5RSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.1.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_MGF1: &str = "1.2.840.113549.1.1.8"; +pub const szOID_RSA_MGF1: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.1.8"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_PSPECIFIED: &str = "1.2.840.113549.1.1.9"; +pub const szOID_RSA_PSPECIFIED: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.1.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_RC2CBC: &str = "1.2.840.113549.3.2"; +pub const szOID_RSA_RC2CBC: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.3.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_RC4: &str = "1.2.840.113549.3.4"; +pub const szOID_RSA_RC4: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.3.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_RC5_CBCPad: &str = "1.2.840.113549.3.9"; +pub const szOID_RSA_RC5_CBCPad: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.3.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_RSA: &str = "1.2.840.113549.1.1.1"; +pub const szOID_RSA_RSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_SETOAEP_RSA: &str = "1.2.840.113549.1.1.6"; +pub const szOID_RSA_SETOAEP_RSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.1.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_SHA1RSA: &str = "1.2.840.113549.1.1.5"; +pub const szOID_RSA_SHA1RSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.1.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_SHA256RSA: &str = "1.2.840.113549.1.1.11"; +pub const szOID_RSA_SHA256RSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.1.11"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_SHA384RSA: &str = "1.2.840.113549.1.1.12"; +pub const szOID_RSA_SHA384RSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.1.12"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_SHA512RSA: &str = "1.2.840.113549.1.1.13"; +pub const szOID_RSA_SHA512RSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.1.13"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_SMIMECapabilities: &str = "1.2.840.113549.1.9.15"; +pub const szOID_RSA_SMIMECapabilities: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.15"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_SMIMEalg: &str = "1.2.840.113549.1.9.16.3"; +pub const szOID_RSA_SMIMEalg: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.16.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_SMIMEalgCMS3DESwrap: &str = "1.2.840.113549.1.9.16.3.6"; +pub const szOID_RSA_SMIMEalgCMS3DESwrap: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.16.3.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_SMIMEalgCMSRC2wrap: &str = "1.2.840.113549.1.9.16.3.7"; +pub const szOID_RSA_SMIMEalgCMSRC2wrap: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.16.3.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_SMIMEalgESDH: &str = "1.2.840.113549.1.9.16.3.5"; +pub const szOID_RSA_SMIMEalgESDH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.16.3.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_SSA_PSS: &str = "1.2.840.113549.1.1.10"; +pub const szOID_RSA_SSA_PSS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.1.10"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_certExtensions: &str = "1.2.840.113549.1.9.14"; +pub const szOID_RSA_certExtensions: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.14"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_challengePwd: &str = "1.2.840.113549.1.9.7"; +pub const szOID_RSA_challengePwd: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_contentType: &str = "1.2.840.113549.1.9.3"; +pub const szOID_RSA_contentType: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_counterSign: &str = "1.2.840.113549.1.9.6"; +pub const szOID_RSA_counterSign: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_data: &str = "1.2.840.113549.1.7.1"; +pub const szOID_RSA_data: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.7.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_digestedData: &str = "1.2.840.113549.1.7.5"; +pub const szOID_RSA_digestedData: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.7.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_emailAddr: &str = "1.2.840.113549.1.9.1"; +pub const szOID_RSA_emailAddr: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_encryptedData: &str = "1.2.840.113549.1.7.6"; +pub const szOID_RSA_encryptedData: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.7.6"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_envelopedData: &str = "1.2.840.113549.1.7.3"; +pub const szOID_RSA_envelopedData: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.7.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_extCertAttrs: &str = "1.2.840.113549.1.9.9"; +pub const szOID_RSA_extCertAttrs: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_hashedData: &str = "1.2.840.113549.1.7.5"; +pub const szOID_RSA_hashedData: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.7.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_messageDigest: &str = "1.2.840.113549.1.9.4"; +pub const szOID_RSA_messageDigest: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_preferSignedData: &str = "1.2.840.113549.1.9.15.1"; +pub const szOID_RSA_preferSignedData: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.15.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_signEnvData: &str = "1.2.840.113549.1.7.4"; +pub const szOID_RSA_signEnvData: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.7.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_signedData: &str = "1.2.840.113549.1.7.2"; +pub const szOID_RSA_signedData: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.7.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_signingTime: &str = "1.2.840.113549.1.9.5"; +pub const szOID_RSA_signingTime: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_unstructAddr: &str = "1.2.840.113549.1.9.8"; +pub const szOID_RSA_unstructAddr: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.8"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_RSA_unstructName: &str = "1.2.840.113549.1.9.2"; +pub const szOID_RSA_unstructName: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SEARCH_GUIDE: &str = "2.5.4.14"; +pub const szOID_SEARCH_GUIDE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.14"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SEE_ALSO: &str = "2.5.4.34"; +pub const szOID_SEE_ALSO: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.34"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SERIALIZED: &str = "1.3.6.1.4.1.311.10.3.3.1"; +pub const szOID_SERIALIZED: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.3.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SERVER_GATED_CRYPTO: &str = "1.3.6.1.4.1.311.10.3.3"; +pub const szOID_SERVER_GATED_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SGC_NETSCAPE: &str = "2.16.840.1.113730.4.1"; +pub const szOID_SGC_NETSCAPE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113730.4.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SITE_PIN_RULES_FLAGS_ATTR: &str = "1.3.6.1.4.1.311.10.4.3"; +pub const szOID_SITE_PIN_RULES_FLAGS_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.4.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SITE_PIN_RULES_INDEX_ATTR: &str = "1.3.6.1.4.1.311.10.4.2"; +pub const szOID_SITE_PIN_RULES_INDEX_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.4.2"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SORTED_CTL: &str = "1.3.6.1.4.1.311.10.1.1"; +pub const szOID_SORTED_CTL: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.1.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_STATE_OR_PROVINCE_NAME: &str = "2.5.4.8"; +pub const szOID_STATE_OR_PROVINCE_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.8"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_STREET_ADDRESS: &str = "2.5.4.9"; +pub const szOID_STREET_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SUBJECT_ALT_NAME: &str = "2.5.29.7"; +pub const szOID_SUBJECT_ALT_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SUBJECT_ALT_NAME2: &str = "2.5.29.17"; +pub const szOID_SUBJECT_ALT_NAME2: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.17"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SUBJECT_DIR_ATTRS: &str = "2.5.29.9"; +pub const szOID_SUBJECT_DIR_ATTRS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SUBJECT_INFO_ACCESS: &str = "1.3.6.1.5.5.7.1.11"; +pub const szOID_SUBJECT_INFO_ACCESS: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.1.11"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SUBJECT_KEY_IDENTIFIER: &str = "2.5.29.14"; +pub const szOID_SUBJECT_KEY_IDENTIFIER: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.29.14"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SUPPORTED_APPLICATION_CONTEXT: &str = "2.5.4.30"; +pub const szOID_SUPPORTED_APPLICATION_CONTEXT: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.30"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SUR_NAME: &str = "2.5.4.4"; +pub const szOID_SUR_NAME: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_SYNC_ROOT_CTL_EXT: &str = "1.3.6.1.4.1.311.10.3.50"; +pub const szOID_SYNC_ROOT_CTL_EXT: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.50"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_TELEPHONE_NUMBER: &str = "2.5.4.20"; +pub const szOID_TELEPHONE_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.20"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_TELETEXT_TERMINAL_IDENTIFIER: &str = "2.5.4.22"; +pub const szOID_TELETEXT_TERMINAL_IDENTIFIER: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.22"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_TELEX_NUMBER: &str = "2.5.4.21"; +pub const szOID_TELEX_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.21"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_TIMESTAMP_TOKEN: &str = "1.2.840.113549.1.9.16.1.4"; +pub const szOID_TIMESTAMP_TOKEN: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.16.1.4"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_TITLE: &str = "2.5.4.12"; +pub const szOID_TITLE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.12"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_TLS_FEATURES_EXT: &str = "1.3.6.1.5.5.7.1.24"; +pub const szOID_TLS_FEATURES_EXT: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.5.5.7.1.24"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_USER_CERTIFICATE: &str = "2.5.4.36"; +pub const szOID_USER_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.36"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_USER_PASSWORD: &str = "2.5.4.35"; +pub const szOID_USER_PASSWORD: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.35"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_VERISIGN_BITSTRING_6_13: &str = "2.16.840.1.113733.1.6.13"; +pub const szOID_VERISIGN_BITSTRING_6_13: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113733.1.6.13"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_VERISIGN_ISS_STRONG_CRYPTO: &str = "2.16.840.1.113733.1.8.1"; +pub const szOID_VERISIGN_ISS_STRONG_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113733.1.8.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_VERISIGN_ONSITE_JURISDICTION_HASH: &str = "2.16.840.1.113733.1.6.11"; +pub const szOID_VERISIGN_ONSITE_JURISDICTION_HASH: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113733.1.6.11"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_VERISIGN_PRIVATE_6_9: &str = "2.16.840.1.113733.1.6.9"; +pub const szOID_VERISIGN_PRIVATE_6_9: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.16.840.1.113733.1.6.9"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_WHQL_CRYPTO: &str = "1.3.6.1.4.1.311.10.3.5"; +pub const szOID_WHQL_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.5"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_WINDOWS_KITS_SIGNER: &str = "1.3.6.1.4.1.311.10.3.20"; +pub const szOID_WINDOWS_KITS_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.20"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_WINDOWS_RT_SIGNER: &str = "1.3.6.1.4.1.311.10.3.21"; +pub const szOID_WINDOWS_RT_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.21"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_WINDOWS_SOFTWARE_EXTENSION_SIGNER: &str = "1.3.6.1.4.1.311.10.3.26"; +pub const szOID_WINDOWS_SOFTWARE_EXTENSION_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.26"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_WINDOWS_STORE_SIGNER: &str = "1.3.6.1.4.1.311.76.3.1"; +pub const szOID_WINDOWS_STORE_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.76.3.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_WINDOWS_TCB_SIGNER: &str = "1.3.6.1.4.1.311.10.3.23"; +pub const szOID_WINDOWS_TCB_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.23"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_WINDOWS_THIRD_PARTY_COMPONENT_SIGNER: &str = "1.3.6.1.4.1.311.10.3.25"; +pub const szOID_WINDOWS_THIRD_PARTY_COMPONENT_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.3.25"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_X21_ADDRESS: &str = "2.5.4.24"; +pub const szOID_X21_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::s!("2.5.4.24"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_X957: &str = "1.2.840.10040"; +pub const szOID_X957: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10040"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_X957_DSA: &str = "1.2.840.10040.4.1"; +pub const szOID_X957_DSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10040.4.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_X957_SHA1DSA: &str = "1.2.840.10040.4.3"; +pub const szOID_X957_SHA1DSA: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.10040.4.3"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szOID_YESNO_TRUST_ATTR: &str = "1.3.6.1.4.1.311.10.4.1"; +pub const szOID_YESNO_TRUST_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.4.1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szPRIV_KEY_CACHE_MAX_ITEMS: &str = "PrivKeyCacheMaxItems"; +pub const szPRIV_KEY_CACHE_MAX_ITEMS: ::windows_sys::core::PCSTR = ::windows_sys::s!("PrivKeyCacheMaxItems"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const szPRIV_KEY_CACHE_PURGE_INTERVAL_SECONDS: &str = "PrivKeyCachePurgeIntervalSeconds"; +pub const szPRIV_KEY_CACHE_PURGE_INTERVAL_SECONDS: ::windows_sys::core::PCSTR = ::windows_sys::s!("PrivKeyCachePurgeIntervalSeconds"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_COLLECTION: &str = "Collection"; +pub const sz_CERT_STORE_PROV_COLLECTION: ::windows_sys::core::PCSTR = ::windows_sys::s!("Collection"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_FILENAME: &str = "File"; +pub const sz_CERT_STORE_PROV_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("File"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_FILENAME_W: &str = "File"; +pub const sz_CERT_STORE_PROV_FILENAME_W: ::windows_sys::core::PCSTR = ::windows_sys::s!("File"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_LDAP: &str = "Ldap"; +pub const sz_CERT_STORE_PROV_LDAP: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Ldap"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_LDAP_W: &str = "Ldap"; +pub const sz_CERT_STORE_PROV_LDAP_W: ::windows_sys::core::PCSTR = ::windows_sys::s!("Ldap"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_MEMORY: &str = "Memory"; +pub const sz_CERT_STORE_PROV_MEMORY: ::windows_sys::core::PCSTR = ::windows_sys::s!("Memory"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_PHYSICAL: &str = "Physical"; +pub const sz_CERT_STORE_PROV_PHYSICAL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Physical"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_PHYSICAL_W: &str = "Physical"; +pub const sz_CERT_STORE_PROV_PHYSICAL_W: ::windows_sys::core::PCSTR = ::windows_sys::s!("Physical"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_PKCS12: &str = "PKCS12"; +pub const sz_CERT_STORE_PROV_PKCS12: ::windows_sys::core::PCSTR = ::windows_sys::s!("PKCS12"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_PKCS7: &str = "PKCS7"; +pub const sz_CERT_STORE_PROV_PKCS7: ::windows_sys::core::PCSTR = ::windows_sys::s!("PKCS7"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_SERIALIZED: &str = "Serialized"; +pub const sz_CERT_STORE_PROV_SERIALIZED: ::windows_sys::core::PCSTR = ::windows_sys::s!("Serialized"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_SMART_CARD: &str = "SmartCard"; +pub const sz_CERT_STORE_PROV_SMART_CARD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SmartCard"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_SMART_CARD_W: &str = "SmartCard"; +pub const sz_CERT_STORE_PROV_SMART_CARD_W: ::windows_sys::core::PCSTR = ::windows_sys::s!("SmartCard"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_SYSTEM: &str = "System"; +pub const sz_CERT_STORE_PROV_SYSTEM: ::windows_sys::core::PCWSTR = ::windows_sys::w!("System"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_SYSTEM_REGISTRY: &str = "SystemRegistry"; +pub const sz_CERT_STORE_PROV_SYSTEM_REGISTRY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SystemRegistry"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_SYSTEM_REGISTRY_W: &str = "SystemRegistry"; +pub const sz_CERT_STORE_PROV_SYSTEM_REGISTRY_W: ::windows_sys::core::PCSTR = ::windows_sys::s!("SystemRegistry"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const sz_CERT_STORE_PROV_SYSTEM_W: &str = "System"; +pub const sz_CERT_STORE_PROV_SYSTEM_W: ::windows_sys::core::PCSTR = ::windows_sys::s!("System"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_CANONICALIZATION_C14N: &str = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; +pub const wszURI_CANONICALIZATION_C14N: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/TR/2001/REC-xml-c14n-20010315"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_CANONICALIZATION_C14NC: &str = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"; +pub const wszURI_CANONICALIZATION_C14NC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_CANONICALIZATION_EXSLUSIVE_C14N: &str = "http://www.w3.org/2001/10/xml-exc-c14n#"; +pub const wszURI_CANONICALIZATION_EXSLUSIVE_C14N: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2001/10/xml-exc-c14n#"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_CANONICALIZATION_EXSLUSIVE_C14NC: &str = "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"; +pub const wszURI_CANONICALIZATION_EXSLUSIVE_C14NC: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2001/10/xml-exc-c14n#WithComments"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_TRANSFORM_XPATH: &str = "http://www.w3.org/TR/1999/REC-xpath-19991116"; +pub const wszURI_TRANSFORM_XPATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/TR/1999/REC-xpath-19991116"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_BASE64: &str = "http://www.w3.org/2000/09/xmldsig#base64"; +pub const wszURI_XMLNS_DIGSIG_BASE64: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2000/09/xmldsig#base64"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_DSA_SHA1: &str = "http://www.w3.org/2000/09/xmldsig#dsa-sha1"; +pub const wszURI_XMLNS_DIGSIG_DSA_SHA1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2000/09/xmldsig#dsa-sha1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA1: &str = "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1"; +pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA256: &str = "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"; +pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA256: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA384: &str = "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384"; +pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA384: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA512: &str = "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512"; +pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA512: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_HMAC_SHA1: &str = "http://www.w3.org/2000/09/xmldsig#hmac-sha1"; +pub const wszURI_XMLNS_DIGSIG_HMAC_SHA1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2000/09/xmldsig#hmac-sha1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_HMAC_SHA256: &str = "http://www.w3.org/2001/04/xmldsig-more#hmac-sha256"; +pub const wszURI_XMLNS_DIGSIG_HMAC_SHA256: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2001/04/xmldsig-more#hmac-sha256"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_HMAC_SHA384: &str = "http://www.w3.org/2001/04/xmldsig-more#hmac-sha384"; +pub const wszURI_XMLNS_DIGSIG_HMAC_SHA384: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2001/04/xmldsig-more#hmac-sha384"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_HMAC_SHA512: &str = "http://www.w3.org/2001/04/xmldsig-more#hmac-sha512"; +pub const wszURI_XMLNS_DIGSIG_HMAC_SHA512: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2001/04/xmldsig-more#hmac-sha512"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_RSA_SHA1: &str = "http://www.w3.org/2000/09/xmldsig#rsa-sha1"; +pub const wszURI_XMLNS_DIGSIG_RSA_SHA1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2000/09/xmldsig#rsa-sha1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_RSA_SHA256: &str = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"; +pub const wszURI_XMLNS_DIGSIG_RSA_SHA256: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_RSA_SHA384: &str = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha384"; +pub const wszURI_XMLNS_DIGSIG_RSA_SHA384: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2001/04/xmldsig-more#rsa-sha384"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_RSA_SHA512: &str = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"; +pub const wszURI_XMLNS_DIGSIG_RSA_SHA512: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_SHA1: &str = "http://www.w3.org/2000/09/xmldsig#sha1"; +pub const wszURI_XMLNS_DIGSIG_SHA1: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2000/09/xmldsig#sha1"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_SHA256: &str = "http://www.w3.org/2001/04/xmlenc#sha256"; +pub const wszURI_XMLNS_DIGSIG_SHA256: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2001/04/xmlenc#sha256"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_SHA384: &str = "http://www.w3.org/2001/04/xmldsig-more#sha384"; +pub const wszURI_XMLNS_DIGSIG_SHA384: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2001/04/xmldsig-more#sha384"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_DIGSIG_SHA512: &str = "http://www.w3.org/2001/04/xmlenc#sha512"; +pub const wszURI_XMLNS_DIGSIG_SHA512: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2001/04/xmlenc#sha512"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_TRANSFORM_BASE64: &str = "http://www.w3.org/2000/09/xmldsig#base64"; +pub const wszURI_XMLNS_TRANSFORM_BASE64: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2000/09/xmldsig#base64"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszURI_XMLNS_TRANSFORM_ENVELOPED: &str = "http://www.w3.org/2000/09/xmldsig#enveloped-signature"; +pub const wszURI_XMLNS_TRANSFORM_ENVELOPED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2000/09/xmldsig#enveloped-signature"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszXMLNS_DIGSIG: &str = "http://www.w3.org/2000/09/xmldsig#"; +pub const wszXMLNS_DIGSIG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2000/09/xmldsig#"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszXMLNS_DIGSIG_Id: &str = "Id"; +pub const wszXMLNS_DIGSIG_Id: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Id"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub const wszXMLNS_DIGSIG_SignatureProperties: &str = "http://www.w3.org/2000/09/xmldsig#SignatureProperties"; +pub const wszXMLNS_DIGSIG_SignatureProperties: ::windows_sys::core::PCWSTR = ::windows_sys::w!("http://www.w3.org/2000/09/xmldsig#SignatureProperties"); #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub type BCRYPT_DH_KEY_BLOB_MAGIC = u32; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -8426,7 +8031,7 @@ impl ::core::clone::Clone for BCryptBufferDesc { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERTIFICATE_CHAIN_BLOB { pub certCount: u32, - pub rawCertificates: *mut CRYPTOAPI_BLOB, + pub rawCertificates: *mut CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CERTIFICATE_CHAIN_BLOB {} impl ::core::clone::Clone for CERTIFICATE_CHAIN_BLOB { @@ -8464,9 +8069,9 @@ pub union CERT_ALT_NAME_ENTRY_0 { pub pOtherName: *mut CERT_OTHER_NAME, pub pwszRfc822Name: ::windows_sys::core::PWSTR, pub pwszDNSName: ::windows_sys::core::PWSTR, - pub DirectoryName: CRYPTOAPI_BLOB, + pub DirectoryName: CRYPT_INTEGER_BLOB, pub pwszURL: ::windows_sys::core::PWSTR, - pub IPAddress: CRYPTOAPI_BLOB, + pub IPAddress: CRYPT_INTEGER_BLOB, pub pszRegisteredID: ::windows_sys::core::PSTR, } impl ::core::marker::Copy for CERT_ALT_NAME_ENTRY_0 {} @@ -8502,9 +8107,9 @@ impl ::core::clone::Clone for CERT_AUTHORITY_INFO_ACCESS { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_AUTHORITY_KEY_ID2_INFO { - pub KeyId: CRYPTOAPI_BLOB, + pub KeyId: CRYPT_INTEGER_BLOB, pub AuthorityCertIssuer: CERT_ALT_NAME_INFO, - pub AuthorityCertSerialNumber: CRYPTOAPI_BLOB, + 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 { @@ -8515,9 +8120,9 @@ impl ::core::clone::Clone for CERT_AUTHORITY_KEY_ID2_INFO { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_AUTHORITY_KEY_ID_INFO { - pub KeyId: CRYPTOAPI_BLOB, - pub CertIssuer: CRYPTOAPI_BLOB, - pub CertSerialNumber: CRYPTOAPI_BLOB, + 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 { @@ -8549,7 +8154,7 @@ pub struct CERT_BASIC_CONSTRAINTS_INFO { pub fPathLenConstraint: super::super::Foundation::BOOL, pub dwPathLenConstraint: u32, pub cSubtreesConstraint: u32, - pub rgSubtreesConstraint: *mut CRYPTOAPI_BLOB, + pub rgSubtreesConstraint: *mut CRYPT_INTEGER_BLOB, } #[cfg(feature = "Win32_Foundation")] impl ::core::marker::Copy for CERT_BASIC_CONSTRAINTS_INFO {} @@ -8600,7 +8205,7 @@ impl ::core::clone::Clone for CERT_BIOMETRIC_EXT_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_CHAIN { pub cCerts: u32, - pub certs: *mut CRYPTOAPI_BLOB, + pub certs: *mut CRYPT_INTEGER_BLOB, pub keyLocatorInfo: CRYPT_KEY_PROV_INFO, } impl ::core::marker::Copy for CERT_CHAIN {} @@ -8684,7 +8289,7 @@ pub struct CERT_CHAIN_FIND_BY_ISSUER_PARA { pub dwKeySpec: u32, pub dwAcquirePrivateKeyFlags: u32, pub cIssuer: u32, - pub rgIssuer: *mut CRYPTOAPI_BLOB, + pub rgIssuer: *mut CRYPT_INTEGER_BLOB, pub pfnFindCallback: PFN_CERT_CHAIN_FIND_BY_ISSUER_CALLBACK, pub pvFindArg: *mut ::core::ffi::c_void, } @@ -8740,7 +8345,7 @@ impl ::core::clone::Clone for CERT_CHAIN_POLICY_STATUS { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub struct CERT_CONTEXT { - pub dwCertEncodingType: u32, + pub dwCertEncodingType: CERT_QUERY_ENCODING_TYPE, pub pbCertEncoded: *mut u8, pub cbCertEncoded: u32, pub pCertInfo: *mut CERT_INFO, @@ -8790,8 +8395,8 @@ impl ::core::clone::Clone for CERT_CRL_CONTEXT_PAIR { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_DH_PARAMETERS { - pub p: CRYPTOAPI_BLOB, - pub g: CRYPTOAPI_BLOB, + 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 { @@ -8802,9 +8407,9 @@ impl ::core::clone::Clone for CERT_DH_PARAMETERS { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_DSS_PARAMETERS { - pub p: CRYPTOAPI_BLOB, - pub q: CRYPTOAPI_BLOB, - pub g: CRYPTOAPI_BLOB, + 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 { @@ -8815,8 +8420,8 @@ impl ::core::clone::Clone for CERT_DSS_PARAMETERS { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_ECC_SIGNATURE { - pub r: CRYPTOAPI_BLOB, - pub s: CRYPTOAPI_BLOB, + 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 { @@ -8830,7 +8435,7 @@ impl ::core::clone::Clone for CERT_ECC_SIGNATURE { pub struct CERT_EXTENSION { pub pszObjId: ::windows_sys::core::PSTR, pub fCritical: super::super::Foundation::BOOL, - pub Value: CRYPTOAPI_BLOB, + pub Value: CRYPT_INTEGER_BLOB, } #[cfg(feature = "Win32_Foundation")] impl ::core::marker::Copy for CERT_EXTENSION {} @@ -8889,7 +8494,7 @@ impl ::core::clone::Clone for CERT_GENERAL_SUBTREE { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_HASHED_URL { pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub Hash: CRYPTOAPI_BLOB, + pub Hash: CRYPT_INTEGER_BLOB, pub pwszUrl: ::windows_sys::core::PWSTR, } impl ::core::marker::Copy for CERT_HASHED_URL {} @@ -8914,8 +8519,8 @@ impl ::core::clone::Clone for CERT_ID { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub union CERT_ID_0 { pub IssuerSerialNumber: CERT_ISSUER_SERIAL_NUMBER, - pub KeyId: CRYPTOAPI_BLOB, - pub HashId: CRYPTOAPI_BLOB, + 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 { @@ -8928,12 +8533,12 @@ impl ::core::clone::Clone for CERT_ID_0 { #[cfg(feature = "Win32_Foundation")] pub struct CERT_INFO { pub dwVersion: u32, - pub SerialNumber: CRYPTOAPI_BLOB, + pub SerialNumber: CRYPT_INTEGER_BLOB, pub SignatureAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub Issuer: CRYPTOAPI_BLOB, + pub Issuer: CRYPT_INTEGER_BLOB, pub NotBefore: super::super::Foundation::FILETIME, pub NotAfter: super::super::Foundation::FILETIME, - pub Subject: CRYPTOAPI_BLOB, + pub Subject: CRYPT_INTEGER_BLOB, pub SubjectPublicKeyInfo: CERT_PUBLIC_KEY_INFO, pub IssuerUniqueId: CRYPT_BIT_BLOB, pub SubjectUniqueId: CRYPT_BIT_BLOB, @@ -8951,8 +8556,8 @@ impl ::core::clone::Clone for CERT_INFO { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_ISSUER_SERIAL_NUMBER { - pub Issuer: CRYPTOAPI_BLOB, - pub SerialNumber: CRYPTOAPI_BLOB, + 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 { @@ -8977,7 +8582,7 @@ impl ::core::clone::Clone for CERT_KEYGEN_REQUEST_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub struct CERT_KEY_ATTRIBUTES_INFO { - pub KeyId: CRYPTOAPI_BLOB, + pub KeyId: CRYPT_INTEGER_BLOB, pub IntendedKeyUsage: CRYPT_BIT_BLOB, pub pPrivateKeyUsagePeriod: *mut CERT_PRIVATE_KEY_VALIDITY, } @@ -9219,7 +8824,7 @@ impl ::core::clone::Clone for CERT_NAME_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_NAME_VALUE { pub dwValueType: u32, - pub Value: CRYPTOAPI_BLOB, + pub Value: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CERT_NAME_VALUE {} impl ::core::clone::Clone for CERT_NAME_VALUE { @@ -9268,7 +8873,7 @@ impl ::core::clone::Clone for CERT_OTHER_LOGOTYPE_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_OTHER_NAME { pub pszObjId: ::windows_sys::core::PSTR, - pub Value: CRYPTOAPI_BLOB, + pub Value: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CERT_OTHER_NAME {} impl ::core::clone::Clone for CERT_OTHER_NAME { @@ -9279,8 +8884,8 @@ impl ::core::clone::Clone for CERT_OTHER_NAME { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_PAIR { - pub Forward: CRYPTOAPI_BLOB, - pub Reverse: CRYPTOAPI_BLOB, + pub Forward: CRYPT_INTEGER_BLOB, + pub Reverse: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CERT_PAIR {} impl ::core::clone::Clone for CERT_PAIR { @@ -9295,7 +8900,7 @@ pub struct CERT_PHYSICAL_STORE_INFO { pub pszOpenStoreProvider: ::windows_sys::core::PSTR, pub dwOpenEncodingType: u32, pub dwOpenFlags: u32, - pub OpenParameters: CRYPTOAPI_BLOB, + pub OpenParameters: CRYPT_INTEGER_BLOB, pub dwFlags: u32, pub dwPriority: u32, } @@ -9402,7 +9007,7 @@ impl ::core::clone::Clone for CERT_POLICY_MAPPINGS_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_POLICY_QUALIFIER_INFO { pub pszPolicyQualifierId: ::windows_sys::core::PSTR, - pub Qualifier: CRYPTOAPI_BLOB, + pub Qualifier: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CERT_POLICY_QUALIFIER_INFO {} impl ::core::clone::Clone for CERT_POLICY_QUALIFIER_INFO { @@ -9466,7 +9071,7 @@ impl ::core::clone::Clone for CERT_PUBLIC_KEY_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_QC_STATEMENT { pub pszStatementId: ::windows_sys::core::PSTR, - pub StatementInfo: CRYPTOAPI_BLOB, + pub StatementInfo: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CERT_QC_STATEMENT {} impl ::core::clone::Clone for CERT_QC_STATEMENT { @@ -9503,7 +9108,7 @@ impl ::core::clone::Clone for CERT_RDN { pub struct CERT_RDN_ATTR { pub pszObjId: ::windows_sys::core::PSTR, pub dwValueType: CERT_RDN_ATTR_VALUE_TYPE, - pub Value: CRYPTOAPI_BLOB, + pub Value: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CERT_RDN_ATTR {} impl ::core::clone::Clone for CERT_RDN_ATTR { @@ -9545,7 +9150,7 @@ impl ::core::clone::Clone for CERT_REGISTRY_STORE_ROAMING_PARA { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_REQUEST_INFO { pub dwVersion: u32, - pub Subject: CRYPTOAPI_BLOB, + pub Subject: CRYPT_INTEGER_BLOB, pub SubjectPublicKeyInfo: CERT_PUBLIC_KEY_INFO, pub cAttribute: u32, pub rgAttribute: *mut CRYPT_ATTRIBUTE, @@ -9719,7 +9324,7 @@ impl ::core::clone::Clone for CERT_SERVER_OCSP_RESPONSE_OPEN_PARA { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_SIGNED_CONTENT_INFO { - pub ToBeSigned: CRYPTOAPI_BLOB, + pub ToBeSigned: CRYPT_INTEGER_BLOB, pub SignatureAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, pub Signature: CRYPT_BIT_BLOB, } @@ -9962,10 +9567,10 @@ impl ::core::clone::Clone for CERT_USAGE_MATCH { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CERT_X942_DH_PARAMETERS { - pub p: CRYPTOAPI_BLOB, - pub g: CRYPTOAPI_BLOB, - pub q: CRYPTOAPI_BLOB, - pub j: CRYPTOAPI_BLOB, + pub 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 {} @@ -10053,7 +9658,7 @@ impl ::core::clone::Clone for CMC_DATA_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub struct CMC_PEND_INFO { - pub PendToken: CRYPTOAPI_BLOB, + pub PendToken: CRYPT_INTEGER_BLOB, pub PendTime: super::super::Foundation::FILETIME, } #[cfg(feature = "Win32_Foundation")] @@ -10130,7 +9735,7 @@ impl ::core::clone::Clone for CMC_TAGGED_ATTRIBUTE { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CMC_TAGGED_CERT_REQUEST { pub dwBodyPartID: u32, - pub SignedCertRequest: CRYPTOAPI_BLOB, + pub SignedCertRequest: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CMC_TAGGED_CERT_REQUEST {} impl ::core::clone::Clone for CMC_TAGGED_CERT_REQUEST { @@ -10142,7 +9747,7 @@ impl ::core::clone::Clone for CMC_TAGGED_CERT_REQUEST { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CMC_TAGGED_CONTENT_INFO { pub dwBodyPartID: u32, - pub EncodedContentInfo: CRYPTOAPI_BLOB, + pub EncodedContentInfo: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CMC_TAGGED_CONTENT_INFO {} impl ::core::clone::Clone for CMC_TAGGED_CONTENT_INFO { @@ -10155,7 +9760,7 @@ impl ::core::clone::Clone for CMC_TAGGED_CONTENT_INFO { pub struct CMC_TAGGED_OTHER_MSG { pub dwBodyPartID: u32, pub pszObjId: ::windows_sys::core::PSTR, - pub Value: CRYPTOAPI_BLOB, + pub Value: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CMC_TAGGED_OTHER_MSG {} impl ::core::clone::Clone for CMC_TAGGED_OTHER_MSG { @@ -10224,7 +9829,7 @@ pub struct CMSG_CMS_SIGNER_INFO { pub SignerId: CERT_ID, pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, pub HashEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EncryptedHash: CRYPTOAPI_BLOB, + pub EncryptedHash: CRYPT_INTEGER_BLOB, pub AuthAttrs: CRYPT_ATTRIBUTES, pub UnauthAttrs: CRYPT_ATTRIBUTES, } @@ -10301,7 +9906,7 @@ impl ::core::clone::Clone for CMSG_CONTENT_ENCRYPT_INFO_0 { pub struct CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA { pub cbSize: u32, pub dwSignerIndex: u32, - pub blob: CRYPTOAPI_BLOB, + 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 { @@ -10511,7 +10116,7 @@ pub struct CMSG_KEY_AGREE_ENCRYPT_INFO { pub cbSize: u32, pub dwRecipientIndex: u32, pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub UserKeyingMaterial: CRYPTOAPI_BLOB, + pub UserKeyingMaterial: CRYPT_INTEGER_BLOB, pub dwOriginatorChoice: CMSG_KEY_AGREE_ORIGINATOR, pub Anonymous: CMSG_KEY_AGREE_ENCRYPT_INFO_0, pub cKeyAgreeKeyEncryptInfo: u32, @@ -10540,7 +10145,7 @@ impl ::core::clone::Clone for CMSG_KEY_AGREE_ENCRYPT_INFO_0 { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CMSG_KEY_AGREE_KEY_ENCRYPT_INFO { pub cbSize: u32, - pub EncryptedKey: CRYPTOAPI_BLOB, + 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 { @@ -10561,7 +10166,7 @@ pub struct CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO { pub dwKeySpec: u32, pub dwKeyChoice: CMSG_KEY_AGREE_OPTION, pub Anonymous: CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO_0, - pub UserKeyingMaterial: CRYPTOAPI_BLOB, + pub UserKeyingMaterial: CRYPT_INTEGER_BLOB, pub cRecipientEncryptedKeys: u32, pub rgpRecipientEncryptedKeys: *mut *mut CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO, } @@ -10595,7 +10200,7 @@ pub struct CMSG_KEY_AGREE_RECIPIENT_INFO { pub dwVersion: u32, pub dwOriginatorChoice: CMSG_KEY_AGREE_ORIGINATOR, pub Anonymous: CMSG_KEY_AGREE_RECIPIENT_INFO_0, - pub UserKeyingMaterial: CRYPTOAPI_BLOB, + pub UserKeyingMaterial: CRYPT_INTEGER_BLOB, pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, pub cRecipientEncryptedKeys: u32, pub rgpRecipientEncryptedKeys: *mut *mut CMSG_RECIPIENT_ENCRYPTED_KEY_INFO, @@ -10629,7 +10234,7 @@ pub struct CMSG_KEY_TRANS_ENCRYPT_INFO { pub cbSize: u32, pub dwRecipientIndex: u32, pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EncryptedKey: CRYPTOAPI_BLOB, + pub EncryptedKey: CRYPT_INTEGER_BLOB, pub dwFlags: u32, } impl ::core::marker::Copy for CMSG_KEY_TRANS_ENCRYPT_INFO {} @@ -10660,7 +10265,7 @@ pub struct CMSG_KEY_TRANS_RECIPIENT_INFO { pub dwVersion: u32, pub RecipientId: CERT_ID, pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EncryptedKey: CRYPTOAPI_BLOB, + 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 { @@ -10674,7 +10279,7 @@ pub struct CMSG_MAIL_LIST_ENCRYPT_INFO { pub cbSize: u32, pub dwRecipientIndex: u32, pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EncryptedKey: CRYPTOAPI_BLOB, + pub EncryptedKey: CRYPT_INTEGER_BLOB, pub dwFlags: u32, } impl ::core::marker::Copy for CMSG_MAIL_LIST_ENCRYPT_INFO {} @@ -10693,7 +10298,7 @@ pub struct CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO { pub hCryptProv: usize, pub dwKeyChoice: u32, pub Anonymous: CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO_0, - pub KeyId: CRYPTOAPI_BLOB, + pub KeyId: CRYPT_INTEGER_BLOB, pub Date: super::super::Foundation::FILETIME, pub pOtherAttr: *mut CRYPT_ATTRIBUTE_TYPE_VALUE, } @@ -10725,9 +10330,9 @@ impl ::core::clone::Clone for CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO_0 { #[cfg(feature = "Win32_Foundation")] pub struct CMSG_MAIL_LIST_RECIPIENT_INFO { pub dwVersion: u32, - pub KeyId: CRYPTOAPI_BLOB, + pub KeyId: CRYPT_INTEGER_BLOB, pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EncryptedKey: CRYPTOAPI_BLOB, + pub EncryptedKey: CRYPT_INTEGER_BLOB, pub Date: super::super::Foundation::FILETIME, pub pOtherAttr: *mut CRYPT_ATTRIBUTE_TYPE_VALUE, } @@ -10817,7 +10422,7 @@ impl ::core::clone::Clone for CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO { #[cfg(feature = "Win32_Foundation")] pub struct CMSG_RECIPIENT_ENCRYPTED_KEY_INFO { pub RecipientId: CERT_ID, - pub EncryptedKey: CRYPTOAPI_BLOB, + pub EncryptedKey: CRYPT_INTEGER_BLOB, pub Date: super::super::Foundation::FILETIME, pub pOtherAttr: *mut CRYPT_ATTRIBUTE_TYPE_VALUE, } @@ -10853,9 +10458,9 @@ pub struct CMSG_SIGNED_ENCODE_INFO { pub cSigners: u32, pub rgSigners: *mut CMSG_SIGNER_ENCODE_INFO, pub cCertEncoded: u32, - pub rgCertEncoded: *mut CRYPTOAPI_BLOB, + pub rgCertEncoded: *mut CRYPT_INTEGER_BLOB, pub cCrlEncoded: u32, - pub rgCrlEncoded: *mut CRYPTOAPI_BLOB, + pub rgCrlEncoded: *mut CRYPT_INTEGER_BLOB, } #[cfg(feature = "Win32_Foundation")] impl ::core::marker::Copy for CMSG_SIGNED_ENCODE_INFO {} @@ -10907,11 +10512,11 @@ impl ::core::clone::Clone for CMSG_SIGNER_ENCODE_INFO_0 { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CMSG_SIGNER_INFO { pub dwVersion: u32, - pub Issuer: CRYPTOAPI_BLOB, - pub SerialNumber: CRYPTOAPI_BLOB, + pub Issuer: CRYPT_INTEGER_BLOB, + pub SerialNumber: CRYPT_INTEGER_BLOB, pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, pub HashEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EncryptedHash: CRYPTOAPI_BLOB, + pub EncryptedHash: CRYPT_INTEGER_BLOB, pub AuthAttrs: CRYPT_ATTRIBUTES, pub UnauthAttrs: CRYPT_ATTRIBUTES, } @@ -10955,7 +10560,7 @@ pub struct CMS_DH_KEY_INFO { pub dwVersion: u32, pub Algid: u32, pub pszContentEncObjId: ::windows_sys::core::PSTR, - pub PubInfo: CRYPTOAPI_BLOB, + pub PubInfo: CRYPT_INTEGER_BLOB, pub pReserved: *mut ::core::ffi::c_void, } impl ::core::marker::Copy for CMS_DH_KEY_INFO {} @@ -10983,7 +10588,7 @@ impl ::core::clone::Clone for CMS_KEY_INFO { pub struct CPS_URLS { pub pszURL: ::windows_sys::core::PWSTR, pub pAlgorithm: *mut CRYPT_ALGORITHM_IDENTIFIER, - pub pDigest: *mut CRYPTOAPI_BLOB, + pub pDigest: *mut CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CPS_URLS {} impl ::core::clone::Clone for CPS_URLS { @@ -10995,7 +10600,7 @@ impl ::core::clone::Clone for CPS_URLS { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub struct CRL_CONTEXT { - pub dwCertEncodingType: u32, + pub dwCertEncodingType: CERT_QUERY_ENCODING_TYPE, pub pbCrlEncoded: *mut u8, pub cbCrlEncoded: u32, pub pCrlInfo: *mut CRL_INFO, @@ -11061,7 +10666,7 @@ impl ::core::clone::Clone for CRL_DIST_POINT_NAME_0 { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub struct CRL_ENTRY { - pub SerialNumber: CRYPTOAPI_BLOB, + pub SerialNumber: CRYPT_INTEGER_BLOB, pub RevocationDate: super::super::Foundation::FILETIME, pub cExtension: u32, pub rgExtension: *mut CERT_EXTENSION, @@ -11095,7 +10700,7 @@ impl ::core::clone::Clone for CRL_FIND_ISSUED_FOR_PARA { pub struct CRL_INFO { pub dwVersion: u32, pub SignatureAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub Issuer: CRYPTOAPI_BLOB, + pub Issuer: CRYPT_INTEGER_BLOB, pub ThisUpdate: super::super::Foundation::FILETIME, pub NextUpdate: super::super::Foundation::FILETIME, pub cCRLEntry: u32, @@ -11215,18 +10820,6 @@ impl ::core::clone::Clone for CRYPTNET_URL_CACHE_RESPONSE_INFO { } } #[repr(C)] -#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub struct CRYPTOAPI_BLOB { - pub cbData: u32, - pub pbData: *mut u8, -} -impl ::core::marker::Copy for CRYPTOAPI_BLOB {} -impl ::core::clone::Clone for CRYPTOAPI_BLOB { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub struct CRYPTPROTECT_PROMPTSTRUCT { @@ -11290,7 +10883,7 @@ impl ::core::clone::Clone for CRYPT_AES_256_KEY_STATE { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CRYPT_ALGORITHM_IDENTIFIER { pub pszObjId: ::windows_sys::core::PSTR, - pub Parameters: CRYPTOAPI_BLOB, + pub Parameters: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CRYPT_ALGORITHM_IDENTIFIER {} impl ::core::clone::Clone for CRYPT_ALGORITHM_IDENTIFIER { @@ -11315,7 +10908,7 @@ impl ::core::clone::Clone for CRYPT_ASYNC_RETRIEVAL_COMPLETION { pub struct CRYPT_ATTRIBUTE { pub pszObjId: ::windows_sys::core::PSTR, pub cValue: u32, - pub rgValue: *mut CRYPTOAPI_BLOB, + pub rgValue: *mut CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CRYPT_ATTRIBUTE {} impl ::core::clone::Clone for CRYPT_ATTRIBUTE { @@ -11339,7 +10932,7 @@ impl ::core::clone::Clone for CRYPT_ATTRIBUTES { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CRYPT_ATTRIBUTE_TYPE_VALUE { pub pszObjId: ::windows_sys::core::PSTR, - pub Value: CRYPTOAPI_BLOB, + pub Value: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CRYPT_ATTRIBUTE_TYPE_VALUE {} impl ::core::clone::Clone for CRYPT_ATTRIBUTE_TYPE_VALUE { @@ -11364,7 +10957,7 @@ impl ::core::clone::Clone for CRYPT_BIT_BLOB { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CRYPT_BLOB_ARRAY { pub cBlob: u32, - pub rgBlob: *mut CRYPTOAPI_BLOB, + pub rgBlob: *mut CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CRYPT_BLOB_ARRAY {} impl ::core::clone::Clone for CRYPT_BLOB_ARRAY { @@ -11376,7 +10969,7 @@ impl ::core::clone::Clone for CRYPT_BLOB_ARRAY { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CRYPT_CONTENT_INFO { pub pszObjId: ::windows_sys::core::PSTR, - pub Content: CRYPTOAPI_BLOB, + pub Content: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CRYPT_CONTENT_INFO {} impl ::core::clone::Clone for CRYPT_CONTENT_INFO { @@ -11389,7 +10982,7 @@ impl ::core::clone::Clone for CRYPT_CONTENT_INFO { pub struct CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY { pub pszObjId: ::windows_sys::core::PSTR, pub cValue: u32, - pub rgValue: *mut CRYPTOAPI_BLOB, + 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 { @@ -11539,7 +11132,7 @@ impl ::core::clone::Clone for CRYPT_DES_KEY_STATE { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CRYPT_ECC_CMS_SHARED_INFO { pub Algorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EntityUInfo: CRYPTOAPI_BLOB, + pub EntityUInfo: CRYPT_INTEGER_BLOB, pub rgbSuppPubInfo: [u8; 4], } impl ::core::marker::Copy for CRYPT_ECC_CMS_SHARED_INFO {} @@ -11552,7 +11145,7 @@ impl ::core::clone::Clone for CRYPT_ECC_CMS_SHARED_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CRYPT_ECC_PRIVATE_KEY_INFO { pub dwVersion: u32, - pub PrivateKey: CRYPTOAPI_BLOB, + pub PrivateKey: CRYPT_INTEGER_BLOB, pub szCurveOid: ::windows_sys::core::PSTR, pub PublicKey: CRYPT_BIT_BLOB, } @@ -11579,7 +11172,7 @@ impl ::core::clone::Clone for CRYPT_ENCODE_PARA { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CRYPT_ENCRYPTED_PRIVATE_KEY_INFO { pub EncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub EncryptedPrivateKey: CRYPTOAPI_BLOB, + 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 { @@ -11626,7 +11219,7 @@ pub struct CRYPT_GET_TIME_VALID_OBJECT_EXTRA_INFO { pub pLastSyncTime: *mut super::super::Foundation::FILETIME, pub pMaxAgeTime: *mut super::super::Foundation::FILETIME, pub pChainPara: *mut CERT_REVOCATION_CHAIN_PARA, - pub pDeltaCrlIndicator: *mut CRYPTOAPI_BLOB, + pub pDeltaCrlIndicator: *mut CRYPT_INTEGER_BLOB, } #[cfg(feature = "Win32_Foundation")] impl ::core::marker::Copy for CRYPT_GET_TIME_VALID_OBJECT_EXTRA_INFO {} @@ -11640,7 +11233,7 @@ impl ::core::clone::Clone for CRYPT_GET_TIME_VALID_OBJECT_EXTRA_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CRYPT_HASH_INFO { pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub Hash: CRYPTOAPI_BLOB, + pub Hash: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CRYPT_HASH_INFO {} impl ::core::clone::Clone for CRYPT_HASH_INFO { @@ -11690,6 +11283,18 @@ impl ::core::clone::Clone for CRYPT_IMAGE_REG { } #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] +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)] +#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CRYPT_INTERFACE_REG { pub dwInterface: BCRYPT_INTERFACE, pub dwFlags: BCRYPT_TABLE, @@ -11838,7 +11443,7 @@ pub struct CRYPT_OID_INFO { pub pwszName: ::windows_sys::core::PCWSTR, pub dwGroupId: u32, pub Anonymous: CRYPT_OID_INFO_0, - pub ExtraInfo: CRYPTOAPI_BLOB, + pub ExtraInfo: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CRYPT_OID_INFO {} impl ::core::clone::Clone for CRYPT_OID_INFO { @@ -11919,7 +11524,7 @@ impl ::core::clone::Clone for CRYPT_PKCS8_EXPORT_PARAMS { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub struct CRYPT_PKCS8_IMPORT_PARAMS { - pub PrivateKey: CRYPTOAPI_BLOB, + 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, @@ -11938,7 +11543,7 @@ impl ::core::clone::Clone for CRYPT_PKCS8_IMPORT_PARAMS { pub struct CRYPT_PRIVATE_KEY_INFO { pub Version: u32, pub Algorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub PrivateKey: CRYPTOAPI_BLOB, + pub PrivateKey: CRYPT_INTEGER_BLOB, pub pAttributes: *mut CRYPT_ATTRIBUTES, } impl ::core::marker::Copy for CRYPT_PRIVATE_KEY_INFO {} @@ -12019,7 +11624,7 @@ impl ::core::clone::Clone for CRYPT_PROVIDER_REG { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CRYPT_PSOURCE_ALGORITHM { pub pszObjId: ::windows_sys::core::PSTR, - pub EncodingParameters: CRYPTOAPI_BLOB, + pub EncodingParameters: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CRYPT_PSOURCE_ALGORITHM {} impl ::core::clone::Clone for CRYPT_PSOURCE_ALGORITHM { @@ -12072,7 +11677,7 @@ pub struct CRYPT_RETRIEVE_AUX_INFO { pub fProxyCacheRetrieval: super::super::Foundation::BOOL, pub dwHttpStatusCode: u32, pub ppwszErrorResponseHeaders: *mut ::windows_sys::core::PWSTR, - pub ppErrorContentBlob: *mut *mut CRYPTOAPI_BLOB, + pub ppErrorContentBlob: *mut *mut CRYPT_INTEGER_BLOB, } #[cfg(feature = "Win32_Foundation")] impl ::core::marker::Copy for CRYPT_RETRIEVE_AUX_INFO {} @@ -12113,7 +11718,7 @@ impl ::core::clone::Clone for CRYPT_RSA_SSA_PSS_PARAMETERS { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CRYPT_SEQUENCE_OF_ANY { pub cValue: u32, - pub rgValue: *mut CRYPTOAPI_BLOB, + pub rgValue: *mut CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CRYPT_SEQUENCE_OF_ANY {} impl ::core::clone::Clone for CRYPT_SEQUENCE_OF_ANY { @@ -12177,7 +11782,7 @@ impl ::core::clone::Clone for CRYPT_SMIME_CAPABILITIES { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CRYPT_SMIME_CAPABILITY { pub pszObjId: ::windows_sys::core::PSTR, - pub Parameters: CRYPTOAPI_BLOB, + pub Parameters: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CRYPT_SMIME_CAPABILITY {} impl ::core::clone::Clone for CRYPT_SMIME_CAPABILITY { @@ -12221,13 +11826,13 @@ pub struct CRYPT_TIMESTAMP_INFO { pub dwVersion: u32, pub pszTSAPolicyId: ::windows_sys::core::PSTR, pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub HashedMessage: CRYPTOAPI_BLOB, - pub SerialNumber: CRYPTOAPI_BLOB, + pub 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: CRYPTOAPI_BLOB, - pub Tsa: CRYPTOAPI_BLOB, + pub Nonce: CRYPT_INTEGER_BLOB, + pub Tsa: CRYPT_INTEGER_BLOB, pub cExtension: u32, pub rgExtension: *mut CERT_EXTENSION, } @@ -12245,7 +11850,7 @@ impl ::core::clone::Clone for CRYPT_TIMESTAMP_INFO { pub struct CRYPT_TIMESTAMP_PARA { pub pszTSAPolicyId: ::windows_sys::core::PCSTR, pub fRequestCerts: super::super::Foundation::BOOL, - pub Nonce: CRYPTOAPI_BLOB, + pub Nonce: CRYPT_INTEGER_BLOB, pub cExtension: u32, pub rgExtension: *mut CERT_EXTENSION, } @@ -12263,9 +11868,9 @@ impl ::core::clone::Clone for CRYPT_TIMESTAMP_PARA { pub struct CRYPT_TIMESTAMP_REQUEST { pub dwVersion: CRYPT_TIMESTAMP_VERSION, pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub HashedMessage: CRYPTOAPI_BLOB, + pub HashedMessage: CRYPT_INTEGER_BLOB, pub pszTSAPolicyId: ::windows_sys::core::PSTR, - pub Nonce: CRYPTOAPI_BLOB, + pub Nonce: CRYPT_INTEGER_BLOB, pub fCertReq: super::super::Foundation::BOOL, pub cExtension: u32, pub rgExtension: *mut CERT_EXTENSION, @@ -12285,7 +11890,7 @@ pub struct CRYPT_TIMESTAMP_RESPONSE { pub cFreeText: u32, pub rgFreeText: *mut ::windows_sys::core::PWSTR, pub FailureInfo: CRYPT_BIT_BLOB, - pub ContentInfo: CRYPTOAPI_BLOB, + pub ContentInfo: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CRYPT_TIMESTAMP_RESPONSE {} impl ::core::clone::Clone for CRYPT_TIMESTAMP_RESPONSE { @@ -12298,7 +11903,7 @@ impl ::core::clone::Clone for CRYPT_TIMESTAMP_RESPONSE { pub struct CRYPT_TIME_STAMP_REQUEST_INFO { pub pszTimeStampAlgorithm: ::windows_sys::core::PSTR, pub pszContentType: ::windows_sys::core::PSTR, - pub Content: CRYPTOAPI_BLOB, + pub Content: CRYPT_INTEGER_BLOB, pub cAttribute: u32, pub rgAttribute: *mut CRYPT_ATTRIBUTE, } @@ -12337,8 +11942,8 @@ impl ::core::clone::Clone for CRYPT_URL_INFO { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CRYPT_VERIFY_CERT_SIGN_STRONG_PROPERTIES_INFO { - pub CertSignHashCNGAlgPropData: CRYPTOAPI_BLOB, - pub CertIssuerPubKeyBitLengthPropData: CRYPTOAPI_BLOB, + 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 { @@ -12383,7 +11988,7 @@ pub struct CRYPT_X942_OTHER_INFO { pub pszContentEncryptionObjId: ::windows_sys::core::PSTR, pub rgbCounter: [u8; 4], pub rgbKeyLength: [u8; 4], - pub PubInfo: CRYPTOAPI_BLOB, + pub PubInfo: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CRYPT_X942_OTHER_INFO {} impl ::core::clone::Clone for CRYPT_X942_OTHER_INFO { @@ -12514,12 +12119,12 @@ impl ::core::clone::Clone for CRYPT_XML_ISSUER_SERIAL { pub struct CRYPT_XML_KEYINFO_PARAM { pub wszId: ::windows_sys::core::PCWSTR, pub wszKeyName: ::windows_sys::core::PCWSTR, - pub SKI: CRYPTOAPI_BLOB, + pub SKI: CRYPT_INTEGER_BLOB, pub wszSubjectName: ::windows_sys::core::PCWSTR, pub cCertificate: u32, - pub rgCertificate: *mut CRYPTOAPI_BLOB, + pub rgCertificate: *mut CRYPT_INTEGER_BLOB, pub cCRL: u32, - pub rgCRL: *mut CRYPTOAPI_BLOB, + pub rgCRL: *mut CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CRYPT_XML_KEYINFO_PARAM {} impl ::core::clone::Clone for CRYPT_XML_KEYINFO_PARAM { @@ -12677,7 +12282,7 @@ pub struct CRYPT_XML_REFERENCE { pub wszUri: ::windows_sys::core::PCWSTR, pub wszType: ::windows_sys::core::PCWSTR, pub DigestMethod: CRYPT_XML_ALGORITHM, - pub DigestValue: CRYPTOAPI_BLOB, + pub DigestValue: CRYPT_INTEGER_BLOB, pub cTransform: u32, pub rgTransform: *mut CRYPT_XML_ALGORITHM, } @@ -12706,7 +12311,7 @@ pub struct CRYPT_XML_SIGNATURE { pub hSignature: *mut ::core::ffi::c_void, pub wszId: ::windows_sys::core::PCWSTR, pub SignedInfo: CRYPT_XML_SIGNED_INFO, - pub SignatureValue: CRYPTOAPI_BLOB, + pub SignatureValue: CRYPT_INTEGER_BLOB, pub pKeyInfo: *mut CRYPT_XML_KEY_INFO, pub cObject: u32, pub rgpObject: *mut *mut CRYPT_XML_OBJECT, @@ -12819,7 +12424,7 @@ impl ::core::clone::Clone for CRYPT_XML_X509DATA_ITEM_0 { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CTL_ANY_SUBJECT_INFO { pub SubjectAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub SubjectIdentifier: CRYPTOAPI_BLOB, + pub SubjectIdentifier: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for CTL_ANY_SUBJECT_INFO {} impl ::core::clone::Clone for CTL_ANY_SUBJECT_INFO { @@ -12851,7 +12456,7 @@ impl ::core::clone::Clone for CTL_CONTEXT { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CTL_ENTRY { - pub SubjectIdentifier: CRYPTOAPI_BLOB, + pub SubjectIdentifier: CRYPT_INTEGER_BLOB, pub cAttribute: u32, pub rgAttribute: *mut CRYPT_ATTRIBUTE, } @@ -12884,7 +12489,7 @@ impl ::core::clone::Clone for CTL_FIND_SUBJECT_PARA { pub struct CTL_FIND_USAGE_PARA { pub cbSize: u32, pub SubjectUsage: CTL_USAGE, - pub ListIdentifier: CRYPTOAPI_BLOB, + pub ListIdentifier: CRYPT_INTEGER_BLOB, pub pSigner: *mut CERT_INFO, } #[cfg(feature = "Win32_Foundation")] @@ -12901,8 +12506,8 @@ impl ::core::clone::Clone for CTL_FIND_USAGE_PARA { pub struct CTL_INFO { pub dwVersion: u32, pub SubjectUsage: CTL_USAGE, - pub ListIdentifier: CRYPTOAPI_BLOB, - pub SequenceNumber: CRYPTOAPI_BLOB, + 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, @@ -12947,7 +12552,7 @@ impl ::core::clone::Clone for CTL_USAGE_MATCH { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct CTL_VERIFY_USAGE_PARA { pub cbSize: u32, - pub ListIdentifier: CRYPTOAPI_BLOB, + pub ListIdentifier: CRYPT_INTEGER_BLOB, pub cCtlStore: u32, pub rghCtlStore: *mut HCERTSTORE, pub cSignerStore: u32, @@ -12996,7 +12601,7 @@ impl ::core::clone::Clone for DSSSEED { pub struct ENDPOINTADDRESS { pub serviceUrl: ::windows_sys::core::PCWSTR, pub policyUrl: ::windows_sys::core::PCWSTR, - pub rawCertificate: CRYPTOAPI_BLOB, + pub rawCertificate: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for ENDPOINTADDRESS {} impl ::core::clone::Clone for ENDPOINTADDRESS { @@ -13600,8 +13205,8 @@ impl ::core::clone::Clone for OCSP_BASIC_RESPONSE_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub union OCSP_BASIC_RESPONSE_INFO_0 { - pub ByNameResponderId: CRYPTOAPI_BLOB, - pub ByKeyResponderId: CRYPTOAPI_BLOB, + pub ByNameResponderId: CRYPT_INTEGER_BLOB, + pub ByKeyResponderId: CRYPT_INTEGER_BLOB, } #[cfg(feature = "Win32_Foundation")] impl ::core::marker::Copy for OCSP_BASIC_RESPONSE_INFO_0 {} @@ -13629,7 +13234,7 @@ impl ::core::clone::Clone for OCSP_BASIC_REVOKED_INFO { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct OCSP_BASIC_SIGNED_RESPONSE_INFO { - pub ToBeSigned: CRYPTOAPI_BLOB, + pub ToBeSigned: CRYPT_INTEGER_BLOB, pub SignatureInfo: OCSP_SIGNATURE_INFO, } impl ::core::marker::Copy for OCSP_BASIC_SIGNED_RESPONSE_INFO {} @@ -13642,9 +13247,9 @@ impl ::core::clone::Clone for OCSP_BASIC_SIGNED_RESPONSE_INFO { #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct OCSP_CERT_ID { pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, - pub IssuerNameHash: CRYPTOAPI_BLOB, - pub IssuerKeyHash: CRYPTOAPI_BLOB, - pub SerialNumber: CRYPTOAPI_BLOB, + 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 { @@ -13692,7 +13297,7 @@ impl ::core::clone::Clone for OCSP_REQUEST_INFO { pub struct OCSP_RESPONSE_INFO { pub dwStatus: u32, pub pszObjId: ::windows_sys::core::PSTR, - pub Value: CRYPTOAPI_BLOB, + pub Value: CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for OCSP_RESPONSE_INFO {} impl ::core::clone::Clone for OCSP_RESPONSE_INFO { @@ -13706,7 +13311,7 @@ pub struct OCSP_SIGNATURE_INFO { pub SignatureAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, pub Signature: CRYPT_BIT_BLOB, pub cCertEncoded: u32, - pub rgCertEncoded: *mut CRYPTOAPI_BLOB, + pub rgCertEncoded: *mut CRYPT_INTEGER_BLOB, } impl ::core::marker::Copy for OCSP_SIGNATURE_INFO {} impl ::core::clone::Clone for OCSP_SIGNATURE_INFO { @@ -13717,7 +13322,7 @@ impl ::core::clone::Clone for OCSP_SIGNATURE_INFO { #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub struct OCSP_SIGNED_REQUEST_INFO { - pub ToBeSigned: CRYPTOAPI_BLOB, + pub ToBeSigned: CRYPT_INTEGER_BLOB, pub pOptionalSignatureInfo: *mut OCSP_SIGNATURE_INFO, } impl ::core::marker::Copy for OCSP_SIGNED_REQUEST_INFO {} @@ -14019,10 +13624,10 @@ pub type CryptXmlDllSignData = ::core::option::Option<unsafe extern "system" fn( pub type CryptXmlDllVerifySignature = ::core::option::Option<unsafe extern "system" fn(psignaturemethod: *const CRYPT_XML_ALGORITHM, hkey: BCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, pbsignature: *const u8, cbsignature: u32) -> ::windows_sys::core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PCRYPT_DECRYPT_PRIVATE_KEY_FUNC = ::core::option::Option<unsafe extern "system" fn(algorithm: CRYPT_ALGORITHM_IDENTIFIER, encryptedprivatekey: CRYPTOAPI_BLOB, pbcleartextkey: *mut u8, pcbcleartextkey: *mut u32, pvoiddecryptfunc: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +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_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PCRYPT_ENCRYPT_PRIVATE_KEY_FUNC = ::core::option::Option<unsafe extern "system" fn(palgorithm: *mut CRYPT_ALGORITHM_IDENTIFIER, pcleartextprivatekey: *const CRYPTOAPI_BLOB, pbencryptedkey: *mut u8, pcbencryptedkey: *mut u32, pvoidencryptfunc: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +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_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PCRYPT_RESOLVE_HCRYPTPROV_FUNC = ::core::option::Option<unsafe extern "system" fn(pprivatekeyinfo: *mut CRYPT_PRIVATE_KEY_INFO, phcryptprov: *mut usize, pvoidresolvefunc: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; @@ -14058,9 +13663,9 @@ pub type PFN_CERT_ENUM_SYSTEM_STORE_LOCATION = ::core::option::Option<unsafe ext pub type PFN_CERT_IS_WEAK_HASH = ::core::option::Option<unsafe extern "system" fn(dwhashusetype: u32, pwszcnghashalgid: ::windows_sys::core::PCWSTR, dwchainflags: u32, psignerchaincontext: *const CERT_CHAIN_CONTEXT, ptimestamp: *const super::super::Foundation::FILETIME, pwszfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_CERT_SERVER_OCSP_RESPONSE_UPDATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pchaincontext: *const CERT_CHAIN_CONTEXT, pserverocspresponsecontext: *const CERT_SERVER_OCSP_RESPONSE_CONTEXT, pnewcrlcontext: *const CRL_CONTEXT, pprevcrlcontext: *const CRL_CONTEXT, pvarg: *mut ::core::ffi::c_void, dwwriteocspfileerror: u32)>; +pub type PFN_CERT_SERVER_OCSP_RESPONSE_UPDATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pchaincontext: *const CERT_CHAIN_CONTEXT, pserverocspresponsecontext: *const CERT_SERVER_OCSP_RESPONSE_CONTEXT, pnewcrlcontext: *const CRL_CONTEXT, pprevcrlcontext: *const CRL_CONTEXT, pvarg: *mut ::core::ffi::c_void, dwwriteocspfileerror: u32) -> ()>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub type PFN_CERT_STORE_PROV_CLOSE = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, dwflags: u32)>; +pub type PFN_CERT_STORE_PROV_CLOSE = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, dwflags: u32) -> ()>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PFN_CERT_STORE_PROV_CONTROL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, dwflags: u32, dwctrltype: u32, pvctrlpara: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; @@ -14151,7 +13756,7 @@ pub type PFN_CMSG_EXPORT_KEY_TRANS = ::core::option::Option<unsafe extern "syste #[cfg(feature = "Win32_Foundation")] pub type PFN_CMSG_EXPORT_MAIL_LIST = ::core::option::Option<unsafe extern "system" fn(pcontentencryptinfo: *const CMSG_CONTENT_ENCRYPT_INFO, pmaillistencodeinfo: *const CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO, pmaillistencryptinfo: *mut CMSG_MAIL_LIST_ENCRYPT_INFO, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub type PFN_CMSG_FREE = ::core::option::Option<unsafe extern "system" fn(pv: *mut ::core::ffi::c_void)>; +pub type PFN_CMSG_FREE = ::core::option::Option<unsafe extern "system" fn(pv: *mut ::core::ffi::c_void) -> ()>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PFN_CMSG_GEN_CONTENT_ENCRYPT_KEY = ::core::option::Option<unsafe extern "system" fn(pcontentencryptinfo: *mut CMSG_CONTENT_ENCRYPT_INFO, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; @@ -14176,58 +13781,58 @@ pub type PFN_CMSG_STREAM_OUTPUT = ::core::option::Option<unsafe extern "system" #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub type PFN_CRYPT_ALLOC = ::core::option::Option<unsafe extern "system" fn(cbsize: usize) -> *mut ::core::ffi::c_void>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub type PFN_CRYPT_ASYNC_PARAM_FREE_FUNC = ::core::option::Option<unsafe extern "system" fn(pszparamoid: ::windows_sys::core::PCSTR, pvparam: *const ::core::ffi::c_void)>; +pub type PFN_CRYPT_ASYNC_PARAM_FREE_FUNC = ::core::option::Option<unsafe extern "system" fn(pszparamoid: ::windows_sys::core::PCSTR, pvparam: *const ::core::ffi::c_void) -> ()>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub type PFN_CRYPT_ASYNC_RETRIEVAL_COMPLETION_FUNC = ::core::option::Option<unsafe extern "system" fn(pvcompletion: *mut ::core::ffi::c_void, dwcompletioncode: u32, pszurl: ::windows_sys::core::PCSTR, pszobjectoid: ::windows_sys::core::PCSTR, pvobject: *const ::core::ffi::c_void)>; +pub type PFN_CRYPT_ASYNC_RETRIEVAL_COMPLETION_FUNC = ::core::option::Option<unsafe extern "system" fn(pvcompletion: *mut ::core::ffi::c_void, dwcompletioncode: u32, pszurl: ::windows_sys::core::PCSTR, pszobjectoid: ::windows_sys::core::PCSTR, pvobject: *const ::core::ffi::c_void) -> ()>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PFN_CRYPT_CANCEL_RETRIEVAL = ::core::option::Option<unsafe extern "system" fn(dwflags: u32, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_ENUM_KEYID_PROP = ::core::option::Option<unsafe extern "system" fn(pkeyidentifier: *const CRYPTOAPI_BLOB, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void, cprop: u32, rgdwpropid: *const u32, rgpvdata: *const *const ::core::ffi::c_void, rgcbdata: *const u32) -> super::super::Foundation::BOOL>; +pub type PFN_CRYPT_ENUM_KEYID_PROP = ::core::option::Option<unsafe extern "system" fn(pkeyidentifier: *const CRYPT_INTEGER_BLOB, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void, cprop: u32, rgdwpropid: *const u32, rgpvdata: *const *const ::core::ffi::c_void, rgcbdata: *const u32) -> super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_ENUM_OID_FUNC = ::core::option::Option<unsafe extern "system" fn(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR, cvalue: u32, rgdwvaluetype: *const u32, rgpwszvaluename: *const ::windows_sys::core::PWSTR, rgpbvaluedata: *const *const u8, rgcbvaluedata: *const u32, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +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_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PFN_CRYPT_ENUM_OID_INFO = ::core::option::Option<unsafe extern "system" fn(pinfo: *const CRYPT_OID_INFO, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_EXPORT_PUBLIC_KEY_INFO_EX2_FUNC = ::core::option::Option<unsafe extern "system" fn(hncryptkey: NCRYPT_KEY_HANDLE, dwcertencodingtype: u32, pszpublickeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pinfo: *mut CERT_PUBLIC_KEY_INFO, pcbinfo: *mut u32) -> super::super::Foundation::BOOL>; +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_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_EXPORT_PUBLIC_KEY_INFO_FROM_BCRYPT_HANDLE_FUNC = ::core::option::Option<unsafe extern "system" fn(hbcryptkey: BCRYPT_KEY_HANDLE, dwcertencodingtype: u32, pszpublickeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pinfo: *mut CERT_PUBLIC_KEY_INFO, pcbinfo: *mut u32) -> super::super::Foundation::BOOL>; +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_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_EXTRACT_ENCODED_SIGNATURE_PARAMETERS_FUNC = ::core::option::Option<unsafe extern "system" fn(dwcertencodingtype: u32, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, ppvdecodedsignpara: *mut *mut ::core::ffi::c_void, ppwszcnghashalgid: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL>; +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>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub type PFN_CRYPT_FREE = ::core::option::Option<unsafe extern "system" fn(pv: *const ::core::ffi::c_void)>; +pub type PFN_CRYPT_FREE = ::core::option::Option<unsafe extern "system" fn(pv: *const ::core::ffi::c_void) -> ()>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_GET_SIGNER_CERTIFICATE = ::core::option::Option<unsafe extern "system" fn(pvgetarg: *mut ::core::ffi::c_void, dwcertencodingtype: u32, psignerid: *const CERT_INFO, hmsgcertstore: HCERTSTORE) -> *mut CERT_CONTEXT>; +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_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FLUSH = ::core::option::Option<unsafe extern "system" fn(pcontext: *const ::core::ffi::c_void, rgidentifierornamelist: *const *const CRYPTOAPI_BLOB, dwidentifierornamelistcount: u32) -> super::super::Foundation::BOOL>; +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>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pbdata: *const u8)>; +pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pbdata: *const u8) -> ()>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_IDENTIFIER = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pidentifier: *const CRYPTOAPI_BLOB)>; +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) -> ()>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_PASSWORD = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pwszpassword: ::windows_sys::core::PCWSTR)>; +pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_PASSWORD = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pwszpassword: ::windows_sys::core::PCWSTR) -> ()>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_GET = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pidentifier: *const CRYPTOAPI_BLOB, dwnametype: u32, pnameblob: *const CRYPTOAPI_BLOB, ppbcontent: *mut *mut u8, pcbcontent: *mut u32, ppwszpassword: *mut ::windows_sys::core::PWSTR, ppidentifier: *mut *mut CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL>; +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::PWSTR, ppidentifier: *mut *mut CRYPT_INTEGER_BLOB) -> super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_INITIALIZE = ::core::option::Option<unsafe extern "system" fn(pfnflush: PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FLUSH, pcontext: *const ::core::ffi::c_void, pdwexpectedobjectcount: *mut u32, ppfunctable: *mut *mut CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE, ppplugincontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_RELEASE = ::core::option::Option<unsafe extern "system" fn(dwreason: CRYPT_OBJECT_LOCATOR_RELEASE_REASON, pplugincontext: *const ::core::ffi::c_void)>; +pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_RELEASE = ::core::option::Option<unsafe extern "system" fn(dwreason: CRYPT_OBJECT_LOCATOR_RELEASE_REASON, pplugincontext: *const ::core::ffi::c_void) -> ()>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_SIGN_AND_ENCODE_HASH_FUNC = ::core::option::Option<unsafe extern "system" fn(hkey: NCRYPT_KEY_HANDLE, dwcertencodingtype: u32, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pvdecodedsignpara: *const ::core::ffi::c_void, pwszcngpubkeyalgid: ::windows_sys::core::PCWSTR, pwszcnghashalgid: ::windows_sys::core::PCWSTR, pbcomputedhash: *const u8, cbcomputedhash: u32, pbsignature: *mut u8, pcbsignature: *mut u32) -> super::super::Foundation::BOOL>; +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_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_CRYPT_VERIFY_ENCODED_SIGNATURE_FUNC = ::core::option::Option<unsafe extern "system" fn(dwcertencodingtype: u32, ppubkeyinfo: *const CERT_PUBLIC_KEY_INFO, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pvdecodedsignpara: *const ::core::ffi::c_void, pwszcngpubkeyalgid: ::windows_sys::core::PCWSTR, pwszcnghashalgid: ::windows_sys::core::PCWSTR, pbcomputedhash: *const u8, cbcomputedhash: u32, pbsignature: *const u8, cbsignature: u32) -> super::super::Foundation::BOOL>; +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>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub type PFN_CRYPT_XML_CREATE_TRANSFORM = ::core::option::Option<unsafe extern "system" fn(ptransform: *const CRYPT_XML_ALGORITHM, pproviderin: *const CRYPT_XML_DATA_PROVIDER, pproviderout: *mut CRYPT_XML_DATA_PROVIDER) -> ::windows_sys::core::HRESULT>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] @@ -14243,14 +13848,14 @@ pub type PFN_CRYPT_XML_WRITE_CALLBACK = ::core::option::Option<unsafe extern "sy #[cfg(feature = "Win32_Foundation")] pub type PFN_EXPORT_PRIV_KEY_FUNC = ::core::option::Option<unsafe extern "system" fn(hcryptprov: usize, dwkeyspec: u32, pszprivatekeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pprivatekeyinfo: *mut CRYPT_PRIVATE_KEY_INFO, pcbprivatekeyinfo: *mut u32) -> super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub type PFN_FREE_ENCODED_OBJECT_FUNC = ::core::option::Option<unsafe extern "system" fn(pszobjectoid: ::windows_sys::core::PCSTR, pobject: *mut CRYPT_BLOB_ARRAY, pvfreecontext: *mut ::core::ffi::c_void)>; +pub type PFN_FREE_ENCODED_OBJECT_FUNC = ::core::option::Option<unsafe extern "system" fn(pszobjectoid: ::windows_sys::core::PCSTR, pobject: *mut CRYPT_BLOB_ARRAY, pvfreecontext: *mut ::core::ffi::c_void) -> ()>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PFN_IMPORT_PRIV_KEY_FUNC = ::core::option::Option<unsafe extern "system" fn(hcryptprov: usize, pprivatekeyinfo: *const CRYPT_PRIVATE_KEY_INFO, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PFN_IMPORT_PUBLIC_KEY_INFO_EX2_FUNC = ::core::option::Option<unsafe extern "system" fn(dwcertencodingtype: u32, pinfo: *const CERT_PUBLIC_KEY_INFO, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, phkey: *mut BCRYPT_KEY_HANDLE) -> super::super::Foundation::BOOL>; +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>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] pub type PFN_NCRYPT_ALLOC = ::core::option::Option<unsafe extern "system" fn(cbsize: usize) -> *mut ::core::ffi::c_void>; #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"] -pub type PFN_NCRYPT_FREE = ::core::option::Option<unsafe extern "system" fn(pv: *const ::core::ffi::c_void)>; +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 index a46161bec..83eb4bbe5 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs @@ -1,81 +1,43 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqCancelDiagnosticRecordOperation(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqCloseSession(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqCreateSession(accesslevel: DdqAccessLevel, hsession: *mut super::HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqExtractDiagnosticReport(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype: u32, reportkey: ::windows_sys::core::PCWSTR, destinationpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqFreeDiagnosticRecordLocaleTags(htagdescription: super::HDIAGNOSTIC_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqFreeDiagnosticRecordPage(hrecord: super::HDIAGNOSTIC_RECORD) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqFreeDiagnosticRecordProducerCategories(hcategorydescription: super::HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqFreeDiagnosticRecordProducers(hproducerdescription: super::HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqFreeDiagnosticReport(hreport: super::HDIAGNOSTIC_REPORT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticDataAccessLevelAllowed(accesslevel: *mut DdqAccessLevel) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DdqGetDiagnosticRecordAtIndex(hrecord: super::HDIAGNOSTIC_RECORD, index: u32, record: *mut DIAGNOSTIC_DATA_RECORD) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticRecordBinaryDistribution(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, producernames: *const ::windows_sys::core::PWSTR, producernamecount: u32, topnbinaries: u32, binarystats: *mut *mut DIAGNOSTIC_DATA_EVENT_BINARY_STATS, statcount: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticRecordCategoryAtIndex(hcategorydescription: super::HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, index: u32, categorydescription: *mut DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticRecordCategoryCount(hcategorydescription: super::HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, categorydescriptioncount: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticRecordCount(hrecord: super::HDIAGNOSTIC_RECORD, recordcount: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticRecordLocaleTagAtIndex(htagdescription: super::HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, index: u32, tagdescription: *mut DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticRecordLocaleTagCount(htagdescription: super::HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, tagdescriptioncount: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticRecordLocaleTags(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, locale: ::windows_sys::core::PCWSTR, htagdescription: *mut super::HDIAGNOSTIC_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DdqGetDiagnosticRecordPage(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, searchcriteria: *const DIAGNOSTIC_DATA_SEARCH_CRITERIA, offset: u32, pagerecordcount: u32, baserowid: i64, hrecord: *mut super::HDIAGNOSTIC_RECORD) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticRecordPayload(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, rowid: i64, payload: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticRecordProducerAtIndex(hproducerdescription: super::HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, index: u32, producerdescription: *mut DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticRecordProducerCategories(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, producername: ::windows_sys::core::PCWSTR, hcategorydescription: *mut super::HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticRecordProducerCount(hproducerdescription: super::HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, producerdescriptioncount: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticRecordProducers(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, hproducerdescription: *mut super::HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DdqGetDiagnosticRecordStats(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, searchcriteria: *const DIAGNOSTIC_DATA_SEARCH_CRITERIA, recordcount: *mut u32, minrowid: *mut i64, maxrowid: *mut i64) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticRecordSummary(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, producernames: *const ::windows_sys::core::PWSTR, producernamecount: u32, generalstats: *mut DIAGNOSTIC_DATA_GENERAL_STATS) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticRecordTagDistribution(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, producernames: *const ::windows_sys::core::PWSTR, producernamecount: u32, tagstats: *mut *mut DIAGNOSTIC_DATA_EVENT_TAG_STATS, statcount: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticReport(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype: u32, hreport: *mut super::HDIAGNOSTIC_REPORT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DdqGetDiagnosticReportAtIndex(hreport: super::HDIAGNOSTIC_REPORT, index: u32, report: *mut DIAGNOSTIC_REPORT_DATA) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticReportCount(hreport: super::HDIAGNOSTIC_REPORT, reportcount: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetDiagnosticReportStoreReportCount(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype: u32, reportcount: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetSessionAccessLevel(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, accesslevel: *mut DdqAccessLevel) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqGetTranscriptConfiguration(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, currentconfig: *mut DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DdqIsDiagnosticRecordSampledIn(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, providergroup: *const ::windows_sys::core::GUID, providerid: *const ::windows_sys::core::GUID, providername: ::windows_sys::core::PCWSTR, eventid: *const u32, eventname: ::windows_sys::core::PCWSTR, eventversion: *const u32, eventkeywords: *const u64, issampledin: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] - pub fn DdqSetTranscriptConfiguration(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, desiredconfig: *const DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION) -> ::windows_sys::core::HRESULT; -} +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqCancelDiagnosticRecordOperation ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqCloseSession ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqCreateSession ( accesslevel : DdqAccessLevel , hsession : *mut super:: HDIAGNOSTIC_DATA_QUERY_SESSION ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] 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_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqFreeDiagnosticRecordLocaleTags ( htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqFreeDiagnosticRecordPage ( hrecord : super:: HDIAGNOSTIC_RECORD ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqFreeDiagnosticRecordProducerCategories ( hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqFreeDiagnosticRecordProducers ( hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqFreeDiagnosticReport ( hreport : super:: HDIAGNOSTIC_REPORT ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqGetDiagnosticDataAccessLevelAllowed ( accesslevel : *mut DdqAccessLevel ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] fn DdqGetDiagnosticRecordAtIndex ( hrecord : super:: HDIAGNOSTIC_RECORD , index : u32 , record : *mut DIAGNOSTIC_DATA_RECORD ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] 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_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqGetDiagnosticRecordCategoryAtIndex ( hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION , index : u32 , categorydescription : *mut DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqGetDiagnosticRecordCategoryCount ( hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION , categorydescriptioncount : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqGetDiagnosticRecordCount ( hrecord : super:: HDIAGNOSTIC_RECORD , recordcount : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqGetDiagnosticRecordLocaleTagAtIndex ( htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION , index : u32 , tagdescription : *mut DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqGetDiagnosticRecordLocaleTagCount ( htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION , tagdescriptioncount : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] 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_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"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_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqGetDiagnosticRecordPayload ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , rowid : i64 , payload : *mut :: windows_sys::core::PWSTR ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqGetDiagnosticRecordProducerAtIndex ( hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION , index : u32 , producerdescription : *mut DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] 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_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqGetDiagnosticRecordProducerCount ( hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION , producerdescriptioncount : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqGetDiagnosticRecordProducers ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , hproducerdescription : *mut super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"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_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] 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_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] 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_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqGetDiagnosticReport ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , reportstoretype : u32 , hreport : *mut super:: HDIAGNOSTIC_REPORT ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"] fn DdqGetDiagnosticReportAtIndex ( hreport : super:: HDIAGNOSTIC_REPORT , index : u32 , report : *mut DIAGNOSTIC_REPORT_DATA ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqGetDiagnosticReportCount ( hreport : super:: HDIAGNOSTIC_REPORT , reportcount : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqGetDiagnosticReportStoreReportCount ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , reportstoretype : u32 , reportcount : *mut u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqGetSessionAccessLevel ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , accesslevel : *mut DdqAccessLevel ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqGetTranscriptConfiguration ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , currentconfig : *mut DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"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_sys::core::link ! ( "diagnosticdataquery.dll""system" #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] fn DdqSetTranscriptConfiguration ( hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION , desiredconfig : *const DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION ) -> :: windows_sys::core::HRESULT ); #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] pub type DdqAccessLevel = i32; #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"] diff --git a/vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs index a9e227d79..dfd7e1159 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs @@ -1,18 +1,11 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))] - pub fn DSCreateISecurityInfoObject(pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, dwflags: u32, ppsi: *mut super::Authorization::UI::ISecurityInformation, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))] - pub fn DSCreateISecurityInfoObjectEx(pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, pwszserver: ::windows_sys::core::PCWSTR, pwszusername: ::windows_sys::core::PCWSTR, pwszpassword: ::windows_sys::core::PCWSTR, dwflags: u32, ppsi: *mut super::Authorization::UI::ISecurityInformation, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] - pub fn DSCreateSecurityPage(pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, dwflags: u32, phpage: *mut super::super::UI::Controls::HPROPSHEETPAGE, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DSEditSecurity(hwndowner: super::super::Foundation::HWND, pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, dwflags: u32, pwszcaption: ::windows_sys::core::PCWSTR, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT; -} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))] +::windows_sys::core::link ! ( "dssec.dll""system" #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"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_sys::core::link ! ( "dssec.dll""system" #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"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_sys::core::link ! ( "dssec.dll""system" #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"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_sys::core::link ! ( "dssec.dll""system" #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"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 ); #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`*"] pub const DSSI_IS_ROOT: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`*"] diff --git a/vendor/windows-sys/src/Windows/Win32/Security/EnterpriseData/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/EnterpriseData/mod.rs index c02f20c8b..fab95a6d1 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/EnterpriseData/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/EnterpriseData/mod.rs @@ -1,39 +1,23 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] - pub fn ProtectFileToEnterpriseIdentity(fileorfolderpath: ::windows_sys::core::PCWSTR, identity: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SrpCloseThreadNetworkContext(threadnetworkcontext: *mut HTHREAD_NETWORK_CONTEXT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SrpCreateThreadNetworkContext(enterpriseid: ::windows_sys::core::PCWSTR, threadnetworkcontext: *mut HTHREAD_NETWORK_CONTEXT) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] - pub fn SrpDisablePermissiveModeFileEncryption() -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Appx\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Appx"))] - pub fn SrpDoesPolicyAllowAppExecution(packageid: *const super::super::Storage::Packaging::Appx::PACKAGE_ID, isallowed: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] - pub fn SrpEnablePermissiveModeFileEncryption(enterpriseid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SrpGetEnterpriseIds(tokenhandle: super::super::Foundation::HANDLE, numberofbytes: *mut u32, enterpriseids: *mut ::windows_sys::core::PWSTR, enterpriseidcount: *mut u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SrpGetEnterprisePolicy(tokenhandle: super::super::Foundation::HANDLE, policyflags: *mut ENTERPRISE_DATA_POLICIES) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] - pub fn SrpHostingInitialize(version: SRPHOSTING_VERSION, r#type: SRPHOSTING_TYPE, pvdata: *const ::core::ffi::c_void, cbdata: u32) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] - pub fn SrpHostingTerminate(r#type: SRPHOSTING_TYPE); - #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SrpIsTokenService(tokenhandle: super::super::Foundation::HANDLE, istokenservice: *mut u8) -> super::super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SrpSetTokenEnterpriseId(tokenhandle: super::super::Foundation::HANDLE, enterpriseid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] - pub fn UnprotectFile(fileorfolderpath: ::windows_sys::core::PCWSTR, options: *const FILE_UNPROTECT_OPTIONS) -> ::windows_sys::core::HRESULT; -} +::windows_sys::core::link ! ( "efswrt.dll""system" #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] fn ProtectFileToEnterpriseIdentity ( fileorfolderpath : :: windows_sys::core::PCWSTR , identity : :: windows_sys::core::PCWSTR ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "srpapi.dll""system" #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] fn SrpCloseThreadNetworkContext ( threadnetworkcontext : *mut HTHREAD_NETWORK_CONTEXT ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "srpapi.dll""system" #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] fn SrpCreateThreadNetworkContext ( enterpriseid : :: windows_sys::core::PCWSTR , threadnetworkcontext : *mut HTHREAD_NETWORK_CONTEXT ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "srpapi.dll""system" #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] fn SrpDisablePermissiveModeFileEncryption ( ) -> :: windows_sys::core::HRESULT ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Appx"))] +::windows_sys::core::link ! ( "srpapi.dll""system" #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"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_sys::core::link ! ( "srpapi.dll""system" #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] fn SrpEnablePermissiveModeFileEncryption ( enterpriseid : :: windows_sys::core::PCWSTR ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "srpapi.dll""system" #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] fn SrpGetEnterpriseIds ( tokenhandle : super::super::Foundation:: HANDLE , numberofbytes : *mut u32 , enterpriseids : *mut :: windows_sys::core::PWSTR , enterpriseidcount : *mut u32 ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "srpapi.dll""system" #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] fn SrpGetEnterprisePolicy ( tokenhandle : super::super::Foundation:: HANDLE , policyflags : *mut ENTERPRISE_DATA_POLICIES ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "srpapi.dll""system" #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] fn SrpHostingInitialize ( version : SRPHOSTING_VERSION , r#type : SRPHOSTING_TYPE , pvdata : *const ::core::ffi::c_void , cbdata : u32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "srpapi.dll""system" #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] fn SrpHostingTerminate ( r#type : SRPHOSTING_TYPE ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "srpapi.dll""system" #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] fn SrpIsTokenService ( tokenhandle : super::super::Foundation:: HANDLE , istokenservice : *mut u8 ) -> super::super::Foundation:: NTSTATUS ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "srpapi.dll""system" #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"] fn SrpSetTokenEnterpriseId ( tokenhandle : super::super::Foundation:: HANDLE , enterpriseid : :: windows_sys::core::PCWSTR ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "efswrt.dll""system" #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"] 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; diff --git a/vendor/windows-sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs index 32f5731cb..4611148ff 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs @@ -1,83 +1,48 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn EapHostPeerBeginSession(dwflags: u32, eaptype: EAP_METHOD_TYPE, pattributearray: *const EAP_ATTRIBUTES, htokenimpersonateuser: super::super::Foundation::HANDLE, dwsizeofconnectiondata: u32, pconnectiondata: *const u8, dwsizeofuserdata: u32, puserdata: *const u8, dwmaxsendpacketsize: u32, pconnectionid: *const ::windows_sys::core::GUID, func: NotificationHandler, pcontextdata: *mut ::core::ffi::c_void, psessionid: *mut u32, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerClearConnection(pconnectionid: *mut ::windows_sys::core::GUID, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] - pub fn EapHostPeerConfigBlob2Xml(dwflags: u32, eapmethodtype: EAP_METHOD_TYPE, dwsizeofconfigin: u32, pconfigin: *const u8, ppconfigdoc: *mut super::super::Data::Xml::MsXml::IXMLDOMDocument2, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] - pub fn EapHostPeerConfigXml2Blob(dwflags: u32, pconfigdoc: super::super::Data::Xml::MsXml::IXMLDOMNode, pdwsizeofconfigout: *mut u32, ppconfigout: *mut *mut u8, peapmethodtype: *mut EAP_METHOD_TYPE, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"] - #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] - pub fn EapHostPeerCredentialsXml2Blob(dwflags: u32, pcredentialsdoc: super::super::Data::Xml::MsXml::IXMLDOMNode, dwsizeofconfigin: u32, pconfigin: *const u8, pdwsizeofcredentialsout: *mut u32, ppcredentialsout: *mut *mut u8, peapmethodtype: *mut EAP_METHOD_TYPE, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerEndSession(sessionhandle: u32, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerFreeEapError(peaperror: *mut EAP_ERROR); - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerFreeErrorMemory(peaperror: *mut EAP_ERROR); - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerFreeMemory(pdata: *mut u8); - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerFreeRuntimeMemory(pdata: *mut u8); - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerGetAuthStatus(sessionhandle: u32, authparam: EapHostPeerAuthParams, pcbauthdata: *mut u32, ppauthdata: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn EapHostPeerGetDataToUnplumbCredentials(pconnectionidthatlastsavedcreds: *mut ::windows_sys::core::GUID, phcredentialimpersonationtoken: *mut isize, sessionhandle: u32, ppeaperror: *mut *mut EAP_ERROR, fsavetocredman: *mut super::super::Foundation::BOOL) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerGetEncryptedPassword(dwsizeofpassword: u32, szpassword: ::windows_sys::core::PCWSTR, ppszencpassword: *mut ::windows_sys::core::PWSTR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn EapHostPeerGetIdentity(dwversion: u32, dwflags: u32, eapmethodtype: EAP_METHOD_TYPE, dwsizeofconnectiondata: u32, pconnectiondata: *const u8, dwsizeofuserdata: u32, puserdata: *const u8, htokenimpersonateuser: super::super::Foundation::HANDLE, pfinvokeui: *mut super::super::Foundation::BOOL, pdwsizeofuserdataout: *mut u32, ppuserdataout: *mut *mut u8, ppwszidentity: *mut ::windows_sys::core::PWSTR, ppeaperror: *mut *mut EAP_ERROR, ppvreserved: *mut *mut u8) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn EapHostPeerGetMethodProperties(dwversion: u32, dwflags: u32, eapmethodtype: EAP_METHOD_TYPE, huserimpersonationtoken: super::super::Foundation::HANDLE, dweapconndatasize: u32, pbeapconndata: *const u8, dwuserdatasize: u32, pbuserdata: *const u8, pmethodpropertyarray: *mut EAP_METHOD_PROPERTY_ARRAY, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerGetMethods(peapmethodinfoarray: *mut EAP_METHOD_INFO_ARRAY, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerGetResponseAttributes(sessionhandle: u32, pattribs: *mut EAP_ATTRIBUTES, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn EapHostPeerGetResult(sessionhandle: u32, reason: EapHostPeerMethodResultReason, ppresult: *mut EapHostPeerMethodResult, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerGetSendPacket(sessionhandle: u32, pcbsendpacket: *mut u32, ppsendpacket: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerGetUIContext(sessionhandle: u32, pdwsizeofuicontextdata: *mut u32, ppuicontextdata: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerInitialize() -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn EapHostPeerInvokeConfigUI(hwndparent: super::super::Foundation::HWND, dwflags: u32, eapmethodtype: EAP_METHOD_TYPE, dwsizeofconfigin: u32, pconfigin: *const u8, pdwsizeofconfigout: *mut u32, ppconfigout: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn EapHostPeerInvokeIdentityUI(dwversion: u32, eapmethodtype: EAP_METHOD_TYPE, dwflags: u32, hwndparent: super::super::Foundation::HWND, dwsizeofconnectiondata: u32, pconnectiondata: *const u8, dwsizeofuserdata: u32, puserdata: *const u8, pdwsizeofuserdataout: *mut u32, ppuserdataout: *mut *mut u8, ppwszidentity: *mut ::windows_sys::core::PWSTR, ppeaperror: *mut *mut EAP_ERROR, ppvreserved: *mut *mut ::core::ffi::c_void) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn EapHostPeerInvokeInteractiveUI(hwndparent: super::super::Foundation::HWND, dwsizeofuicontextdata: u32, puicontextdata: *const u8, pdwsizeofdatafrominteractiveui: *mut u32, ppdatafrominteractiveui: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerProcessReceivedPacket(sessionhandle: u32, cbreceivepacket: u32, preceivepacket: *const u8, peapoutput: *mut EapHostPeerResponseAction, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn EapHostPeerQueryCredentialInputFields(huserimpersonationtoken: super::super::Foundation::HANDLE, eapmethodtype: EAP_METHOD_TYPE, dwflags: u32, dweapconndatasize: u32, pbeapconndata: *const u8, peapconfiginputfieldarray: *mut EAP_CONFIG_INPUT_FIELD_ARRAY, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerQueryInteractiveUIInputFields(dwversion: u32, dwflags: u32, dwsizeofuicontextdata: u32, puicontextdata: *const u8, peapinteractiveuidata: *mut EAP_INTERACTIVE_UI_DATA, ppeaperror: *mut *mut EAP_ERROR, ppvreserved: *mut *mut ::core::ffi::c_void) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerQueryUIBlobFromInteractiveUIInputFields(dwversion: u32, dwflags: u32, dwsizeofuicontextdata: u32, puicontextdata: *const u8, peapinteractiveuidata: *const EAP_INTERACTIVE_UI_DATA, pdwsizeofdatafrominteractiveui: *mut u32, ppdatafrominteractiveui: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR, ppvreserved: *mut *mut ::core::ffi::c_void) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn EapHostPeerQueryUserBlobFromCredentialInputFields(huserimpersonationtoken: super::super::Foundation::HANDLE, eapmethodtype: EAP_METHOD_TYPE, dwflags: u32, dweapconndatasize: u32, pbeapconndata: *const u8, peapconfiginputfieldarray: *const EAP_CONFIG_INPUT_FIELD_ARRAY, pdwuserblobsize: *mut u32, ppbuserblob: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerSetResponseAttributes(sessionhandle: u32, pattribs: *const EAP_ATTRIBUTES, peapoutput: *mut EapHostPeerResponseAction, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerSetUIContext(sessionhandle: u32, dwsizeofuicontextdata: u32, puicontextdata: *const u8, peapoutput: *mut EapHostPeerResponseAction, ppeaperror: *mut *mut EAP_ERROR) -> u32; - #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] - pub fn EapHostPeerUninitialize(); -} +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"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_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] 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_sys::core::link ! ( "eappcfg.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"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_sys::core::link ! ( "eappcfg.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"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_sys::core::link ! ( "eappcfg.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"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_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] fn EapHostPeerEndSession ( sessionhandle : u32 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); +::windows_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] fn EapHostPeerFreeEapError ( peaperror : *mut EAP_ERROR ) -> ( ) ); +::windows_sys::core::link ! ( "eappcfg.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] fn EapHostPeerFreeErrorMemory ( peaperror : *mut EAP_ERROR ) -> ( ) ); +::windows_sys::core::link ! ( "eappcfg.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] fn EapHostPeerFreeMemory ( pdata : *mut u8 ) -> ( ) ); +::windows_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] fn EapHostPeerFreeRuntimeMemory ( pdata : *mut u8 ) -> ( ) ); +::windows_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] fn EapHostPeerGetAuthStatus ( sessionhandle : u32 , authparam : EapHostPeerAuthParams , pcbauthdata : *mut u32 , ppauthdata : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"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_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] fn EapHostPeerGetEncryptedPassword ( dwsizeofpassword : u32 , szpassword : :: windows_sys::core::PCWSTR , ppszencpassword : *mut :: windows_sys::core::PWSTR ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"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_sys::core::link ! ( "eappcfg.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"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_sys::core::link ! ( "eappcfg.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] fn EapHostPeerGetMethods ( peapmethodinfoarray : *mut EAP_METHOD_INFO_ARRAY , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); +::windows_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] fn EapHostPeerGetResponseAttributes ( sessionhandle : u32 , pattribs : *mut EAP_ATTRIBUTES , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"] fn EapHostPeerGetResult ( sessionhandle : u32 , reason : EapHostPeerMethodResultReason , ppresult : *mut EapHostPeerMethodResult , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); +::windows_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] fn EapHostPeerGetSendPacket ( sessionhandle : u32 , pcbsendpacket : *mut u32 , ppsendpacket : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); +::windows_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] fn EapHostPeerGetUIContext ( sessionhandle : u32 , pdwsizeofuicontextdata : *mut u32 , ppuicontextdata : *mut *mut u8 , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); +::windows_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] fn EapHostPeerInitialize ( ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "eappcfg.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"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_sys::core::link ! ( "eappcfg.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"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_sys::core::link ! ( "eappcfg.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"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_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] fn EapHostPeerProcessReceivedPacket ( sessionhandle : u32 , cbreceivepacket : u32 , preceivepacket : *const u8 , peapoutput : *mut EapHostPeerResponseAction , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "eappcfg.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"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_sys::core::link ! ( "eappcfg.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] 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_sys::core::link ! ( "eappcfg.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] 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_sys::core::link ! ( "eappcfg.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"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_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] fn EapHostPeerSetResponseAttributes ( sessionhandle : u32 , pattribs : *const EAP_ATTRIBUTES , peapoutput : *mut EapHostPeerResponseAction , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); +::windows_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] fn EapHostPeerSetUIContext ( sessionhandle : u32 , dwsizeofuicontextdata : u32 , puicontextdata : *const u8 , peapoutput : *mut EapHostPeerResponseAction , ppeaperror : *mut *mut EAP_ERROR ) -> u32 ); +::windows_sys::core::link ! ( "eappprxy.dll""system" #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] 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; @@ -99,13 +64,13 @@ pub const EAPHOST_METHOD_API_VERSION: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub const EAPHOST_PEER_API_VERSION: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const EAP_AUTHENTICATOR_VALUENAME_CONFIGUI: &str = "AuthenticatorConfigUIPath"; +pub const EAP_AUTHENTICATOR_VALUENAME_CONFIGUI: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AuthenticatorConfigUIPath"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const EAP_AUTHENTICATOR_VALUENAME_DLL_PATH: &str = "AuthenticatorDllPath"; +pub const EAP_AUTHENTICATOR_VALUENAME_DLL_PATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AuthenticatorDllPath"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const EAP_AUTHENTICATOR_VALUENAME_FRIENDLY_NAME: &str = "AuthenticatorFriendlyName"; +pub const EAP_AUTHENTICATOR_VALUENAME_FRIENDLY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("AuthenticatorFriendlyName"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const EAP_AUTHENTICATOR_VALUENAME_PROPERTIES: &str = "Properties"; +pub const EAP_AUTHENTICATOR_VALUENAME_PROPERTIES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Properties"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub const EAP_CONFIG_INPUT_FIELD_PROPS_DEFAULT: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] @@ -273,25 +238,25 @@ pub const EAP_PEER_FLAG_GUEST_ACCESS: u32 = 64u32; #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub const EAP_PEER_FLAG_HEALTH_STATE_CHANGE: u32 = 32768u32; #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const EAP_PEER_VALUENAME_CONFIGUI: &str = "PeerConfigUIPath"; +pub const EAP_PEER_VALUENAME_CONFIGUI: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PeerConfigUIPath"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const EAP_PEER_VALUENAME_DLL_PATH: &str = "PeerDllPath"; +pub const EAP_PEER_VALUENAME_DLL_PATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PeerDllPath"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const EAP_PEER_VALUENAME_FRIENDLY_NAME: &str = "PeerFriendlyName"; +pub const EAP_PEER_VALUENAME_FRIENDLY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PeerFriendlyName"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const EAP_PEER_VALUENAME_IDENTITY: &str = "PeerIdentityPath"; +pub const EAP_PEER_VALUENAME_IDENTITY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PeerIdentityPath"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const EAP_PEER_VALUENAME_INTERACTIVEUI: &str = "PeerInteractiveUIPath"; +pub const EAP_PEER_VALUENAME_INTERACTIVEUI: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PeerInteractiveUIPath"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const EAP_PEER_VALUENAME_INVOKE_NAMEDLG: &str = "PeerInvokeUsernameDialog"; +pub const EAP_PEER_VALUENAME_INVOKE_NAMEDLG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PeerInvokeUsernameDialog"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const EAP_PEER_VALUENAME_INVOKE_PWDDLG: &str = "PeerInvokePasswordDialog"; +pub const EAP_PEER_VALUENAME_INVOKE_PWDDLG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PeerInvokePasswordDialog"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const EAP_PEER_VALUENAME_PROPERTIES: &str = "Properties"; +pub const EAP_PEER_VALUENAME_PROPERTIES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Properties"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const EAP_PEER_VALUENAME_REQUIRE_CONFIGUI: &str = "PeerRequireConfigUI"; +pub const EAP_PEER_VALUENAME_REQUIRE_CONFIGUI: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PeerRequireConfigUI"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const EAP_REGISTRY_LOCATION: &str = "System\\CurrentControlSet\\Services\\EapHost\\Methods"; +pub const EAP_REGISTRY_LOCATION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("System\\CurrentControlSet\\Services\\EapHost\\Methods"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub const EAP_UI_INPUT_FIELD_PROPS_DEFAULT: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] @@ -301,63 +266,117 @@ pub const EAP_UI_INPUT_FIELD_PROPS_NON_PERSIST: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub const EAP_UI_INPUT_FIELD_PROPS_READ_ONLY: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const EAP_VALUENAME_PROPERTIES: &str = "Properties"; +pub const EAP_VALUENAME_PROPERTIES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Properties"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub const FACILITY_EAP_MESSAGE: u32 = 2114u32; -pub const GUID_EapHost_Cause_CertStoreInaccessible: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 4] }; -pub const GUID_EapHost_Cause_EapNegotiationFailed: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 28] }; -pub const GUID_EapHost_Cause_EapQecInaccessible: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 3, 18] }; -pub const GUID_EapHost_Cause_Generic_AuthFailure: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 1, 4] }; -pub const GUID_EapHost_Cause_IdentityUnknown: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 2, 4] }; -pub const GUID_EapHost_Cause_MethodDLLNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 1] }; -pub const GUID_EapHost_Cause_MethodDoesNotSupportOperation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 30] }; -pub const GUID_EapHost_Cause_Method_Config_Does_Not_Support_Sso: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3659054386, data2: 79, data3: 16890, data4: [174, 8, 11, 200, 94, 88, 69, 172] }; -pub const GUID_EapHost_Cause_No_SmartCardReader_Found: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 43] }; -pub const GUID_EapHost_Cause_Server_CertExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 5] }; -pub const GUID_EapHost_Cause_Server_CertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 6] }; -pub const GUID_EapHost_Cause_Server_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 7] }; -pub const GUID_EapHost_Cause_Server_CertOtherError: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 1, 8] }; -pub const GUID_EapHost_Cause_Server_CertRevoked: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 8] }; -pub const GUID_EapHost_Cause_Server_Root_CertNameRequired: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 18] }; -pub const GUID_EapHost_Cause_Server_Root_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 1, 18] }; -pub const GUID_EapHost_Cause_SimNotValid: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 3, 4] }; -pub const GUID_EapHost_Cause_ThirdPartyMethod_Host_Reset: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 2, 18] }; -pub const GUID_EapHost_Cause_User_Account_OtherProblem: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 1, 14] }; -pub const GUID_EapHost_Cause_User_CertExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 9] }; -pub const GUID_EapHost_Cause_User_CertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 10] }; -pub const GUID_EapHost_Cause_User_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 11] }; -pub const GUID_EapHost_Cause_User_CertOtherError: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 12] }; -pub const GUID_EapHost_Cause_User_CertRejected: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 13] }; -pub const GUID_EapHost_Cause_User_CertRevoked: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 14] }; -pub const GUID_EapHost_Cause_User_CredsRejected: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 2, 14] }; -pub const GUID_EapHost_Cause_User_Root_CertExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 15] }; -pub const GUID_EapHost_Cause_User_Root_CertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 16] }; -pub const GUID_EapHost_Cause_User_Root_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 17] }; -pub const GUID_EapHost_Cause_XmlMalformed: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 29] }; -pub const GUID_EapHost_Default: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 0, data2: 0, data3: 0, data4: [0, 0, 0, 0, 0, 0, 0, 0] }; -pub const GUID_EapHost_Help_ObtainingCerts: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4113952419, data2: 7133, data3: 18122, data4: [162, 252, 166, 101, 89, 57, 183, 232] }; -pub const GUID_EapHost_Help_Troubleshooting: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 858815183, data2: 1688, data3: 16826, data4: [176, 20, 234, 10, 46, 184, 208, 168] }; -pub const GUID_EapHost_Repair_ContactAdmin_AuthFailure: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 31] }; -pub const GUID_EapHost_Repair_ContactAdmin_CertNameAbsent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 41] }; -pub const GUID_EapHost_Repair_ContactAdmin_CertStoreInaccessible: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 36] }; -pub const GUID_EapHost_Repair_ContactAdmin_IdentityUnknown: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 32] }; -pub const GUID_EapHost_Repair_ContactAdmin_InvalidUserAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 37] }; -pub const GUID_EapHost_Repair_ContactAdmin_InvalidUserCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 44] }; -pub const GUID_EapHost_Repair_ContactAdmin_MethodNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 34] }; -pub const GUID_EapHost_Repair_ContactAdmin_NegotiationFailed: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 33] }; -pub const GUID_EapHost_Repair_ContactAdmin_NoSmartCardReader: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 42] }; -pub const GUID_EapHost_Repair_ContactAdmin_RootCertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 38] }; -pub const GUID_EapHost_Repair_ContactAdmin_RootCertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 39] }; -pub const GUID_EapHost_Repair_ContactAdmin_RootExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 40] }; -pub const GUID_EapHost_Repair_ContactSysadmin: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 2] }; -pub const GUID_EapHost_Repair_Method_Not_Support_Sso: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 45] }; -pub const GUID_EapHost_Repair_No_ValidSim_Found: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 46] }; -pub const GUID_EapHost_Repair_RestartNap: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 35] }; -pub const GUID_EapHost_Repair_Retry_Authentication: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 1, 27] }; -pub const GUID_EapHost_Repair_Server_ClientSelectServerCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 24] }; -pub const GUID_EapHost_Repair_User_AuthFailure: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 25] }; -pub const GUID_EapHost_Repair_User_GetNewCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 26] }; -pub const GUID_EapHost_Repair_User_SelectValidCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 27] }; +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_CertStoreInaccessible: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000004); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_EapNegotiationFailed: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000001c); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_EapQecInaccessible: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000312); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_Generic_AuthFailure: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000104); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_IdentityUnknown: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000204); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_MethodDLLNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000001); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_MethodDoesNotSupportOperation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000001e); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +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); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_No_SmartCardReader_Found: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000002b); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_Server_CertExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000005); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_Server_CertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000006); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_Server_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000007); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_Server_CertOtherError: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000108); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_Server_CertRevoked: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000008); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_Server_Root_CertNameRequired: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000012); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_Server_Root_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000112); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_SimNotValid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000304); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_ThirdPartyMethod_Host_Reset: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000212); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_User_Account_OtherProblem: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000010e); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_User_CertExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000009); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_User_CertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000000a); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_User_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000000b); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_User_CertOtherError: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000000c); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_User_CertRejected: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000000d); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_User_CertRevoked: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000000e); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_User_CredsRejected: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000020e); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_User_Root_CertExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000000f); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_User_Root_CertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000010); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_User_Root_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000011); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Cause_XmlMalformed: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000001d); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Default: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x00000000_0000_0000_0000_000000000000); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Help_ObtainingCerts: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf535eea3_1bdd_46ca_a2fc_a6655939b7e8); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Help_Troubleshooting: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x33307acf_0698_41ba_b014_ea0a2eb8d0a8); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_ContactAdmin_AuthFailure: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000001f); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_ContactAdmin_CertNameAbsent: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000029); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_ContactAdmin_CertStoreInaccessible: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000024); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_ContactAdmin_IdentityUnknown: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000020); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_ContactAdmin_InvalidUserAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000025); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_ContactAdmin_InvalidUserCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000002c); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_ContactAdmin_MethodNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000022); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_ContactAdmin_NegotiationFailed: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000021); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_ContactAdmin_NoSmartCardReader: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000002a); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_ContactAdmin_RootCertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000026); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_ContactAdmin_RootCertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000027); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_ContactAdmin_RootExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000028); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_ContactSysadmin: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000002); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_Method_Not_Support_Sso: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000002d); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_No_ValidSim_Found: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000002e); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_RestartNap: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000023); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_Retry_Authentication: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000011b); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_Server_ClientSelectServerCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000018); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_User_AuthFailure: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000019); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_User_GetNewCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000001a); +#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] +pub const GUID_EapHost_Repair_User_SelectValidCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000001b); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub const MAXEAPCODE: u32 = 4u32; #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] @@ -403,7 +422,7 @@ pub const RAS_EAP_FLAG_SAVE_CREDMAN: u32 = 2097152u32; #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub const RAS_EAP_FLAG_SERVER_VALIDATION_REQUIRED: u32 = 33554432u32; #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_REGISTRY_LOCATION: &str = "System\\CurrentControlSet\\Services\\Rasman\\PPP\\EAP"; +pub const RAS_EAP_REGISTRY_LOCATION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("System\\CurrentControlSet\\Services\\Rasman\\PPP\\EAP"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub const RAS_EAP_ROLE_AUTHENTICATEE: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] @@ -415,37 +434,37 @@ pub const RAS_EAP_ROLE_EXCLUDE_IN_PEAP: u32 = 8u32; #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub const RAS_EAP_ROLE_EXCLUDE_IN_VPN: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_CONFIGUI: &str = "ConfigUIPath"; +pub const RAS_EAP_VALUENAME_CONFIGUI: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ConfigUIPath"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_CONFIG_CLSID: &str = "ConfigCLSID"; +pub const RAS_EAP_VALUENAME_CONFIG_CLSID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ConfigCLSID"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_DEFAULT_DATA: &str = "ConfigData"; +pub const RAS_EAP_VALUENAME_DEFAULT_DATA: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ConfigData"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_ENCRYPTION: &str = "MPPEEncryptionSupported"; +pub const RAS_EAP_VALUENAME_ENCRYPTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MPPEEncryptionSupported"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_FILTER_INNERMETHODS: &str = "FilterInnerMethods"; +pub const RAS_EAP_VALUENAME_FILTER_INNERMETHODS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FilterInnerMethods"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_FRIENDLY_NAME: &str = "FriendlyName"; +pub const RAS_EAP_VALUENAME_FRIENDLY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("FriendlyName"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_IDENTITY: &str = "IdentityPath"; +pub const RAS_EAP_VALUENAME_IDENTITY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IdentityPath"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_INTERACTIVEUI: &str = "InteractiveUIPath"; +pub const RAS_EAP_VALUENAME_INTERACTIVEUI: ::windows_sys::core::PCWSTR = ::windows_sys::w!("InteractiveUIPath"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_INVOKE_NAMEDLG: &str = "InvokeUsernameDialog"; +pub const RAS_EAP_VALUENAME_INVOKE_NAMEDLG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("InvokeUsernameDialog"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_INVOKE_PWDDLG: &str = "InvokePasswordDialog"; +pub const RAS_EAP_VALUENAME_INVOKE_PWDDLG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("InvokePasswordDialog"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_ISTUNNEL_METHOD: &str = "IsTunnelMethod"; +pub const RAS_EAP_VALUENAME_ISTUNNEL_METHOD: ::windows_sys::core::PCWSTR = ::windows_sys::w!("IsTunnelMethod"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_PATH: &str = "Path"; +pub const RAS_EAP_VALUENAME_PATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Path"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_PER_POLICY_CONFIG: &str = "PerPolicyConfig"; +pub const RAS_EAP_VALUENAME_PER_POLICY_CONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PerPolicyConfig"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_REQUIRE_CONFIGUI: &str = "RequireConfigUI"; +pub const RAS_EAP_VALUENAME_REQUIRE_CONFIGUI: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequireConfigUI"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_ROLES_SUPPORTED: &str = "RolesSupported"; +pub const RAS_EAP_VALUENAME_ROLES_SUPPORTED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RolesSupported"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub const RAS_EAP_VALUENAME_STANDALONE_SUPPORTED: &str = "StandaloneSupported"; +pub const RAS_EAP_VALUENAME_STANDALONE_SUPPORTED: ::windows_sys::core::PCWSTR = ::windows_sys::w!("StandaloneSupported"); #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] pub const eapPropCertifiedMethod: u32 = 4194304u32; #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] @@ -1850,4 +1869,4 @@ impl ::core::clone::Clone for RAS_AUTH_ATTRIBUTE { } } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"] -pub type NotificationHandler = ::core::option::Option<unsafe extern "system" fn(connectionid: ::windows_sys::core::GUID, pcontextdata: *mut ::core::ffi::c_void)>; +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 index eeffb8604..c42c513ba 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/Isolation/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/Isolation/mod.rs @@ -1,36 +1,24 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CreateAppContainerProfile(pszappcontainername: ::windows_sys::core::PCWSTR, pszdisplayname: ::windows_sys::core::PCWSTR, pszdescription: ::windows_sys::core::PCWSTR, pcapabilities: *const super::SID_AND_ATTRIBUTES, dwcapabilitycount: u32, ppsidappcontainersid: *mut super::super::Foundation::PSID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Isolation\"`*"] - pub fn DeleteAppContainerProfile(pszappcontainername: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DeriveAppContainerSidFromAppContainerName(pszappcontainername: ::windows_sys::core::PCWSTR, ppsidappcontainersid: *mut super::super::Foundation::PSID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DeriveRestrictedAppContainerSidFromAppContainerSidAndRestrictedName(psidappcontainersid: super::super::Foundation::PSID, pszrestrictedappcontainername: ::windows_sys::core::PCWSTR, ppsidrestrictedappcontainersid: *mut super::super::Foundation::PSID) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Isolation\"`*"] - pub fn GetAppContainerFolderPath(pszappcontainersid: ::windows_sys::core::PCWSTR, ppszpath: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetAppContainerNamedObjectPath(token: super::super::Foundation::HANDLE, appcontainersid: super::super::Foundation::PSID, objectpathlength: u32, objectpath: ::windows_sys::core::PWSTR, returnlength: *mut u32) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_System_Registry\"`*"] - #[cfg(feature = "Win32_System_Registry")] - pub fn GetAppContainerRegistryLocation(desiredaccess: u32, phappcontainerkey: *mut super::super::System::Registry::HKEY) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn IsProcessInIsolatedContainer(isprocessinisolatedcontainer: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn IsProcessInIsolatedWindowsEnvironment(isprocessinisolatedwindowsenvironment: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn IsProcessInWDAGContainer(reserved: *const ::core::ffi::c_void, isprocessinwdagcontainer: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; -} +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"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_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_Security_Isolation\"`*"] fn DeleteAppContainerProfile ( pszappcontainername : :: windows_sys::core::PCWSTR ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] fn DeriveAppContainerSidFromAppContainerName ( pszappcontainername : :: windows_sys::core::PCWSTR , ppsidappcontainersid : *mut super::super::Foundation:: PSID ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"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_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_Security_Isolation\"`*"] fn GetAppContainerFolderPath ( pszappcontainersid : :: windows_sys::core::PCWSTR , ppszpath : *mut :: windows_sys::core::PWSTR ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"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_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_System_Registry\"`*"] fn GetAppContainerRegistryLocation ( desiredaccess : u32 , phappcontainerkey : *mut super::super::System::Registry:: HKEY ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "api-ms-win-security-isolatedcontainer-l1-1-0.dll""system" #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] fn IsProcessInIsolatedContainer ( isprocessinisolatedcontainer : *mut super::super::Foundation:: BOOL ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "isolatedwindowsenvironmentutils.dll""system" #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] fn IsProcessInIsolatedWindowsEnvironment ( isprocessinisolatedwindowsenvironment : *mut super::super::Foundation:: BOOL ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "api-ms-win-security-isolatedcontainer-l1-1-1.dll""system" #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"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 { data1: 3162580016, data2: 59230, data3: 20433, data4: [150, 65, 31, 159, 30, 45, 154, 31] }; +#[doc = "*Required features: `\"Win32_Security_Isolation\"`*"] +pub const IsolatedAppLauncher: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbc812430_e75e_4fd1_9641_1f9f1e2d9a1f); #[repr(C)] #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] diff --git a/vendor/windows-sys/src/Windows/Win32/Security/LicenseProtection/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/LicenseProtection/mod.rs index 0ee65758f..50febc255 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/LicenseProtection/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/LicenseProtection/mod.rs @@ -1,11 +1,6 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`*"] - pub fn RegisterLicenseKeyWithExpiration(licensekey: ::windows_sys::core::PCWSTR, validityindays: u32, status: *mut LicenseProtectionStatus) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ValidateLicenseKeyProtection(licensekey: ::windows_sys::core::PCWSTR, notvalidbefore: *mut super::super::Foundation::FILETIME, notvalidafter: *mut super::super::Foundation::FILETIME, status: *mut LicenseProtectionStatus) -> ::windows_sys::core::HRESULT; -} +::windows_sys::core::link ! ( "licenseprotection.dll""system" #[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`*"] fn RegisterLicenseKeyWithExpiration ( licensekey : :: windows_sys::core::PCWSTR , validityindays : u32 , status : *mut LicenseProtectionStatus ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "licenseprotection.dll""system" #[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`, `\"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 ); #[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`*"] pub type LicenseProtectionStatus = i32; #[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`*"] diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Tpm/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Tpm/mod.rs index f6154f608..e8e2ea089 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/Tpm/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/Tpm/mod.rs @@ -2,10 +2,12 @@ pub type ITpmVirtualSmartCardManager = *mut ::core::ffi::c_void; pub type ITpmVirtualSmartCardManager2 = *mut ::core::ffi::c_void; pub type ITpmVirtualSmartCardManager3 = *mut ::core::ffi::c_void; pub type ITpmVirtualSmartCardManagerStatusCallback = *mut ::core::ffi::c_void; -pub const RemoteTpmVirtualSmartCardManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 355377832, data2: 28892, data3: 19545, data4: [139, 42, 50, 170, 60, 160, 220, 172] }; +#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"] +pub const RemoteTpmVirtualSmartCardManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x152ea2a8_70dc_4c59_8b2a_32aa3ca0dcac); #[doc = "*Required features: `\"Win32_Security_Tpm\"`*"] pub const TPMVSC_DEFAULT_ADMIN_ALGORITHM_ID: u32 = 130u32; -pub const TpmVirtualSmartCardManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 379686534, data2: 32622, data3: 19488, data4: [173, 137, 79, 252, 13, 183, 169, 106] }; +#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"] +pub const TpmVirtualSmartCardManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x16a18e86_7f6e_4c20_ad89_4ffc0db7a96a); #[doc = "*Required features: `\"Win32_Security_Tpm\"`*"] pub type TPMVSCMGR_ERROR = i32; #[doc = "*Required features: `\"Win32_Security_Tpm\"`*"] diff --git a/vendor/windows-sys/src/Windows/Win32/Security/WinTrust/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/WinTrust/mod.rs index 5c9a5d80f..1520c3175 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/WinTrust/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/WinTrust/mod.rs @@ -1,69 +1,48 @@ -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn OpenPersonalTrustDBDialog(hwndparent: super::super::Foundation::HWND) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn OpenPersonalTrustDBDialogEx(hwndparent: super::super::Foundation::HWND, dwflags: u32, pvreserved: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] - pub fn WTHelperCertCheckValidSignature(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT; - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] - pub fn WTHelperCertIsSelfSigned(dwencoding: u32, pcert: *mut super::Cryptography::CERT_INFO) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] - pub fn WTHelperGetProvCertFromChain(psgnr: *mut CRYPT_PROVIDER_SGNR, idxcert: u32) -> *mut CRYPT_PROVIDER_CERT; - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] - pub fn WTHelperGetProvPrivateDataFromChain(pprovdata: *mut CRYPT_PROVIDER_DATA, pgproviderid: *mut ::windows_sys::core::GUID) -> *mut CRYPT_PROVIDER_PRIVDATA; - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] - pub fn WTHelperGetProvSignerFromChain(pprovdata: *mut CRYPT_PROVIDER_DATA, idxsigner: u32, fcountersigner: super::super::Foundation::BOOL, idxcountersigner: u32) -> *mut CRYPT_PROVIDER_SGNR; - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] - pub fn WTHelperProvDataFromStateData(hstatedata: super::super::Foundation::HANDLE) -> *mut CRYPT_PROVIDER_DATA; - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn WinVerifyTrust(hwnd: super::super::Foundation::HWND, pgactionid: *mut ::windows_sys::core::GUID, pwvtdata: *mut ::core::ffi::c_void) -> i32; - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] - pub fn WinVerifyTrustEx(hwnd: super::super::Foundation::HWND, pgactionid: *mut ::windows_sys::core::GUID, pwintrustdata: *mut WINTRUST_DATA) -> i32; - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn WintrustAddActionID(pgactionid: *const ::windows_sys::core::GUID, fdwflags: u32, psprovinfo: *const CRYPT_REGISTER_ACTIONID) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn WintrustAddDefaultForUsage(pszusageoid: ::windows_sys::core::PCSTR, psdefusage: *const CRYPT_PROVIDER_REGDEFUSAGE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn WintrustGetDefaultForUsage(dwaction: WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION, pszusageoid: ::windows_sys::core::PCSTR, psusage: *mut CRYPT_PROVIDER_DEFUSAGE) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] - pub fn WintrustGetRegPolicyFlags(pdwpolicyflags: *mut WINTRUST_POLICY_FLAGS); - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"] - #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] - pub fn WintrustLoadFunctionPointers(pgactionid: *mut ::windows_sys::core::GUID, ppfns: *mut CRYPT_PROVIDER_FUNCTIONS) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn WintrustRemoveActionID(pgactionid: *const ::windows_sys::core::GUID) -> super::super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn WintrustSetDefaultIncludePEPageHashes(fincludepepagehashes: super::super::Foundation::BOOL); - #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn WintrustSetRegPolicyFlags(dwpolicyflags: WINTRUST_POLICY_FLAGS) -> super::super::Foundation::BOOL; -} -#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const CAT_MEMBERINFO2_OBJID: &str = "1.3.6.1.4.1.311.12.2.3"; +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] fn OpenPersonalTrustDBDialog ( hwndparent : super::super::Foundation:: HWND ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] fn WintrustAddDefaultForUsage ( pszusageoid : :: windows_sys::core::PCSTR , psdefusage : *const CRYPT_PROVIDER_REGDEFUSAGE ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] fn WintrustGetRegPolicyFlags ( pdwpolicyflags : *mut WINTRUST_POLICY_FLAGS ) -> ( ) ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"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_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] fn WintrustRemoveActionID ( pgactionid : *const :: windows_sys::core::GUID ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] fn WintrustSetDefaultIncludePEPageHashes ( fincludepepagehashes : super::super::Foundation:: BOOL ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] fn WintrustSetRegPolicyFlags ( dwpolicyflags : WINTRUST_POLICY_FLAGS ) -> super::super::Foundation:: BOOL ); +#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] +pub const CAT_MEMBERINFO2_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.12.2.3"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const CAT_MEMBERINFO2_STRUCT: ::windows_sys::core::PCSTR = 2223i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const CAT_MEMBERINFO_OBJID: &str = "1.3.6.1.4.1.311.12.2.2"; +pub const CAT_MEMBERINFO_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.12.2.2"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const CAT_MEMBERINFO_STRUCT: ::windows_sys::core::PCSTR = 2222i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const CAT_NAMEVALUE_OBJID: &str = "1.3.6.1.4.1.311.12.2.1"; +pub const CAT_NAMEVALUE_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.12.2.1"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const CAT_NAMEVALUE_STRUCT: ::windows_sys::core::PCSTR = 2221i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] @@ -107,29 +86,29 @@ pub const CPD_UISTATE_MODE_PROMPT: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const CPD_USE_NT5_CHAIN_FLAG: u32 = 2147483648u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const DRIVER_CLEANUPPOLICY_FUNCTION: &str = "DriverCleanupPolicy"; +pub const DRIVER_CLEANUPPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DriverCleanupPolicy"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const DRIVER_FINALPOLPROV_FUNCTION: &str = "DriverFinalPolicy"; +pub const DRIVER_FINALPOLPROV_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DriverFinalPolicy"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const DRIVER_INITPROV_FUNCTION: &str = "DriverInitializePolicy"; +pub const DRIVER_INITPROV_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DriverInitializePolicy"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const GENERIC_CHAIN_CERTTRUST_FUNCTION: &str = "GenericChainCertificateTrust"; +pub const GENERIC_CHAIN_CERTTRUST_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("GenericChainCertificateTrust"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const GENERIC_CHAIN_FINALPOLICY_FUNCTION: &str = "GenericChainFinalProv"; +pub const GENERIC_CHAIN_FINALPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("GenericChainFinalProv"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const HTTPS_CERTTRUST_FUNCTION: &str = "HTTPSCertificateTrust"; +pub const HTTPS_CERTTRUST_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HTTPSCertificateTrust"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const HTTPS_CHKCERT_FUNCTION: &str = "HTTPSCheckCertProv"; +pub const HTTPS_CHKCERT_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HTTPSCheckCertProv"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const HTTPS_FINALPOLICY_FUNCTION: &str = "HTTPSFinalProv"; +pub const HTTPS_FINALPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HTTPSFinalProv"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const INTENT_TO_SEAL_ATTRIBUTE_STRUCT: ::windows_sys::core::PCSTR = 2010i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const OFFICE_CLEANUPPOLICY_FUNCTION: &str = "OfficeCleanupPolicy"; +pub const OFFICE_CLEANUPPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OfficeCleanupPolicy"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const OFFICE_INITPROV_FUNCTION: &str = "OfficeInitializePolicy"; +pub const OFFICE_INITPROV_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OfficeInitializePolicy"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const OFFICE_POLICY_PROVIDER_DLL_NAME: &str = "WINTRUST.DLL"; +pub const OFFICE_POLICY_PROVIDER_DLL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WINTRUST.DLL"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SEALING_SIGNATURE_ATTRIBUTE_STRUCT: ::windows_sys::core::PCSTR = 2011i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] @@ -137,103 +116,103 @@ pub const SEALING_TIMESTAMP_ATTRIBUTE_STRUCT: ::windows_sys::core::PCSTR = 2012i #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SGNR_TYPE_TIMESTAMP: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_CAB_DATA_OBJID: &str = "1.3.6.1.4.1.311.2.1.25"; +pub const SPC_CAB_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.25"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SPC_CAB_DATA_STRUCT: ::windows_sys::core::PCSTR = 2008i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_CERT_EXTENSIONS_OBJID: &str = "1.3.6.1.4.1.311.2.1.14"; +pub const SPC_CERT_EXTENSIONS_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.14"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_COMMERCIAL_SP_KEY_PURPOSE_OBJID: &str = "1.3.6.1.4.1.311.2.1.22"; +pub const SPC_COMMERCIAL_SP_KEY_PURPOSE_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.22"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_COMMON_NAME_OBJID: &str = "2.5.4.3"; +pub const SPC_COMMON_NAME_OBJID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("2.5.4.3"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_ENCRYPTED_DIGEST_RETRY_COUNT_OBJID: &str = "1.3.6.1.4.1.311.2.6.2"; +pub const SPC_ENCRYPTED_DIGEST_RETRY_COUNT_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.6.2"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SPC_FILE_LINK_CHOICE: u32 = 3u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_FINANCIAL_CRITERIA_OBJID: &str = "1.3.6.1.4.1.311.2.1.27"; +pub const SPC_FINANCIAL_CRITERIA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.27"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SPC_FINANCIAL_CRITERIA_STRUCT: ::windows_sys::core::PCSTR = 2002i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_GLUE_RDN_OBJID: &str = "1.3.6.1.4.1.311.2.1.25"; +pub const SPC_GLUE_RDN_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.25"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SPC_INDIRECT_DATA_CONTENT_STRUCT: ::windows_sys::core::PCSTR = 2003i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_INDIRECT_DATA_OBJID: &str = "1.3.6.1.4.1.311.2.1.4"; +pub const SPC_INDIRECT_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.4"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_INDIVIDUAL_SP_KEY_PURPOSE_OBJID: &str = "1.3.6.1.4.1.311.2.1.21"; +pub const SPC_INDIVIDUAL_SP_KEY_PURPOSE_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.21"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_JAVA_CLASS_DATA_OBJID: &str = "1.3.6.1.4.1.311.2.1.20"; +pub const SPC_JAVA_CLASS_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.20"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SPC_JAVA_CLASS_DATA_STRUCT: ::windows_sys::core::PCSTR = 2009i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_LINK_OBJID: &str = "1.3.6.1.4.1.311.2.1.28"; +pub const SPC_LINK_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.28"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SPC_LINK_STRUCT: ::windows_sys::core::PCSTR = 2005i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_MINIMAL_CRITERIA_OBJID: &str = "1.3.6.1.4.1.311.2.1.26"; +pub const SPC_MINIMAL_CRITERIA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.26"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SPC_MINIMAL_CRITERIA_STRUCT: ::windows_sys::core::PCSTR = 2001i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SPC_MONIKER_LINK_CHOICE: u32 = 2u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_NATURAL_AUTH_PLUGIN_OBJID: &str = "1.3.6.1.4.1.311.96.1.1"; +pub const SPC_NATURAL_AUTH_PLUGIN_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.96.1.1"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_PE_IMAGE_DATA_OBJID: &str = "1.3.6.1.4.1.311.2.1.15"; +pub const SPC_PE_IMAGE_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.15"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SPC_PE_IMAGE_DATA_STRUCT: ::windows_sys::core::PCSTR = 2004i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_PE_IMAGE_PAGE_HASHES_V1_OBJID: &str = "1.3.6.1.4.1.311.2.3.1"; +pub const SPC_PE_IMAGE_PAGE_HASHES_V1_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.3.1"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_PE_IMAGE_PAGE_HASHES_V2_OBJID: &str = "1.3.6.1.4.1.311.2.3.2"; +pub const SPC_PE_IMAGE_PAGE_HASHES_V2_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.3.2"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_RAW_FILE_DATA_OBJID: &str = "1.3.6.1.4.1.311.2.1.18"; +pub const SPC_RAW_FILE_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.18"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_RELAXED_PE_MARKER_CHECK_OBJID: &str = "1.3.6.1.4.1.311.2.6.1"; +pub const SPC_RELAXED_PE_MARKER_CHECK_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.6.1"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_SIGINFO_OBJID: &str = "1.3.6.1.4.1.311.2.1.30"; +pub const SPC_SIGINFO_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.30"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SPC_SIGINFO_STRUCT: ::windows_sys::core::PCSTR = 2130i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_SP_AGENCY_INFO_OBJID: &str = "1.3.6.1.4.1.311.2.1.10"; +pub const SPC_SP_AGENCY_INFO_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.10"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SPC_SP_AGENCY_INFO_STRUCT: ::windows_sys::core::PCSTR = 2000i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_SP_OPUS_INFO_OBJID: &str = "1.3.6.1.4.1.311.2.1.12"; +pub const SPC_SP_OPUS_INFO_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.12"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SPC_SP_OPUS_INFO_STRUCT: ::windows_sys::core::PCSTR = 2007i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_STATEMENT_TYPE_OBJID: &str = "1.3.6.1.4.1.311.2.1.11"; +pub const SPC_STATEMENT_TYPE_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.11"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SPC_STATEMENT_TYPE_STRUCT: ::windows_sys::core::PCSTR = 2006i32 as _; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_STRUCTURED_STORAGE_DATA_OBJID: &str = "1.3.6.1.4.1.311.2.1.19"; +pub const SPC_STRUCTURED_STORAGE_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.19"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_TIME_STAMP_REQUEST_OBJID: &str = "1.3.6.1.4.1.311.3.2.1"; +pub const SPC_TIME_STAMP_REQUEST_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.3.2.1"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SPC_URL_LINK_CHOICE: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const SPC_UUID_LENGTH: u32 = 16u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SPC_WINDOWS_HELLO_COMPATIBILITY_OBJID: &str = "1.3.6.1.4.1.311.10.41.1"; +pub const SPC_WINDOWS_HELLO_COMPATIBILITY_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.41.1"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SP_CHKCERT_FUNCTION: &str = "SoftpubCheckCert"; +pub const SP_CHKCERT_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubCheckCert"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SP_CLEANUPPOLICY_FUNCTION: &str = "SoftpubCleanup"; +pub const SP_CLEANUPPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubCleanup"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SP_FINALPOLICY_FUNCTION: &str = "SoftpubAuthenticode"; +pub const SP_FINALPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubAuthenticode"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SP_GENERIC_CERT_INIT_FUNCTION: &str = "SoftpubDefCertInit"; +pub const SP_GENERIC_CERT_INIT_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubDefCertInit"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SP_INIT_FUNCTION: &str = "SoftpubInitialize"; +pub const SP_INIT_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubInitialize"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SP_OBJTRUST_FUNCTION: &str = "SoftpubLoadMessage"; +pub const SP_OBJTRUST_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubLoadMessage"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SP_POLICY_PROVIDER_DLL_NAME: &str = "WINTRUST.DLL"; +pub const SP_POLICY_PROVIDER_DLL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WINTRUST.DLL"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SP_SIGTRUST_FUNCTION: &str = "SoftpubLoadSignature"; +pub const SP_SIGTRUST_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubLoadSignature"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const SP_TESTDUMPPOLICY_FUNCTION_TEST: &str = "SoftpubDumpStructure"; +pub const SP_TESTDUMPPOLICY_FUNCTION_TEST: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubDumpStructure"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const TRUSTERROR_MAX_STEPS: u32 = 38u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] @@ -289,15 +268,15 @@ pub const TRUSTERROR_STEP_VERIFY_MSGINDIRECTDATA: u32 = 19u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const TRUSTERROR_STEP_WVTPARAMS: u32 = 0u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const WINTRUST_CONFIG_REGPATH: &str = "Software\\Microsoft\\Cryptography\\Wintrust\\Config"; +pub const WINTRUST_CONFIG_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Software\\Microsoft\\Cryptography\\Wintrust\\Config"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const WINTRUST_MAX_HASH_BYTES_TO_MAP_DEFAULT: u32 = 1048576u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const WINTRUST_MAX_HASH_BYTES_TO_MAP_VALUE_NAME: &str = "MaxHashBytesToMap"; +pub const WINTRUST_MAX_HASH_BYTES_TO_MAP_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxHashBytesToMap"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const WINTRUST_MAX_HEADER_BYTES_TO_MAP_DEFAULT: u32 = 10485760u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const WINTRUST_MAX_HEADER_BYTES_TO_MAP_VALUE_NAME: &str = "MaxHeaderBytesToMap"; +pub const WINTRUST_MAX_HEADER_BYTES_TO_MAP_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxHeaderBytesToMap"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const WIN_CERT_REVISION_1_0: u32 = 256u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] @@ -343,9 +322,9 @@ pub const WT_ADD_ACTION_ID_RET_RESULT_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const WT_CURRENT_VERSION: u32 = 512u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const WT_PROVIDER_CERTTRUST_FUNCTION: &str = "WintrustCertificateTrust"; +pub const WT_PROVIDER_CERTTRUST_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WintrustCertificateTrust"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const WT_PROVIDER_DLL_NAME: &str = "WINTRUST.DLL"; +pub const WT_PROVIDER_DLL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WINTRUST.DLL"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const WT_TRUSTDBDIALOG_NO_UI_FLAG: u32 = 1u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] @@ -355,23 +334,23 @@ pub const WT_TRUSTDBDIALOG_WRITE_IEAK_STORE_FLAG: u32 = 512u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub const WT_TRUSTDBDIALOG_WRITE_LEGACY_REG_FLAG: u32 = 256u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const szOID_ENHANCED_HASH: &str = "1.3.6.1.4.1.311.2.5.1"; +pub const szOID_ENHANCED_HASH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.5.1"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const szOID_INTENT_TO_SEAL: &str = "1.3.6.1.4.1.311.2.4.2"; +pub const szOID_INTENT_TO_SEAL: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.4.2"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const szOID_NESTED_SIGNATURE: &str = "1.3.6.1.4.1.311.2.4.1"; +pub const szOID_NESTED_SIGNATURE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.4.1"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const szOID_PKCS_9_SEQUENCE_NUMBER: &str = "1.2.840.113549.1.9.25.4"; +pub const szOID_PKCS_9_SEQUENCE_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.25.4"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const szOID_SEALING_SIGNATURE: &str = "1.3.6.1.4.1.311.2.4.3"; +pub const szOID_SEALING_SIGNATURE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.4.3"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const szOID_SEALING_TIMESTAMP: &str = "1.3.6.1.4.1.311.2.4.4"; +pub const szOID_SEALING_TIMESTAMP: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.4.4"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const szOID_TRUSTED_CLIENT_AUTH_CA_LIST: &str = "1.3.6.1.4.1.311.2.2.2"; +pub const szOID_TRUSTED_CLIENT_AUTH_CA_LIST: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.2.2"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const szOID_TRUSTED_CODESIGNING_CA_LIST: &str = "1.3.6.1.4.1.311.2.2.1"; +pub const szOID_TRUSTED_CODESIGNING_CA_LIST: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.2.1"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub const szOID_TRUSTED_SERVER_AUTH_CA_LIST: &str = "1.3.6.1.4.1.311.2.2.3"; +pub const szOID_TRUSTED_SERVER_AUTH_CA_LIST: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.2.3"); #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub type WINTRUST_DATA_PROVIDER_FLAGS = u32; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] @@ -514,7 +493,7 @@ impl ::core::clone::Clone for CAT_MEMBERINFO2 { pub struct CAT_NAMEVALUE { pub pwszTag: ::windows_sys::core::PWSTR, pub fdwFlags: u32, - pub Value: super::Cryptography::CRYPTOAPI_BLOB, + pub Value: super::Cryptography::CRYPT_INTEGER_BLOB, } #[cfg(feature = "Win32_Security_Cryptography")] impl ::core::marker::Copy for CAT_NAMEVALUE {} @@ -530,7 +509,7 @@ impl ::core::clone::Clone for CAT_NAMEVALUE { pub struct CONFIG_CI_PROV_INFO { pub cbSize: u32, pub dwPolicies: u32, - pub pPolicies: *mut super::Cryptography::CRYPTOAPI_BLOB, + pub pPolicies: *mut super::Cryptography::CRYPT_INTEGER_BLOB, pub result: CONFIG_CI_PROV_INFO_RESULT, pub dwScenario: u32, } @@ -916,7 +895,7 @@ pub struct SEALING_SIGNATURE_ATTRIBUTE { pub version: u32, pub signerIndex: u32, pub signatureAlgorithm: super::Cryptography::CRYPT_ALGORITHM_IDENTIFIER, - pub encryptedDigest: super::Cryptography::CRYPTOAPI_BLOB, + pub encryptedDigest: super::Cryptography::CRYPT_INTEGER_BLOB, } #[cfg(feature = "Win32_Security_Cryptography")] impl ::core::marker::Copy for SEALING_SIGNATURE_ATTRIBUTE {} @@ -932,7 +911,7 @@ impl ::core::clone::Clone for SEALING_SIGNATURE_ATTRIBUTE { pub struct SEALING_TIMESTAMP_ATTRIBUTE { pub version: u32, pub signerIndex: u32, - pub sealTimeStampToken: super::Cryptography::CRYPTOAPI_BLOB, + pub sealTimeStampToken: super::Cryptography::CRYPT_INTEGER_BLOB, } #[cfg(feature = "Win32_Security_Cryptography")] impl ::core::marker::Copy for SEALING_TIMESTAMP_ATTRIBUTE {} @@ -962,10 +941,10 @@ impl ::core::clone::Clone for SPC_FINANCIAL_CRITERIA { #[cfg(feature = "Win32_Security_Cryptography")] pub struct SPC_IMAGE { pub pImageLink: *mut SPC_LINK, - pub Bitmap: super::Cryptography::CRYPTOAPI_BLOB, - pub Metafile: super::Cryptography::CRYPTOAPI_BLOB, - pub EnhancedMetafile: super::Cryptography::CRYPTOAPI_BLOB, - pub GifFile: super::Cryptography::CRYPTOAPI_BLOB, + 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 {} @@ -981,7 +960,7 @@ impl ::core::clone::Clone for SPC_IMAGE { pub struct SPC_INDIRECT_DATA_CONTENT { pub Data: super::Cryptography::CRYPT_ATTRIBUTE_TYPE_VALUE, pub DigestAlgorithm: super::Cryptography::CRYPT_ALGORITHM_IDENTIFIER, - pub Digest: super::Cryptography::CRYPTOAPI_BLOB, + pub Digest: super::Cryptography::CRYPT_INTEGER_BLOB, } #[cfg(feature = "Win32_Security_Cryptography")] impl ::core::marker::Copy for SPC_INDIRECT_DATA_CONTENT {} @@ -1042,7 +1021,7 @@ impl ::core::clone::Clone for SPC_PE_IMAGE_DATA { #[cfg(feature = "Win32_Security_Cryptography")] pub struct SPC_SERIALIZED_OBJECT { pub ClassId: [u8; 16], - pub SerializedData: super::Cryptography::CRYPTOAPI_BLOB, + pub SerializedData: super::Cryptography::CRYPT_INTEGER_BLOB, } #[cfg(feature = "Win32_Security_Cryptography")] impl ::core::marker::Copy for SPC_SERIALIZED_OBJECT {} @@ -1479,7 +1458,7 @@ pub type PFN_CPD_ADD_STORE = ::core::option::Option<unsafe extern "system" fn(pp #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] pub type PFN_CPD_MEM_ALLOC = ::core::option::Option<unsafe extern "system" fn(cbsize: u32) -> *mut ::core::ffi::c_void>; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] -pub type PFN_CPD_MEM_FREE = ::core::option::Option<unsafe extern "system" fn(pvmem2free: *const ::core::ffi::c_void)>; +pub type PFN_CPD_MEM_FREE = ::core::option::Option<unsafe extern "system" fn(pvmem2free: *const ::core::ffi::c_void) -> ()>; #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PFN_FREEDEFUSAGE = ::core::option::Option<unsafe extern "system" fn(pszusageoid: ::windows_sys::core::PCSTR, psdefusage: *const CRYPT_PROVIDER_DEFUSAGE) -> super::super::Foundation::BOOL>; diff --git a/vendor/windows-sys/src/Windows/Win32/Security/WinWlx/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/WinWlx/mod.rs index f1a48c9bf..fe2fb0612 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/WinWlx/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/WinWlx/mod.rs @@ -532,10 +532,10 @@ pub type PWLX_QUERY_TERMINAL_SERVICES_DATA = ::core::option::Option<unsafe exter pub type PWLX_QUERY_TS_LOGON_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(pcred: *mut WLX_CLIENT_CREDENTIALS_INFO_V2_0) -> super::super::Foundation::BOOL>; #[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PWLX_SAS_NOTIFY = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, dwsastype: u32)>; +pub type PWLX_SAS_NOTIFY = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, dwsastype: u32) -> ()>; #[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PWLX_SET_CONTEXT_POINTER = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, pwlxcontext: *mut ::core::ffi::c_void)>; +pub type PWLX_SET_CONTEXT_POINTER = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, pwlxcontext: *mut ::core::ffi::c_void) -> ()>; #[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub type PWLX_SET_OPTION = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, option: u32, value: usize, oldvalue: *mut usize) -> super::super::Foundation::BOOL>; @@ -553,7 +553,7 @@ pub type PWLX_SWITCH_DESKTOP_TO_USER = ::core::option::Option<unsafe extern "sys pub type PWLX_SWITCH_DESKTOP_TO_WINLOGON = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE) -> i32>; #[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PWLX_USE_CTRL_ALT_DEL = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE)>; +pub type PWLX_USE_CTRL_ALT_DEL = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE) -> ()>; #[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] -pub type PWLX_WIN31_MIGRATE = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE)>; +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 index 989a58be2..6cc99c06f 100644 --- a/vendor/windows-sys/src/Windows/Win32/Security/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Security/mod.rs @@ -30,453 +30,323 @@ pub mod Tpm; pub mod WinTrust; #[cfg(feature = "Win32_Security_WinWlx")] pub mod WinWlx; -#[cfg_attr(windows, link(name = "windows"))] -extern "system" { - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AccessCheck(psecuritydescriptor: PSECURITY_DESCRIPTOR, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, genericmapping: *const GENERIC_MAPPING, privilegeset: *mut PRIVILEGE_SET, privilegesetlength: *mut u32, grantedaccess: *mut u32, accessstatus: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AccessCheckAndAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCSTR, objectname: ::windows_sys::core::PCSTR, securitydescriptor: PSECURITY_DESCRIPTOR, desiredaccess: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AccessCheckAndAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCWSTR, objectname: ::windows_sys::core::PCWSTR, securitydescriptor: PSECURITY_DESCRIPTOR, desiredaccess: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AccessCheckByType(psecuritydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, privilegeset: *mut PRIVILEGE_SET, privilegesetlength: *mut u32, grantedaccess: *mut u32, accessstatus: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AccessCheckByTypeAndAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCSTR, objectname: ::windows_sys::core::PCSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AccessCheckByTypeAndAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCWSTR, objectname: ::windows_sys::core::PCWSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AccessCheckByTypeResultList(psecuritydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, privilegeset: *mut PRIVILEGE_SET, privilegesetlength: *mut u32, grantedaccesslist: *mut u32, accessstatuslist: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AccessCheckByTypeResultListAndAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCSTR, objectname: ::windows_sys::core::PCSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AccessCheckByTypeResultListAndAuditAlarmByHandleA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, clienttoken: super::Foundation::HANDLE, objecttypename: ::windows_sys::core::PCSTR, objectname: ::windows_sys::core::PCSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AccessCheckByTypeResultListAndAuditAlarmByHandleW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, clienttoken: super::Foundation::HANDLE, objecttypename: ::windows_sys::core::PCWSTR, objectname: ::windows_sys::core::PCWSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccesslist: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AccessCheckByTypeResultListAndAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCWSTR, objectname: ::windows_sys::core::PCWSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccesslist: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AddAccessAllowedAce(pacl: *mut ACL, dwacerevision: u32, accessmask: u32, psid: super::Foundation::PSID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AddAccessAllowedAceEx(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, psid: super::Foundation::PSID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AddAccessAllowedObjectAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, objecttypeguid: *const ::windows_sys::core::GUID, inheritedobjecttypeguid: *const ::windows_sys::core::GUID, psid: super::Foundation::PSID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AddAccessDeniedAce(pacl: *mut ACL, dwacerevision: u32, accessmask: u32, psid: super::Foundation::PSID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AddAccessDeniedAceEx(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, psid: super::Foundation::PSID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AddAccessDeniedObjectAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, objecttypeguid: *const ::windows_sys::core::GUID, inheritedobjecttypeguid: *const ::windows_sys::core::GUID, psid: super::Foundation::PSID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AddAce(pacl: *mut ACL, dwacerevision: u32, dwstartingaceindex: u32, pacelist: *const ::core::ffi::c_void, nacelistlength: u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AddAuditAccessAce(pacl: *mut ACL, dwacerevision: u32, dwaccessmask: u32, psid: super::Foundation::PSID, bauditsuccess: super::Foundation::BOOL, bauditfailure: super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AddAuditAccessAceEx(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, dwaccessmask: u32, psid: super::Foundation::PSID, bauditsuccess: super::Foundation::BOOL, bauditfailure: super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AddAuditAccessObjectAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, objecttypeguid: *const ::windows_sys::core::GUID, inheritedobjecttypeguid: *const ::windows_sys::core::GUID, psid: super::Foundation::PSID, bauditsuccess: super::Foundation::BOOL, bauditfailure: super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AddConditionalAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, acetype: u8, accessmask: u32, psid: super::Foundation::PSID, conditionstr: ::windows_sys::core::PCWSTR, returnlength: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AddMandatoryAce(pacl: *mut ACL, dwacerevision: ACE_REVISION, aceflags: ACE_FLAGS, mandatorypolicy: u32, plabelsid: super::Foundation::PSID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AddResourceAttributeAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, psid: super::Foundation::PSID, pattributeinfo: *const CLAIM_SECURITY_ATTRIBUTES_INFORMATION, preturnlength: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AddScopedPolicyIDAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, psid: super::Foundation::PSID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AdjustTokenGroups(tokenhandle: super::Foundation::HANDLE, resettodefault: super::Foundation::BOOL, newstate: *const TOKEN_GROUPS, bufferlength: u32, previousstate: *mut TOKEN_GROUPS, returnlength: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AdjustTokenPrivileges(tokenhandle: super::Foundation::HANDLE, disableallprivileges: super::Foundation::BOOL, newstate: *const TOKEN_PRIVILEGES, bufferlength: u32, previousstate: *mut TOKEN_PRIVILEGES, returnlength: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AllocateAndInitializeSid(pidentifierauthority: *const SID_IDENTIFIER_AUTHORITY, nsubauthoritycount: u8, nsubauthority0: u32, nsubauthority1: u32, nsubauthority2: u32, nsubauthority3: u32, nsubauthority4: u32, nsubauthority5: u32, nsubauthority6: u32, nsubauthority7: u32, psid: *mut super::Foundation::PSID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AllocateLocallyUniqueId(luid: *mut super::Foundation::LUID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AreAllAccessesGranted(grantedaccess: u32, desiredaccess: u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn AreAnyAccessesGranted(grantedaccess: u32, desiredaccess: u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CheckTokenCapability(tokenhandle: super::Foundation::HANDLE, capabilitysidtocheck: super::Foundation::PSID, hascapability: *mut super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CheckTokenMembership(tokenhandle: super::Foundation::HANDLE, sidtocheck: super::Foundation::PSID, ismember: *mut super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CheckTokenMembershipEx(tokenhandle: super::Foundation::HANDLE, sidtocheck: super::Foundation::PSID, flags: u32, ismember: *mut super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ConvertToAutoInheritPrivateObjectSecurity(parentdescriptor: PSECURITY_DESCRIPTOR, currentsecuritydescriptor: PSECURITY_DESCRIPTOR, newsecuritydescriptor: *mut PSECURITY_DESCRIPTOR, objecttype: *const ::windows_sys::core::GUID, isdirectoryobject: super::Foundation::BOOLEAN, genericmapping: *const GENERIC_MAPPING) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CopySid(ndestinationsidlength: u32, pdestinationsid: super::Foundation::PSID, psourcesid: super::Foundation::PSID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CreatePrivateObjectSecurity(parentdescriptor: PSECURITY_DESCRIPTOR, creatordescriptor: PSECURITY_DESCRIPTOR, newdescriptor: *mut PSECURITY_DESCRIPTOR, isdirectoryobject: super::Foundation::BOOL, token: super::Foundation::HANDLE, genericmapping: *const GENERIC_MAPPING) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CreatePrivateObjectSecurityEx(parentdescriptor: PSECURITY_DESCRIPTOR, creatordescriptor: PSECURITY_DESCRIPTOR, newdescriptor: *mut PSECURITY_DESCRIPTOR, objecttype: *const ::windows_sys::core::GUID, iscontainerobject: super::Foundation::BOOL, autoinheritflags: SECURITY_AUTO_INHERIT_FLAGS, token: super::Foundation::HANDLE, genericmapping: *const GENERIC_MAPPING) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CreatePrivateObjectSecurityWithMultipleInheritance(parentdescriptor: PSECURITY_DESCRIPTOR, creatordescriptor: PSECURITY_DESCRIPTOR, newdescriptor: *mut PSECURITY_DESCRIPTOR, objecttypes: *const *const ::windows_sys::core::GUID, guidcount: u32, iscontainerobject: super::Foundation::BOOL, autoinheritflags: SECURITY_AUTO_INHERIT_FLAGS, token: super::Foundation::HANDLE, genericmapping: *const GENERIC_MAPPING) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CreateRestrictedToken(existingtokenhandle: super::Foundation::HANDLE, flags: CREATE_RESTRICTED_TOKEN_FLAGS, disablesidcount: u32, sidstodisable: *const SID_AND_ATTRIBUTES, deleteprivilegecount: u32, privilegestodelete: *const LUID_AND_ATTRIBUTES, restrictedsidcount: u32, sidstorestrict: *const SID_AND_ATTRIBUTES, newtokenhandle: *mut super::Foundation::HANDLE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn CreateWellKnownSid(wellknownsidtype: WELL_KNOWN_SID_TYPE, domainsid: super::Foundation::PSID, psid: super::Foundation::PSID, cbsid: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DeleteAce(pacl: *mut ACL, dwaceindex: u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DeriveCapabilitySidsFromName(capname: ::windows_sys::core::PCWSTR, capabilitygroupsids: *mut *mut super::Foundation::PSID, capabilitygroupsidcount: *mut u32, capabilitysids: *mut *mut super::Foundation::PSID, capabilitysidcount: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DestroyPrivateObjectSecurity(objectdescriptor: *const PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DuplicateToken(existingtokenhandle: super::Foundation::HANDLE, impersonationlevel: SECURITY_IMPERSONATION_LEVEL, duplicatetokenhandle: *mut super::Foundation::HANDLE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn DuplicateTokenEx(hexistingtoken: super::Foundation::HANDLE, dwdesiredaccess: TOKEN_ACCESS_MASK, lptokenattributes: *const SECURITY_ATTRIBUTES, impersonationlevel: SECURITY_IMPERSONATION_LEVEL, tokentype: TOKEN_TYPE, phnewtoken: *mut super::Foundation::HANDLE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn EqualDomainSid(psid1: super::Foundation::PSID, psid2: super::Foundation::PSID, pfequal: *mut super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn EqualPrefixSid(psid1: super::Foundation::PSID, psid2: super::Foundation::PSID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn EqualSid(psid1: super::Foundation::PSID, psid2: super::Foundation::PSID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn FindFirstFreeAce(pacl: *const ACL, pace: *mut *mut ::core::ffi::c_void) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn FreeSid(psid: super::Foundation::PSID) -> *mut ::core::ffi::c_void; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetAce(pacl: *const ACL, dwaceindex: u32, pace: *mut *mut ::core::ffi::c_void) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetAclInformation(pacl: *const ACL, paclinformation: *mut ::core::ffi::c_void, naclinformationlength: u32, dwaclinformationclass: ACL_INFORMATION_CLASS) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetAppContainerAce(acl: *const ACL, startingaceindex: u32, appcontainerace: *mut *mut ::core::ffi::c_void, appcontaineraceindex: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetCachedSigningLevel(file: super::Foundation::HANDLE, flags: *mut u32, signinglevel: *mut u32, thumbprint: *mut u8, thumbprintsize: *mut u32, thumbprintalgorithm: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetFileSecurityA(lpfilename: ::windows_sys::core::PCSTR, requestedinformation: u32, psecuritydescriptor: PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetFileSecurityW(lpfilename: ::windows_sys::core::PCWSTR, requestedinformation: u32, psecuritydescriptor: PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetKernelObjectSecurity(handle: super::Foundation::HANDLE, requestedinformation: u32, psecuritydescriptor: PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetLengthSid(psid: super::Foundation::PSID) -> u32; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetPrivateObjectSecurity(objectdescriptor: PSECURITY_DESCRIPTOR, securityinformation: u32, resultantdescriptor: PSECURITY_DESCRIPTOR, descriptorlength: u32, returnlength: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetSecurityDescriptorControl(psecuritydescriptor: PSECURITY_DESCRIPTOR, pcontrol: *mut u16, lpdwrevision: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetSecurityDescriptorDacl(psecuritydescriptor: PSECURITY_DESCRIPTOR, lpbdaclpresent: *mut i32, pdacl: *mut *mut ACL, lpbdacldefaulted: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetSecurityDescriptorGroup(psecuritydescriptor: PSECURITY_DESCRIPTOR, pgroup: *mut super::Foundation::PSID, lpbgroupdefaulted: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`*"] - pub fn GetSecurityDescriptorLength(psecuritydescriptor: PSECURITY_DESCRIPTOR) -> u32; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetSecurityDescriptorOwner(psecuritydescriptor: PSECURITY_DESCRIPTOR, powner: *mut super::Foundation::PSID, lpbownerdefaulted: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`*"] - pub fn GetSecurityDescriptorRMControl(securitydescriptor: PSECURITY_DESCRIPTOR, rmcontrol: *mut u8) -> u32; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetSecurityDescriptorSacl(psecuritydescriptor: PSECURITY_DESCRIPTOR, lpbsaclpresent: *mut i32, psacl: *mut *mut ACL, lpbsacldefaulted: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetSidIdentifierAuthority(psid: super::Foundation::PSID) -> *mut SID_IDENTIFIER_AUTHORITY; - #[doc = "*Required features: `\"Win32_Security\"`*"] - pub fn GetSidLengthRequired(nsubauthoritycount: u8) -> u32; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetSidSubAuthority(psid: super::Foundation::PSID, nsubauthority: u32) -> *mut u32; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetSidSubAuthorityCount(psid: super::Foundation::PSID) -> *mut u8; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetTokenInformation(tokenhandle: super::Foundation::HANDLE, tokeninformationclass: TOKEN_INFORMATION_CLASS, tokeninformation: *mut ::core::ffi::c_void, tokeninformationlength: u32, returnlength: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetUserObjectSecurity(hobj: super::Foundation::HANDLE, psirequested: *const u32, psid: PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn GetWindowsAccountDomainSid(psid: super::Foundation::PSID, pdomainsid: super::Foundation::PSID, cbdomainsid: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ImpersonateAnonymousToken(threadhandle: super::Foundation::HANDLE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ImpersonateLoggedOnUser(htoken: super::Foundation::HANDLE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ImpersonateSelf(impersonationlevel: SECURITY_IMPERSONATION_LEVEL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn InitializeAcl(pacl: *mut ACL, nacllength: u32, dwaclrevision: u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn InitializeSecurityDescriptor(psecuritydescriptor: PSECURITY_DESCRIPTOR, dwrevision: u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn InitializeSid(sid: super::Foundation::PSID, pidentifierauthority: *const SID_IDENTIFIER_AUTHORITY, nsubauthoritycount: u8) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn IsTokenRestricted(tokenhandle: super::Foundation::HANDLE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn IsValidAcl(pacl: *const ACL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn IsValidSecurityDescriptor(psecuritydescriptor: PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn IsValidSid(psid: super::Foundation::PSID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn IsWellKnownSid(psid: super::Foundation::PSID, wellknownsidtype: WELL_KNOWN_SID_TYPE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LogonUserA(lpszusername: ::windows_sys::core::PCSTR, lpszdomain: ::windows_sys::core::PCSTR, lpszpassword: ::windows_sys::core::PCSTR, dwlogontype: LOGON32_LOGON, dwlogonprovider: LOGON32_PROVIDER, phtoken: *mut super::Foundation::HANDLE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LogonUserExA(lpszusername: ::windows_sys::core::PCSTR, lpszdomain: ::windows_sys::core::PCSTR, lpszpassword: ::windows_sys::core::PCSTR, dwlogontype: LOGON32_LOGON, dwlogonprovider: LOGON32_PROVIDER, phtoken: *mut super::Foundation::HANDLE, pplogonsid: *mut super::Foundation::PSID, ppprofilebuffer: *mut *mut ::core::ffi::c_void, pdwprofilelength: *mut u32, pquotalimits: *mut QUOTA_LIMITS) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LogonUserExW(lpszusername: ::windows_sys::core::PCWSTR, lpszdomain: ::windows_sys::core::PCWSTR, lpszpassword: ::windows_sys::core::PCWSTR, dwlogontype: LOGON32_LOGON, dwlogonprovider: LOGON32_PROVIDER, phtoken: *mut super::Foundation::HANDLE, pplogonsid: *mut super::Foundation::PSID, ppprofilebuffer: *mut *mut ::core::ffi::c_void, pdwprofilelength: *mut u32, pquotalimits: *mut QUOTA_LIMITS) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LogonUserW(lpszusername: ::windows_sys::core::PCWSTR, lpszdomain: ::windows_sys::core::PCWSTR, lpszpassword: ::windows_sys::core::PCWSTR, dwlogontype: LOGON32_LOGON, dwlogonprovider: LOGON32_PROVIDER, phtoken: *mut super::Foundation::HANDLE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LookupAccountNameA(lpsystemname: ::windows_sys::core::PCSTR, lpaccountname: ::windows_sys::core::PCSTR, sid: super::Foundation::PSID, cbsid: *mut u32, referenceddomainname: ::windows_sys::core::PSTR, cchreferenceddomainname: *mut u32, peuse: *mut SID_NAME_USE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LookupAccountNameW(lpsystemname: ::windows_sys::core::PCWSTR, lpaccountname: ::windows_sys::core::PCWSTR, sid: super::Foundation::PSID, cbsid: *mut u32, referenceddomainname: ::windows_sys::core::PWSTR, cchreferenceddomainname: *mut u32, peuse: *mut SID_NAME_USE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LookupAccountSidA(lpsystemname: ::windows_sys::core::PCSTR, sid: super::Foundation::PSID, name: ::windows_sys::core::PSTR, cchname: *mut u32, referenceddomainname: ::windows_sys::core::PSTR, cchreferenceddomainname: *mut u32, peuse: *mut SID_NAME_USE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LookupAccountSidW(lpsystemname: ::windows_sys::core::PCWSTR, sid: super::Foundation::PSID, name: ::windows_sys::core::PWSTR, cchname: *mut u32, referenceddomainname: ::windows_sys::core::PWSTR, cchreferenceddomainname: *mut u32, peuse: *mut SID_NAME_USE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LookupPrivilegeDisplayNameA(lpsystemname: ::windows_sys::core::PCSTR, lpname: ::windows_sys::core::PCSTR, lpdisplayname: ::windows_sys::core::PSTR, cchdisplayname: *mut u32, lplanguageid: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LookupPrivilegeDisplayNameW(lpsystemname: ::windows_sys::core::PCWSTR, lpname: ::windows_sys::core::PCWSTR, lpdisplayname: ::windows_sys::core::PWSTR, cchdisplayname: *mut u32, lplanguageid: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LookupPrivilegeNameA(lpsystemname: ::windows_sys::core::PCSTR, lpluid: *const super::Foundation::LUID, lpname: ::windows_sys::core::PSTR, cchname: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LookupPrivilegeNameW(lpsystemname: ::windows_sys::core::PCWSTR, lpluid: *const super::Foundation::LUID, lpname: ::windows_sys::core::PWSTR, cchname: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LookupPrivilegeValueA(lpsystemname: ::windows_sys::core::PCSTR, lpname: ::windows_sys::core::PCSTR, lpluid: *mut super::Foundation::LUID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn LookupPrivilegeValueW(lpsystemname: ::windows_sys::core::PCWSTR, lpname: ::windows_sys::core::PCWSTR, lpluid: *mut super::Foundation::LUID) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn MakeAbsoluteSD(pselfrelativesecuritydescriptor: PSECURITY_DESCRIPTOR, pabsolutesecuritydescriptor: PSECURITY_DESCRIPTOR, lpdwabsolutesecuritydescriptorsize: *mut u32, pdacl: *mut ACL, lpdwdaclsize: *mut u32, psacl: *mut ACL, lpdwsaclsize: *mut u32, powner: super::Foundation::PSID, lpdwownersize: *mut u32, pprimarygroup: super::Foundation::PSID, lpdwprimarygroupsize: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn MakeSelfRelativeSD(pabsolutesecuritydescriptor: PSECURITY_DESCRIPTOR, pselfrelativesecuritydescriptor: PSECURITY_DESCRIPTOR, lpdwbufferlength: *mut u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`*"] - pub fn MapGenericMask(accessmask: *mut u32, genericmapping: *const GENERIC_MAPPING); - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ObjectCloseAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, generateonclose: super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ObjectCloseAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, generateonclose: super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ObjectDeleteAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, generateonclose: super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ObjectDeleteAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, generateonclose: super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ObjectOpenAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCSTR, objectname: ::windows_sys::core::PCSTR, psecuritydescriptor: PSECURITY_DESCRIPTOR, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, grantedaccess: u32, privileges: *const PRIVILEGE_SET, objectcreation: super::Foundation::BOOL, accessgranted: super::Foundation::BOOL, generateonclose: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ObjectOpenAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCWSTR, objectname: ::windows_sys::core::PCWSTR, psecuritydescriptor: PSECURITY_DESCRIPTOR, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, grantedaccess: u32, privileges: *const PRIVILEGE_SET, objectcreation: super::Foundation::BOOL, accessgranted: super::Foundation::BOOL, generateonclose: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ObjectPrivilegeAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, privileges: *const PRIVILEGE_SET, accessgranted: super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn ObjectPrivilegeAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, privileges: *const PRIVILEGE_SET, accessgranted: super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn PrivilegeCheck(clienttoken: super::Foundation::HANDLE, requiredprivileges: *mut PRIVILEGE_SET, pfresult: *mut i32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn PrivilegedServiceAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, servicename: ::windows_sys::core::PCSTR, clienttoken: super::Foundation::HANDLE, privileges: *const PRIVILEGE_SET, accessgranted: super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn PrivilegedServiceAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, servicename: ::windows_sys::core::PCWSTR, clienttoken: super::Foundation::HANDLE, privileges: *const PRIVILEGE_SET, accessgranted: super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`*"] - pub fn QuerySecurityAccessMask(securityinformation: u32, desiredaccess: *mut u32); - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RevertToSelf() -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RtlConvertSidToUnicodeString(unicodestring: *mut super::Foundation::UNICODE_STRING, sid: super::Foundation::PSID, allocatedestinationstring: super::Foundation::BOOLEAN) -> super::Foundation::NTSTATUS; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn RtlNormalizeSecurityDescriptor(securitydescriptor: *mut PSECURITY_DESCRIPTOR, securitydescriptorlength: u32, newsecuritydescriptor: *mut PSECURITY_DESCRIPTOR, newsecuritydescriptorlength: *mut u32, checkonly: super::Foundation::BOOLEAN) -> super::Foundation::BOOLEAN; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetAclInformation(pacl: *mut ACL, paclinformation: *const ::core::ffi::c_void, naclinformationlength: u32, dwaclinformationclass: ACL_INFORMATION_CLASS) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetCachedSigningLevel(sourcefiles: *const super::Foundation::HANDLE, sourcefilecount: u32, flags: u32, targetfile: super::Foundation::HANDLE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetFileSecurityA(lpfilename: ::windows_sys::core::PCSTR, securityinformation: u32, psecuritydescriptor: PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetFileSecurityW(lpfilename: ::windows_sys::core::PCWSTR, securityinformation: u32, psecuritydescriptor: PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetKernelObjectSecurity(handle: super::Foundation::HANDLE, securityinformation: u32, securitydescriptor: PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetPrivateObjectSecurity(securityinformation: u32, modificationdescriptor: PSECURITY_DESCRIPTOR, objectssecuritydescriptor: *mut PSECURITY_DESCRIPTOR, genericmapping: *const GENERIC_MAPPING, token: super::Foundation::HANDLE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetPrivateObjectSecurityEx(securityinformation: u32, modificationdescriptor: PSECURITY_DESCRIPTOR, objectssecuritydescriptor: *mut PSECURITY_DESCRIPTOR, autoinheritflags: SECURITY_AUTO_INHERIT_FLAGS, genericmapping: *const GENERIC_MAPPING, token: super::Foundation::HANDLE) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`*"] - pub fn SetSecurityAccessMask(securityinformation: u32, desiredaccess: *mut u32); - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetSecurityDescriptorControl(psecuritydescriptor: PSECURITY_DESCRIPTOR, controlbitsofinterest: u16, controlbitstoset: u16) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetSecurityDescriptorDacl(psecuritydescriptor: PSECURITY_DESCRIPTOR, bdaclpresent: super::Foundation::BOOL, pdacl: *const ACL, bdacldefaulted: super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetSecurityDescriptorGroup(psecuritydescriptor: PSECURITY_DESCRIPTOR, pgroup: super::Foundation::PSID, bgroupdefaulted: super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetSecurityDescriptorOwner(psecuritydescriptor: PSECURITY_DESCRIPTOR, powner: super::Foundation::PSID, bownerdefaulted: super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`*"] - pub fn SetSecurityDescriptorRMControl(securitydescriptor: PSECURITY_DESCRIPTOR, rmcontrol: *const u8) -> u32; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetSecurityDescriptorSacl(psecuritydescriptor: PSECURITY_DESCRIPTOR, bsaclpresent: super::Foundation::BOOL, psacl: *const ACL, bsacldefaulted: super::Foundation::BOOL) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetTokenInformation(tokenhandle: super::Foundation::HANDLE, tokeninformationclass: TOKEN_INFORMATION_CLASS, tokeninformation: *const ::core::ffi::c_void, tokeninformationlength: u32) -> super::Foundation::BOOL; - #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] - #[cfg(feature = "Win32_Foundation")] - pub fn SetUserObjectSecurity(hobj: super::Foundation::HANDLE, psirequested: *const OBJECT_SECURITY_INFORMATION, psid: PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL; -} +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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 i32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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 i32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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 i32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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 i32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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 i32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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 i32 , pfgenerateonclose : *mut i32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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 i32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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 i32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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 i32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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 i32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AddAccessAllowedAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , accessmask : u32 , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AddAccessDeniedAce ( pacl : *mut ACL , dwacerevision : ACE_REVISION , accessmask : u32 , psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AllocateLocallyUniqueId ( luid : *mut super::Foundation:: LUID ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AreAllAccessesGranted ( grantedaccess : u32 , desiredaccess : u32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn AreAnyAccessesGranted ( grantedaccess : u32 , desiredaccess : u32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn CopySid ( ndestinationsidlength : u32 , pdestinationsid : super::Foundation:: PSID , psourcesid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn DeleteAce ( pacl : *mut ACL , dwaceindex : u32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "api-ms-win-security-base-l1-2-2.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn DestroyPrivateObjectSecurity ( objectdescriptor : *const PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn EqualPrefixSid ( psid1 : super::Foundation:: PSID , psid2 : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn EqualSid ( psid1 : super::Foundation:: PSID , psid2 : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn FindFirstFreeAce ( pacl : *const ACL , pace : *mut *mut ::core::ffi::c_void ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn FreeSid ( psid : super::Foundation:: PSID ) -> *mut ::core::ffi::c_void ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetAce ( pacl : *const ACL , dwaceindex : u32 , pace : *mut *mut ::core::ffi::c_void ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetLengthSid ( psid : super::Foundation:: PSID ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetPrivateObjectSecurity ( objectdescriptor : PSECURITY_DESCRIPTOR , securityinformation : u32 , resultantdescriptor : PSECURITY_DESCRIPTOR , descriptorlength : u32 , returnlength : *mut u32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSecurityDescriptorControl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , pcontrol : *mut u16 , lpdwrevision : *mut u32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSecurityDescriptorDacl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , lpbdaclpresent : *mut i32 , pdacl : *mut *mut ACL , lpbdacldefaulted : *mut i32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSecurityDescriptorGroup ( psecuritydescriptor : PSECURITY_DESCRIPTOR , pgroup : *mut super::Foundation:: PSID , lpbgroupdefaulted : *mut i32 ) -> super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`*"] fn GetSecurityDescriptorLength ( psecuritydescriptor : PSECURITY_DESCRIPTOR ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSecurityDescriptorOwner ( psecuritydescriptor : PSECURITY_DESCRIPTOR , powner : *mut super::Foundation:: PSID , lpbownerdefaulted : *mut i32 ) -> super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`*"] fn GetSecurityDescriptorRMControl ( securitydescriptor : PSECURITY_DESCRIPTOR , rmcontrol : *mut u8 ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSecurityDescriptorSacl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , lpbsaclpresent : *mut i32 , psacl : *mut *mut ACL , lpbsacldefaulted : *mut i32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSidIdentifierAuthority ( psid : super::Foundation:: PSID ) -> *mut SID_IDENTIFIER_AUTHORITY ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`*"] fn GetSidLengthRequired ( nsubauthoritycount : u8 ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSidSubAuthority ( psid : super::Foundation:: PSID , nsubauthority : u32 ) -> *mut u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetSidSubAuthorityCount ( psid : super::Foundation:: PSID ) -> *mut u8 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "user32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn GetWindowsAccountDomainSid ( psid : super::Foundation:: PSID , pdomainsid : super::Foundation:: PSID , cbdomainsid : *mut u32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn ImpersonateAnonymousToken ( threadhandle : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn ImpersonateLoggedOnUser ( htoken : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn ImpersonateSelf ( impersonationlevel : SECURITY_IMPERSONATION_LEVEL ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn InitializeAcl ( pacl : *mut ACL , nacllength : u32 , dwaclrevision : ACE_REVISION ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn InitializeSecurityDescriptor ( psecuritydescriptor : PSECURITY_DESCRIPTOR , dwrevision : u32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn InitializeSid ( sid : super::Foundation:: PSID , pidentifierauthority : *const SID_IDENTIFIER_AUTHORITY , nsubauthoritycount : u8 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn IsTokenRestricted ( tokenhandle : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn IsValidAcl ( pacl : *const ACL ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn IsValidSecurityDescriptor ( psecuritydescriptor : PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn IsValidSid ( psid : super::Foundation:: PSID ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn IsWellKnownSid ( psid : super::Foundation:: PSID , wellknownsidtype : WELL_KNOWN_SID_TYPE ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn MakeSelfRelativeSD ( pabsolutesecuritydescriptor : PSECURITY_DESCRIPTOR , pselfrelativesecuritydescriptor : PSECURITY_DESCRIPTOR , lpdwbufferlength : *mut u32 ) -> super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`*"] fn MapGenericMask ( accessmask : *mut u32 , genericmapping : *const GENERIC_MAPPING ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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 i32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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 i32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn PrivilegeCheck ( clienttoken : super::Foundation:: HANDLE , requiredprivileges : *mut PRIVILEGE_SET , pfresult : *mut i32 ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`*"] fn QuerySecurityAccessMask ( securityinformation : u32 , desiredaccess : *mut u32 ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn RevertToSelf ( ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "ntdll.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "ntdll.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetFileSecurityA ( lpfilename : :: windows_sys::core::PCSTR , securityinformation : u32 , psecuritydescriptor : PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetFileSecurityW ( lpfilename : :: windows_sys::core::PCWSTR , securityinformation : u32 , psecuritydescriptor : PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetKernelObjectSecurity ( handle : super::Foundation:: HANDLE , securityinformation : u32 , securitydescriptor : PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetPrivateObjectSecurity ( securityinformation : u32 , modificationdescriptor : PSECURITY_DESCRIPTOR , objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR , genericmapping : *const GENERIC_MAPPING , token : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetPrivateObjectSecurityEx ( securityinformation : u32 , modificationdescriptor : PSECURITY_DESCRIPTOR , objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR , autoinheritflags : SECURITY_AUTO_INHERIT_FLAGS , genericmapping : *const GENERIC_MAPPING , token : super::Foundation:: HANDLE ) -> super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`*"] fn SetSecurityAccessMask ( securityinformation : u32 , desiredaccess : *mut u32 ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetSecurityDescriptorControl ( psecuritydescriptor : PSECURITY_DESCRIPTOR , controlbitsofinterest : SECURITY_DESCRIPTOR_CONTROL , controlbitstoset : SECURITY_DESCRIPTOR_CONTROL ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetSecurityDescriptorGroup ( psecuritydescriptor : PSECURITY_DESCRIPTOR , pgroup : super::Foundation:: PSID , bgroupdefaulted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetSecurityDescriptorOwner ( psecuritydescriptor : PSECURITY_DESCRIPTOR , powner : super::Foundation:: PSID , bownerdefaulted : super::Foundation:: BOOL ) -> super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`*"] fn SetSecurityDescriptorRMControl ( securitydescriptor : PSECURITY_DESCRIPTOR , rmcontrol : *const u8 ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"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_sys::core::link ! ( "user32.dll""system" #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] fn SetUserObjectSecurity ( hobj : super::Foundation:: HANDLE , psirequested : *const OBJECT_SECURITY_INFORMATION , psid : PSECURITY_DESCRIPTOR ) -> super::Foundation:: BOOL ); #[doc = "*Required features: `\"Win32_Security\"`*"] pub const CVT_SECONDS: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub const SECURITY_DYNAMIC_TRACKING: super::Foundation::BOOLEAN = 1u8; +#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub const SECURITY_STATIC_TRACKING: super::Foundation::BOOLEAN = 0u8; #[doc = "*Required features: `\"Win32_Security\"`*"] pub const cwcFILENAMESUFFIXMAX: u32 = 20u32; #[doc = "*Required features: `\"Win32_Security\"`*"] pub const cwcHRESULTSTRING: u32 = 40u32; #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const szLBRACE: &str = "{"; +pub const szLBRACE: ::windows_sys::core::PCSTR = ::windows_sys::s!("{"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const szLPAREN: &str = "("; +pub const szLPAREN: ::windows_sys::core::PCSTR = ::windows_sys::s!("("); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const szRBRACE: &str = "}"; +pub const szRBRACE: ::windows_sys::core::PCSTR = ::windows_sys::s!("}"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const szRPAREN: &str = ")"; +pub const szRPAREN: ::windows_sys::core::PCSTR = ::windows_sys::s!(")"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszCERTENROLLSHAREPATH: &str = "CertSrv\\CertEnroll"; +pub const wszCERTENROLLSHAREPATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("CertSrv\\CertEnroll"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszFCSAPARM_CERTFILENAMESUFFIX: &str = "%4"; +pub const wszFCSAPARM_CERTFILENAMESUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("%4"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszFCSAPARM_CONFIGDN: &str = "%6"; +pub const wszFCSAPARM_CONFIGDN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("%6"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszFCSAPARM_CRLDELTAFILENAMESUFFIX: &str = "%9"; +pub const wszFCSAPARM_CRLDELTAFILENAMESUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("%9"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszFCSAPARM_CRLFILENAMESUFFIX: &str = "%8"; +pub const wszFCSAPARM_CRLFILENAMESUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::w!("%8"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszFCSAPARM_DOMAINDN: &str = "%5"; +pub const wszFCSAPARM_DOMAINDN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("%5"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszFCSAPARM_DSCACERTATTRIBUTE: &str = "%11"; +pub const wszFCSAPARM_DSCACERTATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("%11"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszFCSAPARM_DSCRLATTRIBUTE: &str = "%10"; +pub const wszFCSAPARM_DSCRLATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("%10"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszFCSAPARM_DSCROSSCERTPAIRATTRIBUTE: &str = "%14"; +pub const wszFCSAPARM_DSCROSSCERTPAIRATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("%14"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszFCSAPARM_DSKRACERTATTRIBUTE: &str = "%13"; +pub const wszFCSAPARM_DSKRACERTATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("%13"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszFCSAPARM_DSUSERCERTATTRIBUTE: &str = "%12"; +pub const wszFCSAPARM_DSUSERCERTATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("%12"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszFCSAPARM_SANITIZEDCANAME: &str = "%3"; +pub const wszFCSAPARM_SANITIZEDCANAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("%3"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszFCSAPARM_SANITIZEDCANAMEHASH: &str = "%7"; +pub const wszFCSAPARM_SANITIZEDCANAMEHASH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("%7"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszFCSAPARM_SERVERDNSNAME: &str = "%1"; +pub const wszFCSAPARM_SERVERDNSNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("%1"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszFCSAPARM_SERVERSHORTNAME: &str = "%2"; +pub const wszFCSAPARM_SERVERSHORTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("%2"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszLBRACE: &str = "{"; +pub const wszLBRACE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("{"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszLPAREN: &str = "("; +pub const wszLPAREN: ::windows_sys::core::PCWSTR = ::windows_sys::w!("("); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszRBRACE: &str = "}"; +pub const wszRBRACE: ::windows_sys::core::PCWSTR = ::windows_sys::w!("}"); #[doc = "*Required features: `\"Win32_Security\"`*"] -pub const wszRPAREN: &str = ")"; +pub const wszRPAREN: ::windows_sys::core::PCWSTR = ::windows_sys::w!(")"); #[doc = "*Required features: `\"Win32_Security\"`*"] pub type ACE_FLAGS = u32; #[doc = "*Required features: `\"Win32_Security\"`*"] @@ -672,6 +542,36 @@ pub const SEF_MACL_NO_WRITE_UP: SECURITY_AUTO_INHERIT_FLAGS = 256u32; #[doc = "*Required features: `\"Win32_Security\"`*"] pub const SEF_SACL_AUTO_INHERIT: SECURITY_AUTO_INHERIT_FLAGS = 2u32; #[doc = "*Required features: `\"Win32_Security\"`*"] +pub type SECURITY_DESCRIPTOR_CONTROL = u16; +#[doc = "*Required features: `\"Win32_Security\"`*"] +pub const SE_OWNER_DEFAULTED: SECURITY_DESCRIPTOR_CONTROL = 1u16; +#[doc = "*Required features: `\"Win32_Security\"`*"] +pub const SE_GROUP_DEFAULTED: SECURITY_DESCRIPTOR_CONTROL = 2u16; +#[doc = "*Required features: `\"Win32_Security\"`*"] +pub const SE_DACL_PRESENT: SECURITY_DESCRIPTOR_CONTROL = 4u16; +#[doc = "*Required features: `\"Win32_Security\"`*"] +pub const SE_DACL_DEFAULTED: SECURITY_DESCRIPTOR_CONTROL = 8u16; +#[doc = "*Required features: `\"Win32_Security\"`*"] +pub const SE_SACL_PRESENT: SECURITY_DESCRIPTOR_CONTROL = 16u16; +#[doc = "*Required features: `\"Win32_Security\"`*"] +pub const SE_SACL_DEFAULTED: SECURITY_DESCRIPTOR_CONTROL = 32u16; +#[doc = "*Required features: `\"Win32_Security\"`*"] +pub const SE_DACL_AUTO_INHERIT_REQ: SECURITY_DESCRIPTOR_CONTROL = 256u16; +#[doc = "*Required features: `\"Win32_Security\"`*"] +pub const SE_SACL_AUTO_INHERIT_REQ: SECURITY_DESCRIPTOR_CONTROL = 512u16; +#[doc = "*Required features: `\"Win32_Security\"`*"] +pub const SE_DACL_AUTO_INHERITED: SECURITY_DESCRIPTOR_CONTROL = 1024u16; +#[doc = "*Required features: `\"Win32_Security\"`*"] +pub const SE_SACL_AUTO_INHERITED: SECURITY_DESCRIPTOR_CONTROL = 2048u16; +#[doc = "*Required features: `\"Win32_Security\"`*"] +pub const SE_DACL_PROTECTED: SECURITY_DESCRIPTOR_CONTROL = 4096u16; +#[doc = "*Required features: `\"Win32_Security\"`*"] +pub const SE_SACL_PROTECTED: SECURITY_DESCRIPTOR_CONTROL = 8192u16; +#[doc = "*Required features: `\"Win32_Security\"`*"] +pub const SE_RM_CONTROL_VALID: SECURITY_DESCRIPTOR_CONTROL = 16384u16; +#[doc = "*Required features: `\"Win32_Security\"`*"] +pub const SE_SELF_RELATIVE: SECURITY_DESCRIPTOR_CONTROL = 32768u16; +#[doc = "*Required features: `\"Win32_Security\"`*"] pub type SECURITY_IMPERSONATION_LEVEL = i32; #[doc = "*Required features: `\"Win32_Security\"`*"] pub const SecurityAnonymous: SECURITY_IMPERSONATION_LEVEL = 0i32; @@ -1572,7 +1472,7 @@ impl ::core::clone::Clone for SECURITY_CAPABILITIES { pub struct SECURITY_DESCRIPTOR { pub Revision: u8, pub Sbz1: u8, - pub Control: u16, + pub Control: SECURITY_DESCRIPTOR_CONTROL, pub Owner: super::Foundation::PSID, pub Group: super::Foundation::PSID, pub Sacl: *mut ACL, @@ -1587,6 +1487,23 @@ impl ::core::clone::Clone for SECURITY_DESCRIPTOR { } } #[repr(C)] +#[doc = "*Required features: `\"Win32_Security\"`*"] +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_Security\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] pub struct SECURITY_QUALITY_OF_SERVICE { |