]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Win32/Security/WinTrust/mod.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / Security / WinTrust / mod.rs
CommitLineData
6522a427
EL
1#[cfg(feature = "Win32_Foundation")]
2::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 );
3#[cfg(feature = "Win32_Foundation")]
4::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 );
5#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
6::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 );
7#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
8::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 );
9#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
10::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 );
11#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
12::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 );
13#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
14::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 );
15#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
16::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 );
17#[cfg(feature = "Win32_Foundation")]
18::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 );
19#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
20::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 );
21#[cfg(feature = "Win32_Foundation")]
22::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 );
23#[cfg(feature = "Win32_Foundation")]
24::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 );
25#[cfg(feature = "Win32_Foundation")]
26::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 );
27::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"] fn WintrustGetRegPolicyFlags ( pdwpolicyflags : *mut WINTRUST_POLICY_FLAGS ) -> ( ) );
28#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
29::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 );
30#[cfg(feature = "Win32_Foundation")]
31::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 );
32#[cfg(feature = "Win32_Foundation")]
33::windows_sys::core::link ! ( "wintrust.dll""system" #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"] fn WintrustSetDefaultIncludePEPageHashes ( fincludepepagehashes : super::super::Foundation:: BOOL ) -> ( ) );
34#[cfg(feature = "Win32_Foundation")]
35::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 );
36#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
37pub const CAT_MEMBERINFO2_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.12.2.3");
38#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
39pub const CAT_MEMBERINFO2_STRUCT: ::windows_sys::core::PCSTR = 2223i32 as _;
40#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
41pub const CAT_MEMBERINFO_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.12.2.2");
42#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
43pub const CAT_MEMBERINFO_STRUCT: ::windows_sys::core::PCSTR = 2222i32 as _;
44#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
45pub const CAT_NAMEVALUE_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.12.2.1");
46#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
47pub const CAT_NAMEVALUE_STRUCT: ::windows_sys::core::PCSTR = 2221i32 as _;
48#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
49pub const CCPI_RESULT_ALLOW: u32 = 1u32;
50#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
51pub const CCPI_RESULT_AUDIT: u32 = 3u32;
52#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
53pub const CCPI_RESULT_DENY: u32 = 2u32;
54#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
55pub const CERT_CONFIDENCE_AUTHIDEXT: u32 = 65536u32;
56#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
57pub const CERT_CONFIDENCE_HIGHEST: u32 = 286330880u32;
58#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
59pub const CERT_CONFIDENCE_HYGIENE: u32 = 4096u32;
60#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
61pub const CERT_CONFIDENCE_SIG: u32 = 268435456u32;
62#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
63pub const CERT_CONFIDENCE_TIME: u32 = 16777216u32;
64#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
65pub const CERT_CONFIDENCE_TIMENEST: u32 = 1048576u32;
66#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
67pub const CPD_CHOICE_SIP: u32 = 1u32;
68#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
69pub const CPD_RETURN_LOWER_QUALITY_CHAINS: u32 = 1048576u32;
70#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
71pub const CPD_REVOCATION_CHECK_CHAIN: u32 = 262144u32;
72#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
73pub const CPD_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: u32 = 524288u32;
74#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
75pub const CPD_REVOCATION_CHECK_END_CERT: u32 = 131072u32;
76#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
77pub const CPD_REVOCATION_CHECK_NONE: u32 = 65536u32;
78#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
79pub const CPD_UISTATE_MODE_ALLOW: u32 = 2u32;
80#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
81pub const CPD_UISTATE_MODE_BLOCK: u32 = 1u32;
82#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
83pub const CPD_UISTATE_MODE_MASK: u32 = 3u32;
84#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
85pub const CPD_UISTATE_MODE_PROMPT: u32 = 0u32;
86#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
87pub const CPD_USE_NT5_CHAIN_FLAG: u32 = 2147483648u32;
88#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
89pub const DRIVER_CLEANUPPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DriverCleanupPolicy");
90#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
91pub const DRIVER_FINALPOLPROV_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DriverFinalPolicy");
92#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
93pub const DRIVER_INITPROV_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DriverInitializePolicy");
94#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
95pub const GENERIC_CHAIN_CERTTRUST_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("GenericChainCertificateTrust");
96#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
97pub const GENERIC_CHAIN_FINALPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("GenericChainFinalProv");
98#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
99pub const HTTPS_CERTTRUST_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HTTPSCertificateTrust");
100#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
101pub const HTTPS_CHKCERT_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HTTPSCheckCertProv");
102#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
103pub const HTTPS_FINALPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("HTTPSFinalProv");
104#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
105pub const INTENT_TO_SEAL_ATTRIBUTE_STRUCT: ::windows_sys::core::PCSTR = 2010i32 as _;
106#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
107pub const OFFICE_CLEANUPPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OfficeCleanupPolicy");
108#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
109pub const OFFICE_INITPROV_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("OfficeInitializePolicy");
110#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
111pub const OFFICE_POLICY_PROVIDER_DLL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WINTRUST.DLL");
112#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
113pub const SEALING_SIGNATURE_ATTRIBUTE_STRUCT: ::windows_sys::core::PCSTR = 2011i32 as _;
114#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
115pub const SEALING_TIMESTAMP_ATTRIBUTE_STRUCT: ::windows_sys::core::PCSTR = 2012i32 as _;
116#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
117pub const SGNR_TYPE_TIMESTAMP: u32 = 16u32;
118#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
119pub const SPC_CAB_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.25");
120#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
121pub const SPC_CAB_DATA_STRUCT: ::windows_sys::core::PCSTR = 2008i32 as _;
122#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
123pub const SPC_CERT_EXTENSIONS_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.14");
124#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
125pub const SPC_COMMERCIAL_SP_KEY_PURPOSE_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.22");
126#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
127pub const SPC_COMMON_NAME_OBJID: ::windows_sys::core::PCWSTR = ::windows_sys::w!("2.5.4.3");
128#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
129pub const SPC_ENCRYPTED_DIGEST_RETRY_COUNT_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.6.2");
130#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
131pub const SPC_FILE_LINK_CHOICE: u32 = 3u32;
132#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
133pub const SPC_FINANCIAL_CRITERIA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.27");
134#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
135pub const SPC_FINANCIAL_CRITERIA_STRUCT: ::windows_sys::core::PCSTR = 2002i32 as _;
136#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
137pub const SPC_GLUE_RDN_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.25");
138#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
139pub const SPC_INDIRECT_DATA_CONTENT_STRUCT: ::windows_sys::core::PCSTR = 2003i32 as _;
140#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
141pub const SPC_INDIRECT_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.4");
142#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
143pub const SPC_INDIVIDUAL_SP_KEY_PURPOSE_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.21");
144#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
145pub const SPC_JAVA_CLASS_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.20");
146#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
147pub const SPC_JAVA_CLASS_DATA_STRUCT: ::windows_sys::core::PCSTR = 2009i32 as _;
148#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
149pub const SPC_LINK_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.28");
150#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
151pub const SPC_LINK_STRUCT: ::windows_sys::core::PCSTR = 2005i32 as _;
152#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
153pub const SPC_MINIMAL_CRITERIA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.26");
154#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
155pub const SPC_MINIMAL_CRITERIA_STRUCT: ::windows_sys::core::PCSTR = 2001i32 as _;
156#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
157pub const SPC_MONIKER_LINK_CHOICE: u32 = 2u32;
158#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
159pub const SPC_NATURAL_AUTH_PLUGIN_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.96.1.1");
160#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
161pub const SPC_PE_IMAGE_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.15");
162#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
163pub const SPC_PE_IMAGE_DATA_STRUCT: ::windows_sys::core::PCSTR = 2004i32 as _;
164#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
165pub 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");
166#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
167pub 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");
168#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
169pub const SPC_RAW_FILE_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.18");
170#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
171pub const SPC_RELAXED_PE_MARKER_CHECK_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.6.1");
172#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
173pub const SPC_SIGINFO_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.30");
174#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
175pub const SPC_SIGINFO_STRUCT: ::windows_sys::core::PCSTR = 2130i32 as _;
176#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
177pub const SPC_SP_AGENCY_INFO_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.10");
178#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
179pub const SPC_SP_AGENCY_INFO_STRUCT: ::windows_sys::core::PCSTR = 2000i32 as _;
180#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
181pub const SPC_SP_OPUS_INFO_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.12");
182#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
183pub const SPC_SP_OPUS_INFO_STRUCT: ::windows_sys::core::PCSTR = 2007i32 as _;
184#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
185pub const SPC_STATEMENT_TYPE_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.11");
186#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
187pub const SPC_STATEMENT_TYPE_STRUCT: ::windows_sys::core::PCSTR = 2006i32 as _;
188#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
189pub const SPC_STRUCTURED_STORAGE_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.1.19");
190#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
191pub const SPC_TIME_STAMP_REQUEST_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.3.2.1");
192#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
193pub const SPC_URL_LINK_CHOICE: u32 = 1u32;
194#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
195pub const SPC_UUID_LENGTH: u32 = 16u32;
196#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
197pub const SPC_WINDOWS_HELLO_COMPATIBILITY_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.10.41.1");
198#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
199pub const SP_CHKCERT_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubCheckCert");
200#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
201pub const SP_CLEANUPPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubCleanup");
202#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
203pub const SP_FINALPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubAuthenticode");
204#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
205pub const SP_GENERIC_CERT_INIT_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubDefCertInit");
206#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
207pub const SP_INIT_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubInitialize");
208#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
209pub const SP_OBJTRUST_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubLoadMessage");
210#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
211pub const SP_POLICY_PROVIDER_DLL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WINTRUST.DLL");
212#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
213pub const SP_SIGTRUST_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubLoadSignature");
214#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
215pub const SP_TESTDUMPPOLICY_FUNCTION_TEST: ::windows_sys::core::PCWSTR = ::windows_sys::w!("SoftpubDumpStructure");
216#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
217pub const TRUSTERROR_MAX_STEPS: u32 = 38u32;
218#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
219pub const TRUSTERROR_STEP_CATALOGFILE: u32 = 6u32;
220#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
221pub const TRUSTERROR_STEP_CERTSTORE: u32 = 7u32;
222#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
223pub const TRUSTERROR_STEP_FILEIO: u32 = 2u32;
224#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
225pub const TRUSTERROR_STEP_FINAL_CERTCHKPROV: u32 = 35u32;
226#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
227pub const TRUSTERROR_STEP_FINAL_CERTPROV: u32 = 34u32;
228#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
229pub const TRUSTERROR_STEP_FINAL_INITPROV: u32 = 31u32;
230#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
231pub const TRUSTERROR_STEP_FINAL_OBJPROV: u32 = 32u32;
232#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
233pub const TRUSTERROR_STEP_FINAL_POLICYPROV: u32 = 36u32;
234#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
235pub const TRUSTERROR_STEP_FINAL_SIGPROV: u32 = 33u32;
236#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
237pub const TRUSTERROR_STEP_FINAL_UIPROV: u32 = 37u32;
238#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
239pub const TRUSTERROR_STEP_FINAL_WVTINIT: u32 = 30u32;
240#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
241pub const TRUSTERROR_STEP_MESSAGE: u32 = 8u32;
242#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
243pub const TRUSTERROR_STEP_MSG_CERTCHAIN: u32 = 15u32;
244#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
245pub const TRUSTERROR_STEP_MSG_COUNTERSIGCERT: u32 = 17u32;
246#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
247pub const TRUSTERROR_STEP_MSG_COUNTERSIGINFO: u32 = 16u32;
248#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
249pub const TRUSTERROR_STEP_MSG_INNERCNT: u32 = 11u32;
250#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
251pub const TRUSTERROR_STEP_MSG_INNERCNTTYPE: u32 = 10u32;
252#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
253pub const TRUSTERROR_STEP_MSG_SIGNERCERT: u32 = 14u32;
254#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
255pub const TRUSTERROR_STEP_MSG_SIGNERCOUNT: u32 = 9u32;
256#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
257pub const TRUSTERROR_STEP_MSG_SIGNERINFO: u32 = 13u32;
258#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
259pub const TRUSTERROR_STEP_MSG_STORE: u32 = 12u32;
260#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
261pub const TRUSTERROR_STEP_SIP: u32 = 3u32;
262#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
263pub const TRUSTERROR_STEP_SIPSUBJINFO: u32 = 5u32;
264#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
265pub const TRUSTERROR_STEP_VERIFY_MSGHASH: u32 = 18u32;
266#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
267pub const TRUSTERROR_STEP_VERIFY_MSGINDIRECTDATA: u32 = 19u32;
268#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
269pub const TRUSTERROR_STEP_WVTPARAMS: u32 = 0u32;
270#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
271pub const WINTRUST_CONFIG_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::w!("Software\\Microsoft\\Cryptography\\Wintrust\\Config");
272#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
273pub const WINTRUST_MAX_HASH_BYTES_TO_MAP_DEFAULT: u32 = 1048576u32;
274#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
275pub const WINTRUST_MAX_HASH_BYTES_TO_MAP_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxHashBytesToMap");
276#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
277pub const WINTRUST_MAX_HEADER_BYTES_TO_MAP_DEFAULT: u32 = 10485760u32;
278#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
279pub const WINTRUST_MAX_HEADER_BYTES_TO_MAP_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxHeaderBytesToMap");
280#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
281pub const WIN_CERT_REVISION_1_0: u32 = 256u32;
282#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
283pub const WIN_CERT_REVISION_2_0: u32 = 512u32;
284#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
285pub const WIN_CERT_TYPE_PKCS_SIGNED_DATA: u32 = 2u32;
286#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
287pub const WIN_CERT_TYPE_RESERVED_1: u32 = 3u32;
288#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
289pub const WIN_CERT_TYPE_TS_STACK_SIGNED: u32 = 4u32;
290#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
291pub const WIN_CERT_TYPE_X509: u32 = 1u32;
292#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
293pub const WSS_CERTTRUST_SUPPORT: u32 = 4u32;
294#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
295pub const WSS_INPUT_FLAG_MASK: u32 = 7u32;
296#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
297pub const WSS_OBJTRUST_SUPPORT: u32 = 1u32;
298#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
299pub const WSS_OUTPUT_FLAG_MASK: u32 = 3758096384u32;
300#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
301pub const WSS_OUT_FILE_SUPPORTS_SEAL: u32 = 536870912u32;
302#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
303pub const WSS_OUT_HAS_SEALING_INTENT: u32 = 1073741824u32;
304#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
305pub const WSS_OUT_SEALING_STATUS_VERIFIED: u32 = 2147483648u32;
306#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
307pub const WSS_SIGTRUST_SUPPORT: u32 = 2u32;
308#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
309pub const WSS_VERIFY_SEALING: u32 = 4u32;
310#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
311pub const WTCI_DONT_OPEN_STORES: u32 = 1u32;
312#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
313pub const WTCI_OPEN_ONLY_ROOT: u32 = 2u32;
314#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
315pub const WTCI_USE_LOCAL_MACHINE: u32 = 4u32;
316#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
317pub const WTD_CODE_INTEGRITY_DRIVER_MODE: u32 = 32768u32;
318#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
319pub const WTD_PROV_FLAGS_MASK: u32 = 65535u32;
320#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
321pub const WT_ADD_ACTION_ID_RET_RESULT_FLAG: u32 = 1u32;
322#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
323pub const WT_CURRENT_VERSION: u32 = 512u32;
324#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
325pub const WT_PROVIDER_CERTTRUST_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WintrustCertificateTrust");
326#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
327pub const WT_PROVIDER_DLL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("WINTRUST.DLL");
328#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
329pub const WT_TRUSTDBDIALOG_NO_UI_FLAG: u32 = 1u32;
330#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
331pub const WT_TRUSTDBDIALOG_ONLY_PUB_TAB_FLAG: u32 = 2u32;
332#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
333pub const WT_TRUSTDBDIALOG_WRITE_IEAK_STORE_FLAG: u32 = 512u32;
334#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
335pub const WT_TRUSTDBDIALOG_WRITE_LEGACY_REG_FLAG: u32 = 256u32;
336#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
337pub const szOID_ENHANCED_HASH: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.5.1");
338#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
339pub const szOID_INTENT_TO_SEAL: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.4.2");
340#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
341pub const szOID_NESTED_SIGNATURE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.4.1");
342#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
343pub const szOID_PKCS_9_SEQUENCE_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.2.840.113549.1.9.25.4");
344#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
345pub const szOID_SEALING_SIGNATURE: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.4.3");
346#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
347pub const szOID_SEALING_TIMESTAMP: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.4.4");
348#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
349pub const szOID_TRUSTED_CLIENT_AUTH_CA_LIST: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.2.2");
350#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
351pub const szOID_TRUSTED_CODESIGNING_CA_LIST: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.2.1");
352#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
353pub const szOID_TRUSTED_SERVER_AUTH_CA_LIST: ::windows_sys::core::PCSTR = ::windows_sys::s!("1.3.6.1.4.1.311.2.2.3");
354#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
355pub type WINTRUST_DATA_PROVIDER_FLAGS = u32;
356#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
357pub const WTD_USE_IE4_TRUST_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 1u32;
358#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
359pub const WTD_NO_IE4_CHAIN_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 2u32;
360#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
361pub const WTD_NO_POLICY_USAGE_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 4u32;
362#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
363pub const WTD_REVOCATION_CHECK_NONE: WINTRUST_DATA_PROVIDER_FLAGS = 16u32;
364#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
365pub const WTD_REVOCATION_CHECK_END_CERT: WINTRUST_DATA_PROVIDER_FLAGS = 32u32;
366#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
367pub const WTD_REVOCATION_CHECK_CHAIN: WINTRUST_DATA_PROVIDER_FLAGS = 64u32;
368#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
369pub const WTD_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: WINTRUST_DATA_PROVIDER_FLAGS = 128u32;
370#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
371pub const WTD_SAFER_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 256u32;
372#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
373pub const WTD_HASH_ONLY_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 512u32;
374#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
375pub const WTD_USE_DEFAULT_OSVER_CHECK: WINTRUST_DATA_PROVIDER_FLAGS = 1024u32;
376#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
377pub const WTD_LIFETIME_SIGNING_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 2048u32;
378#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
379pub const WTD_CACHE_ONLY_URL_RETRIEVAL: WINTRUST_DATA_PROVIDER_FLAGS = 4096u32;
380#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
381pub const WTD_DISABLE_MD2_MD4: WINTRUST_DATA_PROVIDER_FLAGS = 8192u32;
382#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
383pub const WTD_MOTW: WINTRUST_DATA_PROVIDER_FLAGS = 16384u32;
384#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
385pub type WINTRUST_DATA_REVOCATION_CHECKS = u32;
386#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
387pub const WTD_REVOKE_NONE: WINTRUST_DATA_REVOCATION_CHECKS = 0u32;
388#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
389pub const WTD_REVOKE_WHOLECHAIN: WINTRUST_DATA_REVOCATION_CHECKS = 1u32;
390#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
391pub type WINTRUST_DATA_STATE_ACTION = u32;
392#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
393pub const WTD_STATEACTION_IGNORE: WINTRUST_DATA_STATE_ACTION = 0u32;
394#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
395pub const WTD_STATEACTION_VERIFY: WINTRUST_DATA_STATE_ACTION = 1u32;
396#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
397pub const WTD_STATEACTION_CLOSE: WINTRUST_DATA_STATE_ACTION = 2u32;
398#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
399pub const WTD_STATEACTION_AUTO_CACHE: WINTRUST_DATA_STATE_ACTION = 3u32;
400#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
401pub const WTD_STATEACTION_AUTO_CACHE_FLUSH: WINTRUST_DATA_STATE_ACTION = 4u32;
402#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
403pub type WINTRUST_DATA_UICHOICE = u32;
404#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
405pub const WTD_UI_ALL: WINTRUST_DATA_UICHOICE = 1u32;
406#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
407pub const WTD_UI_NONE: WINTRUST_DATA_UICHOICE = 2u32;
408#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
409pub const WTD_UI_NOBAD: WINTRUST_DATA_UICHOICE = 3u32;
410#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
411pub const WTD_UI_NOGOOD: WINTRUST_DATA_UICHOICE = 4u32;
412#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
413pub type WINTRUST_DATA_UICONTEXT = u32;
414#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
415pub const WTD_UICONTEXT_EXECUTE: WINTRUST_DATA_UICONTEXT = 0u32;
416#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
417pub const WTD_UICONTEXT_INSTALL: WINTRUST_DATA_UICONTEXT = 1u32;
418#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
419pub type WINTRUST_DATA_UNION_CHOICE = u32;
420#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
421pub const WTD_CHOICE_FILE: WINTRUST_DATA_UNION_CHOICE = 1u32;
422#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
423pub const WTD_CHOICE_CATALOG: WINTRUST_DATA_UNION_CHOICE = 2u32;
424#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
425pub const WTD_CHOICE_BLOB: WINTRUST_DATA_UNION_CHOICE = 3u32;
426#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
427pub const WTD_CHOICE_SIGNER: WINTRUST_DATA_UNION_CHOICE = 4u32;
428#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
429pub const WTD_CHOICE_CERT: WINTRUST_DATA_UNION_CHOICE = 5u32;
430#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
431pub type WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION = u32;
432#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
433pub const DWACTION_ALLOCANDFILL: WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION = 1u32;
434#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
435pub const DWACTION_FREE: WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION = 2u32;
436#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
437pub type WINTRUST_POLICY_FLAGS = u32;
438#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
439pub const WTPF_TRUSTTEST: WINTRUST_POLICY_FLAGS = 32u32;
440#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
441pub const WTPF_TESTCANBEVALID: WINTRUST_POLICY_FLAGS = 128u32;
442#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
443pub const WTPF_IGNOREEXPIRATION: WINTRUST_POLICY_FLAGS = 256u32;
444#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
445pub const WTPF_IGNOREREVOKATION: WINTRUST_POLICY_FLAGS = 512u32;
446#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
447pub const WTPF_OFFLINEOK_IND: WINTRUST_POLICY_FLAGS = 1024u32;
448#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
449pub const WTPF_OFFLINEOK_COM: WINTRUST_POLICY_FLAGS = 2048u32;
450#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
451pub const WTPF_OFFLINEOKNBU_IND: WINTRUST_POLICY_FLAGS = 4096u32;
452#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
453pub const WTPF_OFFLINEOKNBU_COM: WINTRUST_POLICY_FLAGS = 8192u32;
454#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
455pub const WTPF_VERIFY_V1_OFF: WINTRUST_POLICY_FLAGS = 65536u32;
456#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
457pub const WTPF_IGNOREREVOCATIONONTS: WINTRUST_POLICY_FLAGS = 131072u32;
458#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
459pub const WTPF_ALLOWONLYPERTRUST: WINTRUST_POLICY_FLAGS = 262144u32;
460#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
461pub type WINTRUST_SIGNATURE_SETTINGS_FLAGS = u32;
462#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
463pub const WSS_VERIFY_SPECIFIC: WINTRUST_SIGNATURE_SETTINGS_FLAGS = 1u32;
464#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
465pub const WSS_GET_SECONDARY_SIG_COUNT: WINTRUST_SIGNATURE_SETTINGS_FLAGS = 2u32;
5e7ed085 466#[repr(C)]
04454e1e 467#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
5e7ed085 468pub struct CAT_MEMBERINFO {
04454e1e 469 pub pwszSubjGuid: ::windows_sys::core::PWSTR,
5e7ed085
FG
470 pub dwCertVersion: u32,
471}
5e7ed085 472impl ::core::marker::Copy for CAT_MEMBERINFO {}
5e7ed085
FG
473impl ::core::clone::Clone for CAT_MEMBERINFO {
474 fn clone(&self) -> Self {
475 *self
476 }
477}
478#[repr(C)]
04454e1e 479#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
5e7ed085
FG
480pub struct CAT_MEMBERINFO2 {
481 pub SubjectGuid: ::windows_sys::core::GUID,
482 pub dwCertVersion: u32,
483}
484impl ::core::marker::Copy for CAT_MEMBERINFO2 {}
485impl ::core::clone::Clone for CAT_MEMBERINFO2 {
486 fn clone(&self) -> Self {
487 *self
488 }
489}
5e7ed085 490#[repr(C)]
04454e1e
FG
491#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
492#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085 493pub struct CAT_NAMEVALUE {
04454e1e 494 pub pwszTag: ::windows_sys::core::PWSTR,
5e7ed085 495 pub fdwFlags: u32,
6522a427 496 pub Value: super::Cryptography::CRYPT_INTEGER_BLOB,
5e7ed085 497}
04454e1e 498#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085 499impl ::core::marker::Copy for CAT_NAMEVALUE {}
04454e1e 500#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
501impl ::core::clone::Clone for CAT_NAMEVALUE {
502 fn clone(&self) -> Self {
503 *self
504 }
505}
5e7ed085 506#[repr(C)]
04454e1e 507#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
5e7ed085
FG
508#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
509pub struct CONFIG_CI_PROV_INFO {
510 pub cbSize: u32,
511 pub dwPolicies: u32,
6522a427 512 pub pPolicies: *mut super::Cryptography::CRYPT_INTEGER_BLOB,
5e7ed085
FG
513 pub result: CONFIG_CI_PROV_INFO_RESULT,
514 pub dwScenario: u32,
515}
516#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
517impl ::core::marker::Copy for CONFIG_CI_PROV_INFO {}
518#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
519impl ::core::clone::Clone for CONFIG_CI_PROV_INFO {
520 fn clone(&self) -> Self {
521 *self
522 }
523}
524#[repr(C)]
04454e1e 525#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
526#[cfg(feature = "Win32_Foundation")]
527pub struct CONFIG_CI_PROV_INFO_RESULT {
528 pub hr: ::windows_sys::core::HRESULT,
529 pub dwResult: u32,
530 pub dwPolicyIndex: u32,
531 pub fIsExplicitDeny: super::super::Foundation::BOOLEAN,
532}
533#[cfg(feature = "Win32_Foundation")]
534impl ::core::marker::Copy for CONFIG_CI_PROV_INFO_RESULT {}
535#[cfg(feature = "Win32_Foundation")]
536impl ::core::clone::Clone for CONFIG_CI_PROV_INFO_RESULT {
537 fn clone(&self) -> Self {
538 *self
539 }
540}
5e7ed085 541#[repr(C)]
04454e1e 542#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
5e7ed085
FG
543#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
544pub struct CRYPT_PROVIDER_CERT {
545 pub cbStruct: u32,
546 pub pCert: *const super::Cryptography::CERT_CONTEXT,
547 pub fCommercial: super::super::Foundation::BOOL,
548 pub fTrustedRoot: super::super::Foundation::BOOL,
549 pub fSelfSigned: super::super::Foundation::BOOL,
550 pub fTestCert: super::super::Foundation::BOOL,
551 pub dwRevokedReason: u32,
552 pub dwConfidence: u32,
553 pub dwError: u32,
554 pub pTrustListContext: *mut super::Cryptography::CTL_CONTEXT,
555 pub fTrustListSignerCert: super::super::Foundation::BOOL,
556 pub pCtlContext: *mut super::Cryptography::CTL_CONTEXT,
557 pub dwCtlError: u32,
558 pub fIsCyclic: super::super::Foundation::BOOL,
559 pub pChainElement: *mut super::Cryptography::CERT_CHAIN_ELEMENT,
560}
561#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
562impl ::core::marker::Copy for CRYPT_PROVIDER_CERT {}
563#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
564impl ::core::clone::Clone for CRYPT_PROVIDER_CERT {
565 fn clone(&self) -> Self {
566 *self
567 }
568}
569#[repr(C)]
04454e1e
FG
570#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
571#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085
FG
572pub struct CRYPT_PROVIDER_DATA {
573 pub cbStruct: u32,
574 pub pWintrustData: *mut WINTRUST_DATA,
575 pub fOpenedFile: super::super::Foundation::BOOL,
576 pub hWndParent: super::super::Foundation::HWND,
577 pub pgActionID: *mut ::windows_sys::core::GUID,
578 pub hProv: usize,
579 pub dwError: u32,
580 pub dwRegSecuritySettings: u32,
581 pub dwRegPolicySettings: u32,
582 pub psPfns: *mut CRYPT_PROVIDER_FUNCTIONS,
583 pub cdwTrustStepErrors: u32,
584 pub padwTrustStepErrors: *mut u32,
585 pub chStores: u32,
586 pub pahStores: *mut super::Cryptography::HCERTSTORE,
587 pub dwEncoding: u32,
588 pub hMsg: *mut ::core::ffi::c_void,
589 pub csSigners: u32,
590 pub pasSigners: *mut CRYPT_PROVIDER_SGNR,
591 pub csProvPrivData: u32,
592 pub pasProvPrivData: *mut CRYPT_PROVIDER_PRIVDATA,
593 pub dwSubjectChoice: u32,
594 pub Anonymous: CRYPT_PROVIDER_DATA_0,
04454e1e 595 pub pszUsageOID: ::windows_sys::core::PSTR,
5e7ed085
FG
596 pub fRecallWithState: super::super::Foundation::BOOL,
597 pub sftSystemTime: super::super::Foundation::FILETIME,
04454e1e 598 pub pszCTLSignerUsageOID: ::windows_sys::core::PSTR,
5e7ed085
FG
599 pub dwProvFlags: u32,
600 pub dwFinalError: u32,
601 pub pRequestUsage: *mut super::Cryptography::CERT_USAGE_MATCH,
602 pub dwTrustPubSettings: u32,
603 pub dwUIStateFlags: u32,
604 pub pSigState: *mut CRYPT_PROVIDER_SIGSTATE,
605 pub pSigSettings: *mut WINTRUST_SIGNATURE_SETTINGS,
606}
04454e1e 607#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085 608impl ::core::marker::Copy for CRYPT_PROVIDER_DATA {}
04454e1e 609#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085
FG
610impl ::core::clone::Clone for CRYPT_PROVIDER_DATA {
611 fn clone(&self) -> Self {
612 *self
613 }
614}
615#[repr(C)]
04454e1e
FG
616#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
617#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085
FG
618pub union CRYPT_PROVIDER_DATA_0 {
619 pub pPDSip: *mut PROVDATA_SIP,
620}
04454e1e 621#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085 622impl ::core::marker::Copy for CRYPT_PROVIDER_DATA_0 {}
04454e1e 623#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085
FG
624impl ::core::clone::Clone for CRYPT_PROVIDER_DATA_0 {
625 fn clone(&self) -> Self {
626 *self
627 }
628}
629#[repr(C)]
04454e1e 630#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
5e7ed085
FG
631pub struct CRYPT_PROVIDER_DEFUSAGE {
632 pub cbStruct: u32,
633 pub gActionID: ::windows_sys::core::GUID,
634 pub pDefPolicyCallbackData: *mut ::core::ffi::c_void,
635 pub pDefSIPClientData: *mut ::core::ffi::c_void,
636}
637impl ::core::marker::Copy for CRYPT_PROVIDER_DEFUSAGE {}
638impl ::core::clone::Clone for CRYPT_PROVIDER_DEFUSAGE {
639 fn clone(&self) -> Self {
640 *self
641 }
642}
643#[repr(C)]
04454e1e
FG
644#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
645#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085
FG
646pub struct CRYPT_PROVIDER_FUNCTIONS {
647 pub cbStruct: u32,
648 pub pfnAlloc: PFN_CPD_MEM_ALLOC,
649 pub pfnFree: PFN_CPD_MEM_FREE,
650 pub pfnAddStore2Chain: PFN_CPD_ADD_STORE,
651 pub pfnAddSgnr2Chain: PFN_CPD_ADD_SGNR,
652 pub pfnAddCert2Chain: PFN_CPD_ADD_CERT,
653 pub pfnAddPrivData2Chain: PFN_CPD_ADD_PRIVDATA,
654 pub pfnInitialize: PFN_PROVIDER_INIT_CALL,
655 pub pfnObjectTrust: PFN_PROVIDER_OBJTRUST_CALL,
656 pub pfnSignatureTrust: PFN_PROVIDER_SIGTRUST_CALL,
657 pub pfnCertificateTrust: PFN_PROVIDER_CERTTRUST_CALL,
658 pub pfnFinalPolicy: PFN_PROVIDER_FINALPOLICY_CALL,
659 pub pfnCertCheckPolicy: PFN_PROVIDER_CERTCHKPOLICY_CALL,
660 pub pfnTestFinalPolicy: PFN_PROVIDER_TESTFINALPOLICY_CALL,
661 pub psUIpfns: *mut CRYPT_PROVUI_FUNCS,
662 pub pfnCleanupPolicy: PFN_PROVIDER_CLEANUP_CALL,
663}
04454e1e 664#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085 665impl ::core::marker::Copy for CRYPT_PROVIDER_FUNCTIONS {}
04454e1e 666#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085
FG
667impl ::core::clone::Clone for CRYPT_PROVIDER_FUNCTIONS {
668 fn clone(&self) -> Self {
669 *self
670 }
671}
672#[repr(C)]
04454e1e 673#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
5e7ed085
FG
674pub struct CRYPT_PROVIDER_PRIVDATA {
675 pub cbStruct: u32,
676 pub gProviderID: ::windows_sys::core::GUID,
677 pub cbProvData: u32,
678 pub pvProvData: *mut ::core::ffi::c_void,
679}
680impl ::core::marker::Copy for CRYPT_PROVIDER_PRIVDATA {}
681impl ::core::clone::Clone for CRYPT_PROVIDER_PRIVDATA {
682 fn clone(&self) -> Self {
683 *self
684 }
685}
686#[repr(C)]
04454e1e 687#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
5e7ed085
FG
688pub struct CRYPT_PROVIDER_REGDEFUSAGE {
689 pub cbStruct: u32,
690 pub pgActionID: *mut ::windows_sys::core::GUID,
04454e1e
FG
691 pub pwszDllName: ::windows_sys::core::PWSTR,
692 pub pwszLoadCallbackDataFunctionName: ::windows_sys::core::PSTR,
693 pub pwszFreeCallbackDataFunctionName: ::windows_sys::core::PSTR,
5e7ed085 694}
5e7ed085 695impl ::core::marker::Copy for CRYPT_PROVIDER_REGDEFUSAGE {}
5e7ed085
FG
696impl ::core::clone::Clone for CRYPT_PROVIDER_REGDEFUSAGE {
697 fn clone(&self) -> Self {
698 *self
699 }
700}
701#[repr(C)]
04454e1e 702#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
5e7ed085
FG
703#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
704pub struct CRYPT_PROVIDER_SGNR {
705 pub cbStruct: u32,
706 pub sftVerifyAsOf: super::super::Foundation::FILETIME,
707 pub csCertChain: u32,
708 pub pasCertChain: *mut CRYPT_PROVIDER_CERT,
709 pub dwSignerType: u32,
710 pub psSigner: *mut super::Cryptography::CMSG_SIGNER_INFO,
711 pub dwError: u32,
712 pub csCounterSigners: u32,
713 pub pasCounterSigners: *mut CRYPT_PROVIDER_SGNR,
714 pub pChainContext: *mut super::Cryptography::CERT_CHAIN_CONTEXT,
715}
716#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
717impl ::core::marker::Copy for CRYPT_PROVIDER_SGNR {}
718#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
719impl ::core::clone::Clone for CRYPT_PROVIDER_SGNR {
720 fn clone(&self) -> Self {
721 *self
722 }
723}
724#[repr(C)]
04454e1e 725#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
5e7ed085
FG
726#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
727pub struct CRYPT_PROVIDER_SIGSTATE {
728 pub cbStruct: u32,
729 pub rhSecondarySigs: *mut *mut ::core::ffi::c_void,
730 pub hPrimarySig: *mut ::core::ffi::c_void,
731 pub fFirstAttemptMade: super::super::Foundation::BOOL,
732 pub fNoMoreSigs: super::super::Foundation::BOOL,
733 pub cSecondarySigs: u32,
734 pub dwCurrentIndex: u32,
735 pub fSupportMultiSig: super::super::Foundation::BOOL,
736 pub dwCryptoPolicySupport: u32,
737 pub iAttemptCount: u32,
738 pub fCheckedSealing: super::super::Foundation::BOOL,
739 pub pSealingSignature: *mut SEALING_SIGNATURE_ATTRIBUTE,
740}
741#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
742impl ::core::marker::Copy for CRYPT_PROVIDER_SIGSTATE {}
743#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
744impl ::core::clone::Clone for CRYPT_PROVIDER_SIGSTATE {
745 fn clone(&self) -> Self {
746 *self
747 }
748}
749#[repr(C)]
04454e1e 750#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
5e7ed085
FG
751pub struct CRYPT_PROVUI_DATA {
752 pub cbStruct: u32,
753 pub dwFinalError: u32,
04454e1e
FG
754 pub pYesButtonText: ::windows_sys::core::PWSTR,
755 pub pNoButtonText: ::windows_sys::core::PWSTR,
756 pub pMoreInfoButtonText: ::windows_sys::core::PWSTR,
757 pub pAdvancedLinkText: ::windows_sys::core::PWSTR,
758 pub pCopyActionText: ::windows_sys::core::PWSTR,
759 pub pCopyActionTextNoTS: ::windows_sys::core::PWSTR,
760 pub pCopyActionTextNotSigned: ::windows_sys::core::PWSTR,
5e7ed085 761}
5e7ed085 762impl ::core::marker::Copy for CRYPT_PROVUI_DATA {}
5e7ed085
FG
763impl ::core::clone::Clone for CRYPT_PROVUI_DATA {
764 fn clone(&self) -> Self {
765 *self
766 }
767}
768#[repr(C)]
04454e1e
FG
769#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
770#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085
FG
771pub struct CRYPT_PROVUI_FUNCS {
772 pub cbStruct: u32,
773 pub psUIData: *mut CRYPT_PROVUI_DATA,
774 pub pfnOnMoreInfoClick: PFN_PROVUI_CALL,
775 pub pfnOnMoreInfoClickDefault: PFN_PROVUI_CALL,
776 pub pfnOnAdvancedClick: PFN_PROVUI_CALL,
777 pub pfnOnAdvancedClickDefault: PFN_PROVUI_CALL,
778}
04454e1e 779#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085 780impl ::core::marker::Copy for CRYPT_PROVUI_FUNCS {}
04454e1e 781#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085
FG
782impl ::core::clone::Clone for CRYPT_PROVUI_FUNCS {
783 fn clone(&self) -> Self {
784 *self
785 }
786}
787#[repr(C)]
04454e1e 788#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
5e7ed085
FG
789pub struct CRYPT_REGISTER_ACTIONID {
790 pub cbStruct: u32,
791 pub sInitProvider: CRYPT_TRUST_REG_ENTRY,
792 pub sObjectProvider: CRYPT_TRUST_REG_ENTRY,
793 pub sSignatureProvider: CRYPT_TRUST_REG_ENTRY,
794 pub sCertificateProvider: CRYPT_TRUST_REG_ENTRY,
795 pub sCertificatePolicyProvider: CRYPT_TRUST_REG_ENTRY,
796 pub sFinalPolicyProvider: CRYPT_TRUST_REG_ENTRY,
797 pub sTestPolicyProvider: CRYPT_TRUST_REG_ENTRY,
798 pub sCleanupProvider: CRYPT_TRUST_REG_ENTRY,
799}
5e7ed085 800impl ::core::marker::Copy for CRYPT_REGISTER_ACTIONID {}
5e7ed085
FG
801impl ::core::clone::Clone for CRYPT_REGISTER_ACTIONID {
802 fn clone(&self) -> Self {
803 *self
804 }
805}
806#[repr(C)]
04454e1e 807#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
5e7ed085
FG
808pub struct CRYPT_TRUST_REG_ENTRY {
809 pub cbStruct: u32,
04454e1e
FG
810 pub pwszDLLName: ::windows_sys::core::PWSTR,
811 pub pwszFunctionName: ::windows_sys::core::PWSTR,
5e7ed085 812}
5e7ed085 813impl ::core::marker::Copy for CRYPT_TRUST_REG_ENTRY {}
5e7ed085
FG
814impl ::core::clone::Clone for CRYPT_TRUST_REG_ENTRY {
815 fn clone(&self) -> Self {
816 *self
817 }
818}
5e7ed085 819#[repr(C)]
04454e1e 820#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
5e7ed085
FG
821#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
822pub struct DRIVER_VER_INFO {
823 pub cbStruct: u32,
824 pub dwReserved1: usize,
825 pub dwReserved2: usize,
826 pub dwPlatform: u32,
827 pub dwVersion: u32,
828 pub wszVersion: [u16; 260],
829 pub wszSignedBy: [u16; 260],
830 pub pcSignerCertContext: *const super::Cryptography::CERT_CONTEXT,
831 pub sOSVersionLow: DRIVER_VER_MAJORMINOR,
832 pub sOSVersionHigh: DRIVER_VER_MAJORMINOR,
833 pub dwBuildNumberLow: u32,
834 pub dwBuildNumberHigh: u32,
835}
836#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
837impl ::core::marker::Copy for DRIVER_VER_INFO {}
838#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
839impl ::core::clone::Clone for DRIVER_VER_INFO {
840 fn clone(&self) -> Self {
841 *self
842 }
843}
844#[repr(C)]
04454e1e 845#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
5e7ed085
FG
846pub struct DRIVER_VER_MAJORMINOR {
847 pub dwMajor: u32,
848 pub dwMinor: u32,
849}
850impl ::core::marker::Copy for DRIVER_VER_MAJORMINOR {}
851impl ::core::clone::Clone for DRIVER_VER_MAJORMINOR {
852 fn clone(&self) -> Self {
853 *self
854 }
855}
5e7ed085 856#[repr(C)]
04454e1e 857#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
858#[cfg(feature = "Win32_Foundation")]
859pub struct INTENT_TO_SEAL_ATTRIBUTE {
860 pub version: u32,
861 pub seal: super::super::Foundation::BOOLEAN,
862}
863#[cfg(feature = "Win32_Foundation")]
864impl ::core::marker::Copy for INTENT_TO_SEAL_ATTRIBUTE {}
865#[cfg(feature = "Win32_Foundation")]
866impl ::core::clone::Clone for INTENT_TO_SEAL_ATTRIBUTE {
867 fn clone(&self) -> Self {
868 *self
869 }
870}
5e7ed085 871#[repr(C)]
04454e1e
FG
872#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
873#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085
FG
874pub struct PROVDATA_SIP {
875 pub cbStruct: u32,
876 pub gSubject: ::windows_sys::core::GUID,
877 pub pSip: *mut super::Cryptography::Sip::SIP_DISPATCH_INFO,
878 pub pCATSip: *mut super::Cryptography::Sip::SIP_DISPATCH_INFO,
879 pub psSipSubjectInfo: *mut super::Cryptography::Sip::SIP_SUBJECTINFO,
880 pub psSipCATSubjectInfo: *mut super::Cryptography::Sip::SIP_SUBJECTINFO,
881 pub psIndirectData: *mut super::Cryptography::Sip::SIP_INDIRECT_DATA,
882}
04454e1e 883#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085 884impl ::core::marker::Copy for PROVDATA_SIP {}
04454e1e 885#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085
FG
886impl ::core::clone::Clone for PROVDATA_SIP {
887 fn clone(&self) -> Self {
888 *self
889 }
890}
891#[repr(C)]
04454e1e
FG
892#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
893#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
894pub struct SEALING_SIGNATURE_ATTRIBUTE {
895 pub version: u32,
896 pub signerIndex: u32,
897 pub signatureAlgorithm: super::Cryptography::CRYPT_ALGORITHM_IDENTIFIER,
6522a427 898 pub encryptedDigest: super::Cryptography::CRYPT_INTEGER_BLOB,
5e7ed085 899}
04454e1e 900#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085 901impl ::core::marker::Copy for SEALING_SIGNATURE_ATTRIBUTE {}
04454e1e 902#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
903impl ::core::clone::Clone for SEALING_SIGNATURE_ATTRIBUTE {
904 fn clone(&self) -> Self {
905 *self
906 }
907}
5e7ed085 908#[repr(C)]
04454e1e 909#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
5e7ed085
FG
910#[cfg(feature = "Win32_Security_Cryptography")]
911pub struct SEALING_TIMESTAMP_ATTRIBUTE {
912 pub version: u32,
913 pub signerIndex: u32,
6522a427 914 pub sealTimeStampToken: super::Cryptography::CRYPT_INTEGER_BLOB,
5e7ed085
FG
915}
916#[cfg(feature = "Win32_Security_Cryptography")]
917impl ::core::marker::Copy for SEALING_TIMESTAMP_ATTRIBUTE {}
918#[cfg(feature = "Win32_Security_Cryptography")]
919impl ::core::clone::Clone for SEALING_TIMESTAMP_ATTRIBUTE {
920 fn clone(&self) -> Self {
921 *self
922 }
923}
5e7ed085 924#[repr(C)]
04454e1e 925#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
926#[cfg(feature = "Win32_Foundation")]
927pub struct SPC_FINANCIAL_CRITERIA {
928 pub fFinancialInfoAvailable: super::super::Foundation::BOOL,
929 pub fMeetsCriteria: super::super::Foundation::BOOL,
930}
931#[cfg(feature = "Win32_Foundation")]
932impl ::core::marker::Copy for SPC_FINANCIAL_CRITERIA {}
933#[cfg(feature = "Win32_Foundation")]
934impl ::core::clone::Clone for SPC_FINANCIAL_CRITERIA {
935 fn clone(&self) -> Self {
936 *self
937 }
938}
5e7ed085 939#[repr(C)]
04454e1e
FG
940#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
941#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
942pub struct SPC_IMAGE {
943 pub pImageLink: *mut SPC_LINK,
6522a427
EL
944 pub Bitmap: super::Cryptography::CRYPT_INTEGER_BLOB,
945 pub Metafile: super::Cryptography::CRYPT_INTEGER_BLOB,
946 pub EnhancedMetafile: super::Cryptography::CRYPT_INTEGER_BLOB,
947 pub GifFile: super::Cryptography::CRYPT_INTEGER_BLOB,
5e7ed085 948}
04454e1e 949#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085 950impl ::core::marker::Copy for SPC_IMAGE {}
04454e1e 951#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
952impl ::core::clone::Clone for SPC_IMAGE {
953 fn clone(&self) -> Self {
954 *self
955 }
956}
957#[repr(C)]
04454e1e
FG
958#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
959#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
960pub struct SPC_INDIRECT_DATA_CONTENT {
961 pub Data: super::Cryptography::CRYPT_ATTRIBUTE_TYPE_VALUE,
962 pub DigestAlgorithm: super::Cryptography::CRYPT_ALGORITHM_IDENTIFIER,
6522a427 963 pub Digest: super::Cryptography::CRYPT_INTEGER_BLOB,
5e7ed085 964}
04454e1e 965#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085 966impl ::core::marker::Copy for SPC_INDIRECT_DATA_CONTENT {}
04454e1e 967#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
968impl ::core::clone::Clone for SPC_INDIRECT_DATA_CONTENT {
969 fn clone(&self) -> Self {
970 *self
971 }
972}
5e7ed085 973#[repr(C)]
04454e1e
FG
974#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
975#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
976pub struct SPC_LINK {
977 pub dwLinkChoice: u32,
978 pub Anonymous: SPC_LINK_0,
979}
04454e1e 980#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085 981impl ::core::marker::Copy for SPC_LINK {}
04454e1e 982#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
983impl ::core::clone::Clone for SPC_LINK {
984 fn clone(&self) -> Self {
985 *self
986 }
987}
988#[repr(C)]
04454e1e
FG
989#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
990#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085 991pub union SPC_LINK_0 {
04454e1e 992 pub pwszUrl: ::windows_sys::core::PWSTR,
5e7ed085 993 pub Moniker: SPC_SERIALIZED_OBJECT,
04454e1e 994 pub pwszFile: ::windows_sys::core::PWSTR,
5e7ed085 995}
04454e1e 996#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085 997impl ::core::marker::Copy for SPC_LINK_0 {}
04454e1e 998#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
999impl ::core::clone::Clone for SPC_LINK_0 {
1000 fn clone(&self) -> Self {
1001 *self
1002 }
1003}
5e7ed085 1004#[repr(C)]
04454e1e
FG
1005#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
1006#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
1007pub struct SPC_PE_IMAGE_DATA {
1008 pub Flags: super::Cryptography::CRYPT_BIT_BLOB,
1009 pub pFile: *mut SPC_LINK,
1010}
04454e1e 1011#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085 1012impl ::core::marker::Copy for SPC_PE_IMAGE_DATA {}
04454e1e 1013#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
1014impl ::core::clone::Clone for SPC_PE_IMAGE_DATA {
1015 fn clone(&self) -> Self {
1016 *self
1017 }
1018}
5e7ed085 1019#[repr(C)]
04454e1e 1020#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
5e7ed085
FG
1021#[cfg(feature = "Win32_Security_Cryptography")]
1022pub struct SPC_SERIALIZED_OBJECT {
1023 pub ClassId: [u8; 16],
6522a427 1024 pub SerializedData: super::Cryptography::CRYPT_INTEGER_BLOB,
5e7ed085
FG
1025}
1026#[cfg(feature = "Win32_Security_Cryptography")]
1027impl ::core::marker::Copy for SPC_SERIALIZED_OBJECT {}
1028#[cfg(feature = "Win32_Security_Cryptography")]
1029impl ::core::clone::Clone for SPC_SERIALIZED_OBJECT {
1030 fn clone(&self) -> Self {
1031 *self
1032 }
1033}
1034#[repr(C)]
04454e1e 1035#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
5e7ed085
FG
1036pub struct SPC_SIGINFO {
1037 pub dwSipVersion: u32,
1038 pub gSIPGuid: ::windows_sys::core::GUID,
1039 pub dwReserved1: u32,
1040 pub dwReserved2: u32,
1041 pub dwReserved3: u32,
1042 pub dwReserved4: u32,
1043 pub dwReserved5: u32,
1044}
1045impl ::core::marker::Copy for SPC_SIGINFO {}
1046impl ::core::clone::Clone for SPC_SIGINFO {
1047 fn clone(&self) -> Self {
1048 *self
1049 }
1050}
5e7ed085 1051#[repr(C)]
04454e1e
FG
1052#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
1053#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
1054pub struct SPC_SP_AGENCY_INFO {
1055 pub pPolicyInformation: *mut SPC_LINK,
04454e1e 1056 pub pwszPolicyDisplayText: ::windows_sys::core::PWSTR,
5e7ed085
FG
1057 pub pLogoImage: *mut SPC_IMAGE,
1058 pub pLogoLink: *mut SPC_LINK,
1059}
04454e1e 1060#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085 1061impl ::core::marker::Copy for SPC_SP_AGENCY_INFO {}
04454e1e 1062#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
1063impl ::core::clone::Clone for SPC_SP_AGENCY_INFO {
1064 fn clone(&self) -> Self {
1065 *self
1066 }
1067}
6522a427
EL
1068#[repr(C)]
1069#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
1070#[cfg(feature = "Win32_Security_Cryptography")]
1071pub struct SPC_SP_OPUS_INFO {
1072 pub pwszProgramName: ::windows_sys::core::PCWSTR,
1073 pub pMoreInfo: *mut SPC_LINK,
1074 pub pPublisherInfo: *mut SPC_LINK,
1075}
1076#[cfg(feature = "Win32_Security_Cryptography")]
1077impl ::core::marker::Copy for SPC_SP_OPUS_INFO {}
1078#[cfg(feature = "Win32_Security_Cryptography")]
1079impl ::core::clone::Clone for SPC_SP_OPUS_INFO {
1080 fn clone(&self) -> Self {
1081 *self
1082 }
1083}
5e7ed085 1084#[repr(C)]
04454e1e 1085#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
6522a427
EL
1086pub struct SPC_STATEMENT_TYPE {
1087 pub cKeyPurposeId: u32,
1088 pub rgpszKeyPurposeId: *mut ::windows_sys::core::PSTR,
1089}
1090impl ::core::marker::Copy for SPC_STATEMENT_TYPE {}
1091impl ::core::clone::Clone for SPC_STATEMENT_TYPE {
1092 fn clone(&self) -> Self {
1093 *self
1094 }
1095}
5e7ed085 1096#[repr(C)]
04454e1e 1097#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
5e7ed085
FG
1098pub struct WINTRUST_BLOB_INFO {
1099 pub cbStruct: u32,
1100 pub gSubject: ::windows_sys::core::GUID,
04454e1e 1101 pub pcwszDisplayName: ::windows_sys::core::PCWSTR,
5e7ed085
FG
1102 pub cbMemObject: u32,
1103 pub pbMemObject: *mut u8,
1104 pub cbMemSignedMsg: u32,
1105 pub pbMemSignedMsg: *mut u8,
1106}
5e7ed085 1107impl ::core::marker::Copy for WINTRUST_BLOB_INFO {}
5e7ed085
FG
1108impl ::core::clone::Clone for WINTRUST_BLOB_INFO {
1109 fn clone(&self) -> Self {
1110 *self
1111 }
1112}
1113#[repr(C)]
04454e1e 1114#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
5e7ed085
FG
1115#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1116pub struct WINTRUST_CATALOG_INFO {
1117 pub cbStruct: u32,
1118 pub dwCatalogVersion: u32,
04454e1e
FG
1119 pub pcwszCatalogFilePath: ::windows_sys::core::PCWSTR,
1120 pub pcwszMemberTag: ::windows_sys::core::PCWSTR,
1121 pub pcwszMemberFilePath: ::windows_sys::core::PCWSTR,
5e7ed085
FG
1122 pub hMemberFile: super::super::Foundation::HANDLE,
1123 pub pbCalculatedFileHash: *mut u8,
1124 pub cbCalculatedFileHash: u32,
1125 pub pcCatalogContext: *mut super::Cryptography::CTL_CONTEXT,
1126 pub hCatAdmin: isize,
1127}
1128#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1129impl ::core::marker::Copy for WINTRUST_CATALOG_INFO {}
1130#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1131impl ::core::clone::Clone for WINTRUST_CATALOG_INFO {
1132 fn clone(&self) -> Self {
1133 *self
1134 }
1135}
1136#[repr(C)]
04454e1e 1137#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
5e7ed085
FG
1138#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1139pub struct WINTRUST_CERT_INFO {
1140 pub cbStruct: u32,
04454e1e 1141 pub pcwszDisplayName: ::windows_sys::core::PCWSTR,
5e7ed085
FG
1142 pub psCertContext: *mut super::Cryptography::CERT_CONTEXT,
1143 pub chStores: u32,
1144 pub pahStores: *mut super::Cryptography::HCERTSTORE,
1145 pub dwFlags: u32,
1146 pub psftVerifyAsOf: *mut super::super::Foundation::FILETIME,
1147}
1148#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1149impl ::core::marker::Copy for WINTRUST_CERT_INFO {}
1150#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1151impl ::core::clone::Clone for WINTRUST_CERT_INFO {
1152 fn clone(&self) -> Self {
1153 *self
1154 }
1155}
5e7ed085 1156#[repr(C)]
04454e1e 1157#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
5e7ed085
FG
1158#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1159pub struct WINTRUST_DATA {
1160 pub cbStruct: u32,
1161 pub pPolicyCallbackData: *mut ::core::ffi::c_void,
1162 pub pSIPClientData: *mut ::core::ffi::c_void,
1163 pub dwUIChoice: WINTRUST_DATA_UICHOICE,
1164 pub fdwRevocationChecks: WINTRUST_DATA_REVOCATION_CHECKS,
1165 pub dwUnionChoice: WINTRUST_DATA_UNION_CHOICE,
1166 pub Anonymous: WINTRUST_DATA_0,
1167 pub dwStateAction: WINTRUST_DATA_STATE_ACTION,
1168 pub hWVTStateData: super::super::Foundation::HANDLE,
04454e1e 1169 pub pwszURLReference: ::windows_sys::core::PWSTR,
5e7ed085
FG
1170 pub dwProvFlags: WINTRUST_DATA_PROVIDER_FLAGS,
1171 pub dwUIContext: WINTRUST_DATA_UICONTEXT,
1172 pub pSignatureSettings: *mut WINTRUST_SIGNATURE_SETTINGS,
1173}
1174#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1175impl ::core::marker::Copy for WINTRUST_DATA {}
1176#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1177impl ::core::clone::Clone for WINTRUST_DATA {
1178 fn clone(&self) -> Self {
1179 *self
1180 }
1181}
1182#[repr(C)]
04454e1e 1183#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
5e7ed085
FG
1184#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1185pub union WINTRUST_DATA_0 {
1186 pub pFile: *mut WINTRUST_FILE_INFO,
1187 pub pCatalog: *mut WINTRUST_CATALOG_INFO,
1188 pub pBlob: *mut WINTRUST_BLOB_INFO,
1189 pub pSgnr: *mut WINTRUST_SGNR_INFO,
1190 pub pCert: *mut WINTRUST_CERT_INFO,
1191}
1192#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1193impl ::core::marker::Copy for WINTRUST_DATA_0 {}
1194#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1195impl ::core::clone::Clone for WINTRUST_DATA_0 {
1196 fn clone(&self) -> Self {
1197 *self
1198 }
1199}
5e7ed085 1200#[repr(C)]
04454e1e 1201#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1202#[cfg(feature = "Win32_Foundation")]
1203pub struct WINTRUST_FILE_INFO {
1204 pub cbStruct: u32,
04454e1e 1205 pub pcwszFilePath: ::windows_sys::core::PCWSTR,
5e7ed085
FG
1206 pub hFile: super::super::Foundation::HANDLE,
1207 pub pgKnownSubject: *mut ::windows_sys::core::GUID,
1208}
1209#[cfg(feature = "Win32_Foundation")]
1210impl ::core::marker::Copy for WINTRUST_FILE_INFO {}
1211#[cfg(feature = "Win32_Foundation")]
1212impl ::core::clone::Clone for WINTRUST_FILE_INFO {
1213 fn clone(&self) -> Self {
1214 *self
1215 }
1216}
5e7ed085 1217#[repr(C)]
04454e1e
FG
1218#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
1219#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
1220pub struct WINTRUST_SGNR_INFO {
1221 pub cbStruct: u32,
04454e1e 1222 pub pcwszDisplayName: ::windows_sys::core::PCWSTR,
5e7ed085
FG
1223 pub psSignerInfo: *mut super::Cryptography::CMSG_SIGNER_INFO,
1224 pub chStores: u32,
1225 pub pahStores: *mut super::Cryptography::HCERTSTORE,
1226}
04454e1e 1227#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085 1228impl ::core::marker::Copy for WINTRUST_SGNR_INFO {}
04454e1e 1229#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
1230impl ::core::clone::Clone for WINTRUST_SGNR_INFO {
1231 fn clone(&self) -> Self {
1232 *self
1233 }
1234}
1235#[repr(C)]
04454e1e
FG
1236#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
1237#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
1238pub struct WINTRUST_SIGNATURE_SETTINGS {
1239 pub cbStruct: u32,
1240 pub dwIndex: u32,
1241 pub dwFlags: WINTRUST_SIGNATURE_SETTINGS_FLAGS,
1242 pub cSecondarySigs: u32,
1243 pub dwVerifiedSigIndex: u32,
1244 pub pCryptoPolicy: *mut super::Cryptography::CERT_STRONG_SIGN_PARA,
1245}
04454e1e 1246#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085 1247impl ::core::marker::Copy for WINTRUST_SIGNATURE_SETTINGS {}
04454e1e 1248#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
1249impl ::core::clone::Clone for WINTRUST_SIGNATURE_SETTINGS {
1250 fn clone(&self) -> Self {
1251 *self
1252 }
1253}
5e7ed085 1254#[repr(C)]
04454e1e 1255#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
5e7ed085
FG
1256pub struct WIN_CERTIFICATE {
1257 pub dwLength: u32,
1258 pub wRevision: u16,
1259 pub wCertificateType: u16,
1260 pub bCertificate: [u8; 1],
1261}
1262impl ::core::marker::Copy for WIN_CERTIFICATE {}
1263impl ::core::clone::Clone for WIN_CERTIFICATE {
1264 fn clone(&self) -> Self {
1265 *self
1266 }
1267}
5e7ed085 1268#[repr(C)]
04454e1e 1269#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1270#[cfg(feature = "Win32_Foundation")]
1271pub struct WIN_SPUB_TRUSTED_PUBLISHER_DATA {
1272 pub hClientToken: super::super::Foundation::HANDLE,
1273 pub lpCertificate: *mut WIN_CERTIFICATE,
1274}
1275#[cfg(feature = "Win32_Foundation")]
1276impl ::core::marker::Copy for WIN_SPUB_TRUSTED_PUBLISHER_DATA {}
1277#[cfg(feature = "Win32_Foundation")]
1278impl ::core::clone::Clone for WIN_SPUB_TRUSTED_PUBLISHER_DATA {
1279 fn clone(&self) -> Self {
1280 *self
1281 }
1282}
1283#[repr(C)]
04454e1e 1284#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1285#[cfg(feature = "Win32_Foundation")]
1286pub struct WIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT {
1287 pub hClientToken: super::super::Foundation::HANDLE,
1288 pub SubjectType: *mut ::windows_sys::core::GUID,
1289 pub Subject: *mut ::core::ffi::c_void,
1290}
1291#[cfg(feature = "Win32_Foundation")]
1292impl ::core::marker::Copy for WIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT {}
1293#[cfg(feature = "Win32_Foundation")]
1294impl ::core::clone::Clone for WIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT {
1295 fn clone(&self) -> Self {
1296 *self
1297 }
1298}
1299#[repr(C)]
04454e1e 1300#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
5e7ed085
FG
1301pub struct WIN_TRUST_ACTDATA_SUBJECT_ONLY {
1302 pub SubjectType: *mut ::windows_sys::core::GUID,
1303 pub Subject: *mut ::core::ffi::c_void,
1304}
1305impl ::core::marker::Copy for WIN_TRUST_ACTDATA_SUBJECT_ONLY {}
1306impl ::core::clone::Clone for WIN_TRUST_ACTDATA_SUBJECT_ONLY {
1307 fn clone(&self) -> Self {
1308 *self
1309 }
1310}
1311#[repr(C)]
04454e1e 1312#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1313#[cfg(feature = "Win32_Foundation")]
1314pub struct WIN_TRUST_SUBJECT_FILE {
1315 pub hFile: super::super::Foundation::HANDLE,
04454e1e 1316 pub lpPath: ::windows_sys::core::PCWSTR,
5e7ed085
FG
1317}
1318#[cfg(feature = "Win32_Foundation")]
1319impl ::core::marker::Copy for WIN_TRUST_SUBJECT_FILE {}
1320#[cfg(feature = "Win32_Foundation")]
1321impl ::core::clone::Clone for WIN_TRUST_SUBJECT_FILE {
1322 fn clone(&self) -> Self {
1323 *self
1324 }
1325}
1326#[repr(C)]
04454e1e 1327#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1328#[cfg(feature = "Win32_Foundation")]
1329pub struct WIN_TRUST_SUBJECT_FILE_AND_DISPLAY {
1330 pub hFile: super::super::Foundation::HANDLE,
04454e1e
FG
1331 pub lpPath: ::windows_sys::core::PCWSTR,
1332 pub lpDisplayName: ::windows_sys::core::PCWSTR,
5e7ed085
FG
1333}
1334#[cfg(feature = "Win32_Foundation")]
1335impl ::core::marker::Copy for WIN_TRUST_SUBJECT_FILE_AND_DISPLAY {}
1336#[cfg(feature = "Win32_Foundation")]
1337impl ::core::clone::Clone for WIN_TRUST_SUBJECT_FILE_AND_DISPLAY {
1338 fn clone(&self) -> Self {
1339 *self
1340 }
1341}
5e7ed085 1342#[repr(C)]
04454e1e
FG
1343#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
1344#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
1345pub struct WTD_GENERIC_CHAIN_POLICY_CREATE_INFO {
1346 pub Anonymous: WTD_GENERIC_CHAIN_POLICY_CREATE_INFO_0,
1347 pub hChainEngine: super::Cryptography::HCERTCHAINENGINE,
1348 pub pChainPara: *mut super::Cryptography::CERT_CHAIN_PARA,
1349 pub dwFlags: u32,
1350 pub pvReserved: *mut ::core::ffi::c_void,
1351}
04454e1e 1352#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085 1353impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_CREATE_INFO {}
04454e1e 1354#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
1355impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_CREATE_INFO {
1356 fn clone(&self) -> Self {
1357 *self
1358 }
1359}
1360#[repr(C)]
04454e1e
FG
1361#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
1362#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
1363pub union WTD_GENERIC_CHAIN_POLICY_CREATE_INFO_0 {
1364 pub cbStruct: u32,
1365 pub cbSize: u32,
1366}
04454e1e 1367#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085 1368impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_CREATE_INFO_0 {}
04454e1e 1369#[cfg(feature = "Win32_Security_Cryptography")]
5e7ed085
FG
1370impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_CREATE_INFO_0 {
1371 fn clone(&self) -> Self {
1372 *self
1373 }
1374}
1375#[repr(C)]
04454e1e
FG
1376#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1377#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085
FG
1378pub struct WTD_GENERIC_CHAIN_POLICY_DATA {
1379 pub Anonymous: WTD_GENERIC_CHAIN_POLICY_DATA_0,
1380 pub pSignerChainInfo: *mut WTD_GENERIC_CHAIN_POLICY_CREATE_INFO,
1381 pub pCounterSignerChainInfo: *mut WTD_GENERIC_CHAIN_POLICY_CREATE_INFO,
1382 pub pfnPolicyCallback: PFN_WTD_GENERIC_CHAIN_POLICY_CALLBACK,
1383 pub pvPolicyArg: *mut ::core::ffi::c_void,
1384}
04454e1e 1385#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085 1386impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_DATA {}
04454e1e 1387#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085
FG
1388impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_DATA {
1389 fn clone(&self) -> Self {
1390 *self
1391 }
1392}
1393#[repr(C)]
04454e1e
FG
1394#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1395#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085
FG
1396pub union WTD_GENERIC_CHAIN_POLICY_DATA_0 {
1397 pub cbStruct: u32,
1398 pub cbSize: u32,
1399}
04454e1e 1400#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085 1401impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_DATA_0 {}
04454e1e 1402#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
5e7ed085
FG
1403impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_DATA_0 {
1404 fn clone(&self) -> Self {
1405 *self
1406 }
1407}
1408#[repr(C)]
04454e1e 1409#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
5e7ed085
FG
1410#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1411pub struct WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO {
1412 pub Anonymous: WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO_0,
1413 pub pChainContext: *mut super::Cryptography::CERT_CHAIN_CONTEXT,
1414 pub dwSignerType: u32,
1415 pub pMsgSignerInfo: *mut super::Cryptography::CMSG_SIGNER_INFO,
1416 pub dwError: u32,
1417 pub cCounterSigner: u32,
1418 pub rgpCounterSigner: *mut *mut WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO,
1419}
1420#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1421impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO {}
1422#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1423impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO {
1424 fn clone(&self) -> Self {
1425 *self
1426 }
1427}
1428#[repr(C)]
04454e1e 1429#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
5e7ed085
FG
1430#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1431pub union WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO_0 {
1432 pub cbStruct: u32,
1433 pub cbSize: u32,
1434}
1435#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1436impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO_0 {}
1437#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1438impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO_0 {
1439 fn clone(&self) -> Self {
1440 *self
1441 }
1442}
6522a427
EL
1443#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
1444#[cfg(feature = "Win32_Foundation")]
1445pub type PFN_ALLOCANDFILLDEFUSAGE = ::core::option::Option<unsafe extern "system" fn(pszusageoid: ::windows_sys::core::PCSTR, psdefusage: *const CRYPT_PROVIDER_DEFUSAGE) -> super::super::Foundation::BOOL>;
1446#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1447#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
1448pub type PFN_CPD_ADD_CERT = ::core::option::Option<unsafe extern "system" fn(pprovdata: *const CRYPT_PROVIDER_DATA, idxsigner: u32, fcountersigner: super::super::Foundation::BOOL, idxcountersigner: u32, pcert2add: *const super::Cryptography::CERT_CONTEXT) -> super::super::Foundation::BOOL>;
1449#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1450#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
1451pub type PFN_CPD_ADD_PRIVDATA = ::core::option::Option<unsafe extern "system" fn(pprovdata: *const CRYPT_PROVIDER_DATA, pprivdata2add: *const CRYPT_PROVIDER_PRIVDATA) -> super::super::Foundation::BOOL>;
1452#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1453#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
1454pub type PFN_CPD_ADD_SGNR = ::core::option::Option<unsafe extern "system" fn(pprovdata: *const CRYPT_PROVIDER_DATA, fcountersigner: super::super::Foundation::BOOL, idxsigner: u32, psgnr2add: *const CRYPT_PROVIDER_SGNR) -> super::super::Foundation::BOOL>;
1455#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1456#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
1457pub type PFN_CPD_ADD_STORE = ::core::option::Option<unsafe extern "system" fn(pprovdata: *const CRYPT_PROVIDER_DATA, hstore2add: super::Cryptography::HCERTSTORE) -> super::super::Foundation::BOOL>;
04454e1e 1458#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
6522a427 1459pub type PFN_CPD_MEM_ALLOC = ::core::option::Option<unsafe extern "system" fn(cbsize: u32) -> *mut ::core::ffi::c_void>;
04454e1e 1460#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
6522a427
EL
1461pub type PFN_CPD_MEM_FREE = ::core::option::Option<unsafe extern "system" fn(pvmem2free: *const ::core::ffi::c_void) -> ()>;
1462#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
1463#[cfg(feature = "Win32_Foundation")]
1464pub type PFN_FREEDEFUSAGE = ::core::option::Option<unsafe extern "system" fn(pszusageoid: ::windows_sys::core::PCSTR, psdefusage: *const CRYPT_PROVIDER_DEFUSAGE) -> super::super::Foundation::BOOL>;
1465#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1466#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
1467pub type PFN_PROVIDER_CERTCHKPOLICY_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *const CRYPT_PROVIDER_DATA, idxsigner: u32, fcountersignerchain: super::super::Foundation::BOOL, idxcountersigner: u32) -> super::super::Foundation::BOOL>;
1468#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1469#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
1470pub type PFN_PROVIDER_CERTTRUST_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT>;
1471#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1472#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
1473pub type PFN_PROVIDER_CLEANUP_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT>;
1474#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1475#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
1476pub type PFN_PROVIDER_FINALPOLICY_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT>;
1477#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1478#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
1479pub type PFN_PROVIDER_INIT_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT>;
1480#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1481#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
1482pub type PFN_PROVIDER_OBJTRUST_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT>;
1483#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1484#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
1485pub type PFN_PROVIDER_SIGTRUST_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT>;
1486#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1487#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
1488pub type PFN_PROVIDER_TESTFINALPOLICY_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT>;
1489#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1490#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
1491pub type PFN_PROVUI_CALL = ::core::option::Option<unsafe extern "system" fn(hwndsecuritydialog: super::super::Foundation::HWND, pprovdata: *const CRYPT_PROVIDER_DATA) -> super::super::Foundation::BOOL>;
1492#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
1493#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
1494pub type PFN_WTD_GENERIC_CHAIN_POLICY_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA, dwsteperror: u32, dwregpolicysettings: u32, csigner: u32, rgpsigner: *mut *mut WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO, pvpolicyarg: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;