Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs

raw
1 #[cfg(feature = "Win32_Foundation")]
2 ::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSelectionGetSerializedBlob(pcsi : *const CERT_SELECTUI_INPUT, ppoutbuffer : *mut *mut ::core::ffi::c_void, puloutbuffersize : *mut u32) -> ::windows_sys::core::HRESULT);
3 #[cfg(feature = "Win32_Foundation")]
4 ::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIDlgCertMgr(pcryptuicertmgr : *const CRYPTUI_CERT_MGR_STRUCT) -> super::super::super::Foundation:: BOOL);
5 #[cfg(feature = "Win32_Foundation")]
6 ::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIDlgSelectCertificateFromStore(hcertstore : super:: HCERTSTORE, hwnd : super::super::super::Foundation:: HWND, pwsztitle : ::windows_sys::core::PCWSTR, pwszdisplaystring : ::windows_sys::core::PCWSTR, dwdontusecolumn : u32, dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> *mut super:: CERT_CONTEXT);
7 #[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"))]
8 ::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn CryptUIDlgViewCertificateA(pcertviewinfo : *const CRYPTUI_VIEWCERTIFICATE_STRUCTA, pfpropertieschanged : *mut super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL);
9 #[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"))]
10 ::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn CryptUIDlgViewCertificateW(pcertviewinfo : *const CRYPTUI_VIEWCERTIFICATE_STRUCTW, pfpropertieschanged : *mut super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL);
11 #[cfg(feature = "Win32_Foundation")]
12 ::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIDlgViewContext(dwcontexttype : u32, pvcontext : *const ::core::ffi::c_void, hwnd : super::super::super::Foundation:: HWND, pwsztitle : ::windows_sys::core::PCWSTR, dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> super::super::super::Foundation:: BOOL);
13 #[cfg(feature = "Win32_Foundation")]
14 ::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIWizDigitalSign(dwflags : u32, hwndparent : super::super::super::Foundation:: HWND, pwszwizardtitle : ::windows_sys::core::PCWSTR, pdigitalsigninfo : *const CRYPTUI_WIZ_DIGITAL_SIGN_INFO, ppsigncontext : *mut *mut CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT) -> super::super::super::Foundation:: BOOL);
15 #[cfg(feature = "Win32_Foundation")]
16 ::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIWizExport(dwflags : CRYPTUI_WIZ_FLAGS, hwndparent : super::super::super::Foundation:: HWND, pwszwizardtitle : ::windows_sys::core::PCWSTR, pexportinfo : *const CRYPTUI_WIZ_EXPORT_INFO, pvoid : *const ::core::ffi::c_void) -> super::super::super::Foundation:: BOOL);
17 #[cfg(feature = "Win32_Foundation")]
18 ::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIWizFreeDigitalSignContext(psigncontext : *const CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT) -> super::super::super::Foundation:: BOOL);
19 #[cfg(feature = "Win32_Foundation")]
20 ::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIWizImport(dwflags : CRYPTUI_WIZ_FLAGS, hwndparent : super::super::super::Foundation:: HWND, pwszwizardtitle : ::windows_sys::core::PCWSTR, pimportsrc : *const CRYPTUI_WIZ_IMPORT_SRC_INFO, hdestcertstore : super:: HCERTSTORE) -> super::super::super::Foundation:: BOOL);
21 pub const ACTION_REVOCATION_DEFAULT_CACHE: u32 = 131072u32;
22 pub const ACTION_REVOCATION_DEFAULT_ONLINE: u32 = 65536u32;
23 pub const CERTVIEW_CRYPTUI_LPARAM: u32 = 8388608u32;
24 pub const CERT_CREDENTIAL_PROVIDER_ID: i32 = -509i32;
25 pub const CERT_DISPWELL_DISTRUST_ADD_CA_CERT: u32 = 8u32;
26 pub const CERT_DISPWELL_DISTRUST_ADD_LEAF_CERT: u32 = 9u32;
27 pub const CERT_DISPWELL_DISTRUST_CA_CERT: u32 = 6u32;
28 pub const CERT_DISPWELL_DISTRUST_LEAF_CERT: u32 = 7u32;
29 pub const CERT_DISPWELL_SELECT: u32 = 1u32;
30 pub const CERT_DISPWELL_TRUST_ADD_CA_CERT: u32 = 4u32;
31 pub const CERT_DISPWELL_TRUST_ADD_LEAF_CERT: u32 = 5u32;
32 pub const CERT_DISPWELL_TRUST_CA_CERT: u32 = 2u32;
33 pub const CERT_DISPWELL_TRUST_LEAF_CERT: u32 = 3u32;
34 pub const CERT_FILTER_INCLUDE_V1_CERTS: u32 = 1u32;
35 pub const CERT_FILTER_ISSUER_CERTS_ONLY: u32 = 16u32;
36 pub const CERT_FILTER_KEY_EXISTS: u32 = 32u32;
37 pub const CERT_FILTER_LEAF_CERTS_ONLY: u32 = 8u32;
38 pub const CERT_FILTER_OP_EQUALITY: u32 = 3u32;
39 pub const CERT_FILTER_OP_EXISTS: u32 = 1u32;
40 pub const CERT_FILTER_OP_NOT_EXISTS: u32 = 2u32;
41 pub const CERT_FILTER_VALID_SIGNATURE: u32 = 4u32;
42 pub const CERT_FILTER_VALID_TIME_RANGE: u32 = 2u32;
43 pub const CERT_TRUST_DO_FULL_SEARCH: u32 = 1u32;
44 pub const CERT_TRUST_DO_FULL_TRUST: u32 = 5u32;
45 pub const CERT_TRUST_MASK: u32 = 16777215u32;
46 pub const CERT_TRUST_PERMIT_MISSING_CRLS: u32 = 2u32;
47 pub const CERT_VALIDITY_AFTER_END: u32 = 2u32;
48 pub const CERT_VALIDITY_BEFORE_START: u32 = 1u32;
49 pub const CERT_VALIDITY_CERTIFICATE_REVOKED: u32 = 8u32;
50 pub const CERT_VALIDITY_CRL_OUT_OF_DATE: u32 = 1073741824u32;
51 pub const CERT_VALIDITY_EXPLICITLY_DISTRUSTED: u32 = 16777216u32;
52 pub const CERT_VALIDITY_EXTENDED_USAGE_FAILURE: u32 = 32u32;
53 pub const CERT_VALIDITY_ISSUER_DISTRUST: u32 = 33554432u32;
54 pub const CERT_VALIDITY_ISSUER_INVALID: u32 = 256u32;
55 pub const CERT_VALIDITY_KEY_USAGE_EXT_FAILURE: u32 = 16u32;
56 pub const CERT_VALIDITY_MASK_TRUST: u32 = 4294901760u32;
57 pub const CERT_VALIDITY_MASK_VALIDITY: u32 = 65535u32;
58 pub const CERT_VALIDITY_NAME_CONSTRAINTS_FAILURE: u32 = 64u32;
59 pub const CERT_VALIDITY_NO_CRL_FOUND: u32 = 536870912u32;
60 pub const CERT_VALIDITY_NO_ISSUER_CERT_FOUND: u32 = 268435456u32;
61 pub const CERT_VALIDITY_NO_TRUST_DATA: u32 = 2147483648u32;
62 pub const CERT_VALIDITY_OTHER_ERROR: u32 = 2048u32;
63 pub const CERT_VALIDITY_OTHER_EXTENSION_FAILURE: u32 = 512u32;
64 pub const CERT_VALIDITY_PERIOD_NESTING_FAILURE: u32 = 1024u32;
65 pub const CERT_VALIDITY_SIGNATURE_FAILS: u32 = 4u32;
66 pub const CERT_VALIDITY_UNKNOWN_CRITICAL_EXTENSION: u32 = 128u32;
67 pub const CM_ADD_CERT_STORES: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 512u32;
68 pub const CM_ENABLEHOOK: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 1u32;
69 pub const CM_ENABLETEMPLATE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 8u32;
70 pub const CM_HIDE_ADVANCEPAGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 16u32;
71 pub const CM_HIDE_DETAILPAGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 256u32;
72 pub const CM_HIDE_TRUSTPAGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 32u32;
73 pub const CM_NO_EDITTRUST: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 128u32;
74 pub const CM_NO_NAMECHANGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 64u32;
75 pub const CM_SHOW_HELP: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 2u32;
76 pub const CM_SHOW_HELPICON: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 4u32;
77 pub const CM_VIEWFLAGS_MASK: u32 = 16777215u32;
78 pub const CRYPTDLG_ACTION_MASK: u32 = 4294901760u32;
79 pub const CRYPTDLG_CACHE_ONLY_URL_RETRIEVAL: u32 = 268435456u32;
80 pub const CRYPTDLG_DISABLE_AIA: u32 = 134217728u32;
81 pub const CRYPTDLG_POLICY_MASK: u32 = 65535u32;
82 pub const CRYPTDLG_REVOCATION_CACHE: u32 = 1073741824u32;
83 pub const CRYPTDLG_REVOCATION_DEFAULT: u32 = 0u32;
84 pub const CRYPTDLG_REVOCATION_NONE: u32 = 536870912u32;
85 pub const CRYPTDLG_REVOCATION_ONLINE: u32 = 2147483648u32;
86 pub const CRYPTUI_ACCEPT_DECLINE_STYLE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 64u32;
87 pub const CRYPTUI_CACHE_ONLY_URL_RETRIEVAL: CRYPTUI_VIEWCERTIFICATE_FLAGS = 262144u32;
88 pub const CRYPTUI_CERT_MGR_PUBLISHER_TAB: u32 = 4u32;
89 pub const CRYPTUI_CERT_MGR_SINGLE_TAB_FLAG: u32 = 32768u32;
90 pub const CRYPTUI_CERT_MGR_TAB_MASK: u32 = 15u32;
91 pub const CRYPTUI_DISABLE_ADDTOSTORE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 16u32;
92 pub const CRYPTUI_DISABLE_EDITPROPERTIES: CRYPTUI_VIEWCERTIFICATE_FLAGS = 4u32;
93 pub const CRYPTUI_DISABLE_EXPORT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 8192u32;
94 pub const CRYPTUI_DISABLE_HTMLLINK: CRYPTUI_VIEWCERTIFICATE_FLAGS = 65536u32;
95 pub const CRYPTUI_DISABLE_ISSUERSTATEMENT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 131072u32;
96 pub const CRYPTUI_DONT_OPEN_STORES: CRYPTUI_VIEWCERTIFICATE_FLAGS = 256u32;
97 pub const CRYPTUI_ENABLE_ADDTOSTORE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 32u32;
98 pub const CRYPTUI_ENABLE_EDITPROPERTIES: CRYPTUI_VIEWCERTIFICATE_FLAGS = 8u32;
99 pub const CRYPTUI_ENABLE_REVOCATION_CHECKING: CRYPTUI_VIEWCERTIFICATE_FLAGS = 2048u32;
100 pub const CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN: CRYPTUI_VIEWCERTIFICATE_FLAGS = 32768u32;
101 pub const CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 2048u32;
102 pub const CRYPTUI_ENABLE_REVOCATION_CHECK_END_CERT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 16384u32;
103 pub const CRYPTUI_HIDE_DETAILPAGE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 2u32;
104 pub const CRYPTUI_HIDE_HIERARCHYPAGE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 1u32;
105 pub const CRYPTUI_IGNORE_UNTRUSTED_ROOT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 128u32;
106 pub const CRYPTUI_ONLY_OPEN_ROOT_STORE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 512u32;
107 pub const CRYPTUI_SELECT_EXPIRATION_COLUMN: u64 = 32u64;
108 pub const CRYPTUI_SELECT_FRIENDLYNAME_COLUMN: u64 = 8u64;
109 pub const CRYPTUI_SELECT_INTENDEDUSE_COLUMN: u64 = 4u64;
110 pub const CRYPTUI_SELECT_ISSUEDBY_COLUMN: u64 = 2u64;
111 pub const CRYPTUI_SELECT_ISSUEDTO_COLUMN: u64 = 1u64;
112 pub const CRYPTUI_SELECT_LOCATION_COLUMN: u64 = 16u64;
113 pub const CRYPTUI_WARN_REMOTE_TRUST: CRYPTUI_VIEWCERTIFICATE_FLAGS = 4096u32;
114 pub const CRYPTUI_WARN_UNTRUSTED_ROOT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 1024u32;
115 pub const CRYPTUI_WIZ_DIGITAL_SIGN_ADD_CHAIN: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = 1u32;
116 pub const CRYPTUI_WIZ_DIGITAL_SIGN_ADD_CHAIN_NO_ROOT: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = 2u32;
117 pub const CRYPTUI_WIZ_DIGITAL_SIGN_ADD_NONE: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = 0u32;
118 pub const CRYPTUI_WIZ_DIGITAL_SIGN_CERT: CRYPTUI_WIZ_DIGITAL_SIGN = 1u32;
119 pub const CRYPTUI_WIZ_DIGITAL_SIGN_COMMERCIAL: CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE = 1u32;
120 pub const CRYPTUI_WIZ_DIGITAL_SIGN_EXCLUDE_PAGE_HASHES: u32 = 2u32;
121 pub const CRYPTUI_WIZ_DIGITAL_SIGN_INCLUDE_PAGE_HASHES: u32 = 4u32;
122 pub const CRYPTUI_WIZ_DIGITAL_SIGN_INDIVIDUAL: CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE = 2u32;
123 pub const CRYPTUI_WIZ_DIGITAL_SIGN_NONE: CRYPTUI_WIZ_DIGITAL_SIGN = 0u32;
124 pub const CRYPTUI_WIZ_DIGITAL_SIGN_PVK: CRYPTUI_WIZ_DIGITAL_SIGN = 3u32;
125 pub const CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE: CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION = 1u32;
126 pub const CRYPTUI_WIZ_DIGITAL_SIGN_PVK_PROV: CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION = 2u32;
127 pub const CRYPTUI_WIZ_DIGITAL_SIGN_STORE: CRYPTUI_WIZ_DIGITAL_SIGN = 2u32;
128 pub const CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT_BLOB: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = 2u32;
129 pub const CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT_FILE: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = 1u32;
130 pub const CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT_NONE: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = 0u32;
131 pub const CRYPTUI_WIZ_EXPORT_CERT_CONTEXT: CRYPTUI_WIZ_EXPORT_SUBJECT = 1u32;
132 pub const CRYPTUI_WIZ_EXPORT_CERT_STORE: CRYPTUI_WIZ_EXPORT_SUBJECT = 4u32;
133 pub const CRYPTUI_WIZ_EXPORT_CERT_STORE_CERTIFICATES_ONLY: CRYPTUI_WIZ_EXPORT_SUBJECT = 5u32;
134 pub const CRYPTUI_WIZ_EXPORT_CRL_CONTEXT: CRYPTUI_WIZ_EXPORT_SUBJECT = 3u32;
135 pub const CRYPTUI_WIZ_EXPORT_CTL_CONTEXT: CRYPTUI_WIZ_EXPORT_SUBJECT = 2u32;
136 pub const CRYPTUI_WIZ_EXPORT_FORMAT_BASE64: CRYPTUI_WIZ_EXPORT_FORMAT = 4u32;
137 pub const CRYPTUI_WIZ_EXPORT_FORMAT_CRL: CRYPTUI_WIZ_EXPORT_FORMAT = 6u32;
138 pub const CRYPTUI_WIZ_EXPORT_FORMAT_CTL: CRYPTUI_WIZ_EXPORT_FORMAT = 7u32;
139 pub const CRYPTUI_WIZ_EXPORT_FORMAT_DER: CRYPTUI_WIZ_EXPORT_FORMAT = 1u32;
140 pub const CRYPTUI_WIZ_EXPORT_FORMAT_PFX: CRYPTUI_WIZ_EXPORT_FORMAT = 2u32;
141 pub const CRYPTUI_WIZ_EXPORT_FORMAT_PKCS7: CRYPTUI_WIZ_EXPORT_FORMAT = 3u32;
142 pub const CRYPTUI_WIZ_EXPORT_FORMAT_SERIALIZED_CERT_STORE: u32 = 5u32;
143 pub const CRYPTUI_WIZ_EXPORT_NO_DELETE_PRIVATE_KEY: CRYPTUI_WIZ_FLAGS = 512u32;
144 pub const CRYPTUI_WIZ_EXPORT_PRIVATE_KEY: CRYPTUI_WIZ_FLAGS = 256u32;
145 pub const CRYPTUI_WIZ_IGNORE_NO_UI_FLAG_FOR_CSPS: CRYPTUI_WIZ_FLAGS = 2u32;
146 pub const CRYPTUI_WIZ_IMPORT_ALLOW_CERT: CRYPTUI_WIZ_FLAGS = 131072u32;
147 pub const CRYPTUI_WIZ_IMPORT_ALLOW_CRL: CRYPTUI_WIZ_FLAGS = 262144u32;
148 pub const CRYPTUI_WIZ_IMPORT_ALLOW_CTL: CRYPTUI_WIZ_FLAGS = 524288u32;
149 pub const CRYPTUI_WIZ_IMPORT_NO_CHANGE_DEST_STORE: CRYPTUI_WIZ_FLAGS = 65536u32;
150 pub const CRYPTUI_WIZ_IMPORT_REMOTE_DEST_STORE: CRYPTUI_WIZ_FLAGS = 4194304u32;
151 pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_CONTEXT: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 2u32;
152 pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_STORE: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 5u32;
153 pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CRL_CONTEXT: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 4u32;
154 pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CTL_CONTEXT: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 3u32;
155 pub const CRYPTUI_WIZ_IMPORT_SUBJECT_FILE: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 1u32;
156 pub const CRYPTUI_WIZ_IMPORT_TO_CURRENTUSER: CRYPTUI_WIZ_FLAGS = 2097152u32;
157 pub const CRYPTUI_WIZ_IMPORT_TO_LOCALMACHINE: CRYPTUI_WIZ_FLAGS = 1048576u32;
158 pub const CRYPTUI_WIZ_NO_UI: CRYPTUI_WIZ_FLAGS = 1u32;
159 pub const CRYPTUI_WIZ_NO_UI_EXCEPT_CSP: CRYPTUI_WIZ_FLAGS = 3u32;
160 pub const CRYTPDLG_FLAGS_MASK: u32 = 4278190080u32;
161 pub const CSS_ALLOWMULTISELECT: CERT_SELECT_STRUCT_FLAGS = 4u32;
162 pub const CSS_ENABLEHOOK: CERT_SELECT_STRUCT_FLAGS = 2u32;
163 pub const CSS_ENABLETEMPLATE: CERT_SELECT_STRUCT_FLAGS = 32u32;
164 pub const CSS_ENABLETEMPLATEHANDLE: CERT_SELECT_STRUCT_FLAGS = 64u32;
165 pub const CSS_HIDE_PROPERTIES: CERT_SELECT_STRUCT_FLAGS = 1u32;
166 pub const CSS_SELECTCERT_MASK: u32 = 16777215u32;
167 pub const CSS_SHOW_HELP: CERT_SELECT_STRUCT_FLAGS = 16u32;
168 pub const CTL_MODIFY_REQUEST_ADD_NOT_TRUSTED: CTL_MODIFY_REQUEST_OPERATION = 1u32;
169 pub const CTL_MODIFY_REQUEST_ADD_TRUSTED: CTL_MODIFY_REQUEST_OPERATION = 3u32;
170 pub const CTL_MODIFY_REQUEST_REMOVE: CTL_MODIFY_REQUEST_OPERATION = 2u32;
171 pub const POLICY_IGNORE_NON_CRITICAL_BC: u32 = 1u32;
172 pub const SELCERT_ALGORITHM: u32 = 105u32;
173 pub const SELCERT_CERTLIST: u32 = 102u32;
174 pub const SELCERT_FINEPRINT: u32 = 101u32;
175 pub const SELCERT_ISSUED_TO: u32 = 103u32;
176 pub const SELCERT_PROPERTIES: u32 = 100u32;
177 pub const SELCERT_SERIAL_NUM: u32 = 106u32;
178 pub const SELCERT_THUMBPRINT: u32 = 107u32;
179 pub const SELCERT_VALIDITY: u32 = 104u32;
180 pub const szCERT_CERTIFICATE_ACTION_VERIFY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("{7801ebd0-cf4b-11d0-851f-0060979387ea}");
181 pub type CERT_SELECT_STRUCT_FLAGS = u32;
182 pub type CERT_VIEWPROPERTIES_STRUCT_FLAGS = u32;
183 pub type CRYPTUI_VIEWCERTIFICATE_FLAGS = u32;
184 pub type CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = u32;
185 pub type CRYPTUI_WIZ_DIGITAL_SIGN = u32;
186 pub type CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION = u32;
187 pub type CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE = u32;
188 pub type CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = u32;
189 pub type CRYPTUI_WIZ_EXPORT_FORMAT = u32;
190 pub type CRYPTUI_WIZ_EXPORT_SUBJECT = u32;
191 pub type CRYPTUI_WIZ_FLAGS = u32;
192 pub type CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = u32;
193 pub type CTL_MODIFY_REQUEST_OPERATION = u32;
194 #[repr(C)]
195 pub struct CERT_FILTER_DATA {
196 pub dwSize: u32,
197 pub cExtensionChecks: u32,
198 pub arrayExtensionChecks: *mut CERT_FILTER_EXTENSION_MATCH,
199 pub dwCheckingFlags: u32,
200 }
201 impl ::core::marker::Copy for CERT_FILTER_DATA {}
202 impl ::core::clone::Clone for CERT_FILTER_DATA {
203 fn clone(&self) -> Self {
204 *self
205 }
206 }
207 #[repr(C)]
208 pub struct CERT_FILTER_EXTENSION_MATCH {
209 pub szExtensionOID: ::windows_sys::core::PCSTR,
210 pub dwTestOperation: u32,
211 pub pbTestData: *mut u8,
212 pub cbTestData: u32,
213 }
214 impl ::core::marker::Copy for CERT_FILTER_EXTENSION_MATCH {}
215 impl ::core::clone::Clone for CERT_FILTER_EXTENSION_MATCH {
216 fn clone(&self) -> Self {
217 *self
218 }
219 }
220 #[repr(C)]
221 #[doc = "Required features: `\"Win32_Foundation\"`"]
222 #[cfg(feature = "Win32_Foundation")]
223 pub struct CERT_SELECTUI_INPUT {
224 pub hStore: super::HCERTSTORE,
225 pub prgpChain: *mut *mut super::CERT_CHAIN_CONTEXT,
226 pub cChain: u32,
227 }
228 #[cfg(feature = "Win32_Foundation")]
229 impl ::core::marker::Copy for CERT_SELECTUI_INPUT {}
230 #[cfg(feature = "Win32_Foundation")]
231 impl ::core::clone::Clone for CERT_SELECTUI_INPUT {
232 fn clone(&self) -> Self {
233 *self
234 }
235 }
236 #[repr(C)]
237 #[doc = "Required features: `\"Win32_Foundation\"`"]
238 #[cfg(feature = "Win32_Foundation")]
239 pub struct CERT_SELECT_STRUCT_A {
240 pub dwSize: u32,
241 pub hwndParent: super::super::super::Foundation::HWND,
242 pub hInstance: super::super::super::Foundation::HINSTANCE,
243 pub pTemplateName: ::windows_sys::core::PCSTR,
244 pub dwFlags: CERT_SELECT_STRUCT_FLAGS,
245 pub szTitle: ::windows_sys::core::PCSTR,
246 pub cCertStore: u32,
247 pub arrayCertStore: *mut super::HCERTSTORE,
248 pub szPurposeOid: ::windows_sys::core::PCSTR,
249 pub cCertContext: u32,
250 pub arrayCertContext: *mut *mut super::CERT_CONTEXT,
251 pub lCustData: super::super::super::Foundation::LPARAM,
252 pub pfnHook: PFNCMHOOKPROC,
253 pub pfnFilter: PFNCMFILTERPROC,
254 pub szHelpFileName: ::windows_sys::core::PCSTR,
255 pub dwHelpId: u32,
256 pub hprov: usize,
257 }
258 #[cfg(feature = "Win32_Foundation")]
259 impl ::core::marker::Copy for CERT_SELECT_STRUCT_A {}
260 #[cfg(feature = "Win32_Foundation")]
261 impl ::core::clone::Clone for CERT_SELECT_STRUCT_A {
262 fn clone(&self) -> Self {
263 *self
264 }
265 }
266 #[repr(C)]
267 #[doc = "Required features: `\"Win32_Foundation\"`"]
268 #[cfg(feature = "Win32_Foundation")]
269 pub struct CERT_SELECT_STRUCT_W {
270 pub dwSize: u32,
271 pub hwndParent: super::super::super::Foundation::HWND,
272 pub hInstance: super::super::super::Foundation::HINSTANCE,
273 pub pTemplateName: ::windows_sys::core::PCWSTR,
274 pub dwFlags: CERT_SELECT_STRUCT_FLAGS,
275 pub szTitle: ::windows_sys::core::PCWSTR,
276 pub cCertStore: u32,
277 pub arrayCertStore: *mut super::HCERTSTORE,
278 pub szPurposeOid: ::windows_sys::core::PCSTR,
279 pub cCertContext: u32,
280 pub arrayCertContext: *mut *mut super::CERT_CONTEXT,
281 pub lCustData: super::super::super::Foundation::LPARAM,
282 pub pfnHook: PFNCMHOOKPROC,
283 pub pfnFilter: PFNCMFILTERPROC,
284 pub szHelpFileName: ::windows_sys::core::PCWSTR,
285 pub dwHelpId: u32,
286 pub hprov: usize,
287 }
288 #[cfg(feature = "Win32_Foundation")]
289 impl ::core::marker::Copy for CERT_SELECT_STRUCT_W {}
290 #[cfg(feature = "Win32_Foundation")]
291 impl ::core::clone::Clone for CERT_SELECT_STRUCT_W {
292 fn clone(&self) -> Self {
293 *self
294 }
295 }
296 #[repr(C)]
297 #[doc = "Required features: `\"Win32_Foundation\"`"]
298 #[cfg(feature = "Win32_Foundation")]
299 pub struct CERT_VERIFY_CERTIFICATE_TRUST {
300 pub cbSize: u32,
301 pub pccert: *const super::CERT_CONTEXT,
302 pub dwFlags: u32,
303 pub dwIgnoreErr: u32,
304 pub pdwErrors: *mut u32,
305 pub pszUsageOid: ::windows_sys::core::PSTR,
306 pub hprov: usize,
307 pub cRootStores: u32,
308 pub rghstoreRoots: *mut super::HCERTSTORE,
309 pub cStores: u32,
310 pub rghstoreCAs: *mut super::HCERTSTORE,
311 pub cTrustStores: u32,
312 pub rghstoreTrust: *mut super::HCERTSTORE,
313 pub lCustData: super::super::super::Foundation::LPARAM,
314 pub pfnTrustHelper: PFNTRUSTHELPER,
315 pub pcChain: *mut u32,
316 pub prgChain: *mut *mut *mut super::CERT_CONTEXT,
317 pub prgdwErrors: *mut *mut u32,
318 pub prgpbTrustInfo: *mut *mut super::CRYPT_INTEGER_BLOB,
319 }
320 #[cfg(feature = "Win32_Foundation")]
321 impl ::core::marker::Copy for CERT_VERIFY_CERTIFICATE_TRUST {}
322 #[cfg(feature = "Win32_Foundation")]
323 impl ::core::clone::Clone for CERT_VERIFY_CERTIFICATE_TRUST {
324 fn clone(&self) -> Self {
325 *self
326 }
327 }
328 #[repr(C)]
329 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"]
330 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
331 pub struct CERT_VIEWPROPERTIES_STRUCT_A {
332 pub dwSize: u32,
333 pub hwndParent: super::super::super::Foundation::HWND,
334 pub hInstance: super::super::super::Foundation::HINSTANCE,
335 pub dwFlags: CERT_VIEWPROPERTIES_STRUCT_FLAGS,
336 pub szTitle: ::windows_sys::core::PCSTR,
337 pub pCertContext: *const super::CERT_CONTEXT,
338 pub arrayPurposes: *mut ::windows_sys::core::PSTR,
339 pub cArrayPurposes: u32,
340 pub cRootStores: u32,
341 pub rghstoreRoots: *mut super::HCERTSTORE,
342 pub cStores: u32,
343 pub rghstoreCAs: *mut super::HCERTSTORE,
344 pub cTrustStores: u32,
345 pub rghstoreTrust: *mut super::HCERTSTORE,
346 pub hprov: usize,
347 pub lCustData: super::super::super::Foundation::LPARAM,
348 pub dwPad: u32,
349 pub szHelpFileName: ::windows_sys::core::PCSTR,
350 pub dwHelpId: u32,
351 pub nStartPage: u32,
352 pub cArrayPropSheetPages: u32,
353 pub arrayPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEA,
354 }
355 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
356 impl ::core::marker::Copy for CERT_VIEWPROPERTIES_STRUCT_A {}
357 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
358 impl ::core::clone::Clone for CERT_VIEWPROPERTIES_STRUCT_A {
359 fn clone(&self) -> Self {
360 *self
361 }
362 }
363 #[repr(C)]
364 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"]
365 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
366 pub struct CERT_VIEWPROPERTIES_STRUCT_W {
367 pub dwSize: u32,
368 pub hwndParent: super::super::super::Foundation::HWND,
369 pub hInstance: super::super::super::Foundation::HINSTANCE,
370 pub dwFlags: CERT_VIEWPROPERTIES_STRUCT_FLAGS,
371 pub szTitle: ::windows_sys::core::PCWSTR,
372 pub pCertContext: *const super::CERT_CONTEXT,
373 pub arrayPurposes: *mut ::windows_sys::core::PSTR,
374 pub cArrayPurposes: u32,
375 pub cRootStores: u32,
376 pub rghstoreRoots: *mut super::HCERTSTORE,
377 pub cStores: u32,
378 pub rghstoreCAs: *mut super::HCERTSTORE,
379 pub cTrustStores: u32,
380 pub rghstoreTrust: *mut super::HCERTSTORE,
381 pub hprov: usize,
382 pub lCustData: super::super::super::Foundation::LPARAM,
383 pub dwPad: u32,
384 pub szHelpFileName: ::windows_sys::core::PCWSTR,
385 pub dwHelpId: u32,
386 pub nStartPage: u32,
387 pub cArrayPropSheetPages: u32,
388 pub arrayPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEA,
389 }
390 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
391 impl ::core::marker::Copy for CERT_VIEWPROPERTIES_STRUCT_W {}
392 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
393 impl ::core::clone::Clone for CERT_VIEWPROPERTIES_STRUCT_W {
394 fn clone(&self) -> Self {
395 *self
396 }
397 }
398 #[repr(C)]
399 #[doc = "Required features: `\"Win32_Foundation\"`"]
400 #[cfg(feature = "Win32_Foundation")]
401 pub struct CRYPTUI_CERT_MGR_STRUCT {
402 pub dwSize: u32,
403 pub hwndParent: super::super::super::Foundation::HWND,
404 pub dwFlags: u32,
405 pub pwszTitle: ::windows_sys::core::PCWSTR,
406 pub pszInitUsageOID: ::windows_sys::core::PCSTR,
407 }
408 #[cfg(feature = "Win32_Foundation")]
409 impl ::core::marker::Copy for CRYPTUI_CERT_MGR_STRUCT {}
410 #[cfg(feature = "Win32_Foundation")]
411 impl ::core::clone::Clone for CRYPTUI_CERT_MGR_STRUCT {
412 fn clone(&self) -> Self {
413 *self
414 }
415 }
416 #[repr(C)]
417 #[doc = "Required features: `\"Win32_Foundation\"`"]
418 #[cfg(feature = "Win32_Foundation")]
419 pub struct CRYPTUI_INITDIALOG_STRUCT {
420 pub lParam: super::super::super::Foundation::LPARAM,
421 pub pCertContext: *const super::CERT_CONTEXT,
422 }
423 #[cfg(feature = "Win32_Foundation")]
424 impl ::core::marker::Copy for CRYPTUI_INITDIALOG_STRUCT {}
425 #[cfg(feature = "Win32_Foundation")]
426 impl ::core::clone::Clone for CRYPTUI_INITDIALOG_STRUCT {
427 fn clone(&self) -> Self {
428 *self
429 }
430 }
431 #[repr(C)]
432 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"]
433 #[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"))]
434 pub struct CRYPTUI_VIEWCERTIFICATE_STRUCTA {
435 pub dwSize: u32,
436 pub hwndParent: super::super::super::Foundation::HWND,
437 pub dwFlags: CRYPTUI_VIEWCERTIFICATE_FLAGS,
438 pub szTitle: ::windows_sys::core::PCSTR,
439 pub pCertContext: *const super::CERT_CONTEXT,
440 pub rgszPurposes: *const ::windows_sys::core::PCSTR,
441 pub cPurposes: u32,
442 pub Anonymous: CRYPTUI_VIEWCERTIFICATE_STRUCTA_0,
443 pub fpCryptProviderDataTrustedUsage: super::super::super::Foundation::BOOL,
444 pub idxSigner: u32,
445 pub idxCert: u32,
446 pub fCounterSigner: super::super::super::Foundation::BOOL,
447 pub idxCounterSigner: u32,
448 pub cStores: u32,
449 pub rghStores: *mut super::HCERTSTORE,
450 pub cPropSheetPages: u32,
451 pub rgPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEA,
452 pub nStartPage: u32,
453 }
454 #[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"))]
455 impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTA {}
456 #[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"))]
457 impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTA {
458 fn clone(&self) -> Self {
459 *self
460 }
461 }
462 #[repr(C)]
463 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"]
464 #[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"))]
465 pub union CRYPTUI_VIEWCERTIFICATE_STRUCTA_0 {
466 pub pCryptProviderData: *const super::super::WinTrust::CRYPT_PROVIDER_DATA,
467 pub hWVTStateData: super::super::super::Foundation::HANDLE,
468 }
469 #[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"))]
470 impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTA_0 {}
471 #[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"))]
472 impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTA_0 {
473 fn clone(&self) -> Self {
474 *self
475 }
476 }
477 #[repr(C)]
478 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"]
479 #[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"))]
480 pub struct CRYPTUI_VIEWCERTIFICATE_STRUCTW {
481 pub dwSize: u32,
482 pub hwndParent: super::super::super::Foundation::HWND,
483 pub dwFlags: CRYPTUI_VIEWCERTIFICATE_FLAGS,
484 pub szTitle: ::windows_sys::core::PCWSTR,
485 pub pCertContext: *const super::CERT_CONTEXT,
486 pub rgszPurposes: *const ::windows_sys::core::PCSTR,
487 pub cPurposes: u32,
488 pub Anonymous: CRYPTUI_VIEWCERTIFICATE_STRUCTW_0,
489 pub fpCryptProviderDataTrustedUsage: super::super::super::Foundation::BOOL,
490 pub idxSigner: u32,
491 pub idxCert: u32,
492 pub fCounterSigner: super::super::super::Foundation::BOOL,
493 pub idxCounterSigner: u32,
494 pub cStores: u32,
495 pub rghStores: *mut super::HCERTSTORE,
496 pub cPropSheetPages: u32,
497 pub rgPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEW,
498 pub nStartPage: u32,
499 }
500 #[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"))]
501 impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTW {}
502 #[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"))]
503 impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTW {
504 fn clone(&self) -> Self {
505 *self
506 }
507 }
508 #[repr(C)]
509 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"]
510 #[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"))]
511 pub union CRYPTUI_VIEWCERTIFICATE_STRUCTW_0 {
512 pub pCryptProviderData: *const super::super::WinTrust::CRYPT_PROVIDER_DATA,
513 pub hWVTStateData: super::super::super::Foundation::HANDLE,
514 }
515 #[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"))]
516 impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTW_0 {}
517 #[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"))]
518 impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTW_0 {
519 fn clone(&self) -> Self {
520 *self
521 }
522 }
523 #[repr(C)]
524 pub struct CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO {
525 pub dwSize: u32,
526 pub pGuidSubject: *mut ::windows_sys::core::GUID,
527 pub cbBlob: u32,
528 pub pbBlob: *mut u8,
529 pub pwszDisplayName: ::windows_sys::core::PCWSTR,
530 }
531 impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO {}
532 impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO {
533 fn clone(&self) -> Self {
534 *self
535 }
536 }
537 #[repr(C)]
538 pub struct CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO {
539 pub dwSize: u32,
540 pub pwszSigningCertFileName: ::windows_sys::core::PWSTR,
541 pub dwPvkChoice: CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION,
542 pub Anonymous: CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0,
543 }
544 impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO {}
545 impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO {
546 fn clone(&self) -> Self {
547 *self
548 }
549 }
550 #[repr(C)]
551 pub union CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0 {
552 pub pPvkFileInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO,
553 pub pPvkProvInfo: *mut super::CRYPT_KEY_PROV_INFO,
554 }
555 impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0 {}
556 impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0 {
557 fn clone(&self) -> Self {
558 *self
559 }
560 }
561 #[repr(C)]
562 pub struct CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT {
563 pub dwSize: u32,
564 pub cbBlob: u32,
565 pub pbBlob: *mut u8,
566 }
567 impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT {}
568 impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT {
569 fn clone(&self) -> Self {
570 *self
571 }
572 }
573 #[repr(C)]
574 pub struct CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO {
575 pub dwSize: u32,
576 pub dwAttrFlags: CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE,
577 pub pwszDescription: ::windows_sys::core::PCWSTR,
578 pub pwszMoreInfoLocation: ::windows_sys::core::PCWSTR,
579 pub pszHashAlg: ::windows_sys::core::PCSTR,
580 pub pwszSigningCertDisplayString: ::windows_sys::core::PCWSTR,
581 pub hAdditionalCertStore: super::HCERTSTORE,
582 pub psAuthenticated: *mut super::CRYPT_ATTRIBUTES,
583 pub psUnauthenticated: *mut super::CRYPT_ATTRIBUTES,
584 }
585 impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO {}
586 impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO {
587 fn clone(&self) -> Self {
588 *self
589 }
590 }
591 #[repr(C)]
592 #[doc = "Required features: `\"Win32_Foundation\"`"]
593 #[cfg(feature = "Win32_Foundation")]
594 pub struct CRYPTUI_WIZ_DIGITAL_SIGN_INFO {
595 pub dwSize: u32,
596 pub dwSubjectChoice: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT,
597 pub Anonymous1: CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0,
598 pub dwSigningCertChoice: CRYPTUI_WIZ_DIGITAL_SIGN,
599 pub Anonymous2: CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1,
600 pub pwszTimestampURL: ::windows_sys::core::PCWSTR,
601 pub dwAdditionalCertChoice: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE,
602 pub pSignExtInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO,
603 }
604 #[cfg(feature = "Win32_Foundation")]
605 impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_INFO {}
606 #[cfg(feature = "Win32_Foundation")]
607 impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_INFO {
608 fn clone(&self) -> Self {
609 *self
610 }
611 }
612 #[repr(C)]
613 #[doc = "Required features: `\"Win32_Foundation\"`"]
614 #[cfg(feature = "Win32_Foundation")]
615 pub union CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0 {
616 pub pwszFileName: ::windows_sys::core::PCWSTR,
617 pub pSignBlobInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO,
618 }
619 #[cfg(feature = "Win32_Foundation")]
620 impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0 {}
621 #[cfg(feature = "Win32_Foundation")]
622 impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0 {
623 fn clone(&self) -> Self {
624 *self
625 }
626 }
627 #[repr(C)]
628 #[doc = "Required features: `\"Win32_Foundation\"`"]
629 #[cfg(feature = "Win32_Foundation")]
630 pub union CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1 {
631 pub pSigningCertContext: *const super::CERT_CONTEXT,
632 pub pSigningCertStore: *mut CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO,
633 pub pSigningCertPvkInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO,
634 }
635 #[cfg(feature = "Win32_Foundation")]
636 impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1 {}
637 #[cfg(feature = "Win32_Foundation")]
638 impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1 {
639 fn clone(&self) -> Self {
640 *self
641 }
642 }
643 #[repr(C)]
644 pub struct CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO {
645 pub dwSize: u32,
646 pub pwszPvkFileName: ::windows_sys::core::PWSTR,
647 pub pwszProvName: ::windows_sys::core::PWSTR,
648 pub dwProvType: u32,
649 }
650 impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO {}
651 impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO {
652 fn clone(&self) -> Self {
653 *self
654 }
655 }
656 #[repr(C)]
657 #[doc = "Required features: `\"Win32_Foundation\"`"]
658 #[cfg(feature = "Win32_Foundation")]
659 pub struct CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO {
660 pub dwSize: u32,
661 pub cCertStore: u32,
662 pub rghCertStore: *mut super::HCERTSTORE,
663 pub pFilterCallback: PFNCFILTERPROC,
664 pub pvCallbackData: *mut ::core::ffi::c_void,
665 }
666 #[cfg(feature = "Win32_Foundation")]
667 impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO {}
668 #[cfg(feature = "Win32_Foundation")]
669 impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO {
670 fn clone(&self) -> Self {
671 *self
672 }
673 }
674 #[repr(C)]
675 #[doc = "Required features: `\"Win32_Foundation\"`"]
676 #[cfg(feature = "Win32_Foundation")]
677 pub struct CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO {
678 pub dwSize: u32,
679 pub dwExportFormat: CRYPTUI_WIZ_EXPORT_FORMAT,
680 pub fExportChain: super::super::super::Foundation::BOOL,
681 pub fExportPrivateKeys: super::super::super::Foundation::BOOL,
682 pub pwszPassword: ::windows_sys::core::PCWSTR,
683 pub fStrongEncryption: super::super::super::Foundation::BOOL,
684 }
685 #[cfg(feature = "Win32_Foundation")]
686 impl ::core::marker::Copy for CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO {}
687 #[cfg(feature = "Win32_Foundation")]
688 impl ::core::clone::Clone for CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO {
689 fn clone(&self) -> Self {
690 *self
691 }
692 }
693 #[repr(C)]
694 #[doc = "Required features: `\"Win32_Foundation\"`"]
695 #[cfg(feature = "Win32_Foundation")]
696 pub struct CRYPTUI_WIZ_EXPORT_INFO {
697 pub dwSize: u32,
698 pub pwszExportFileName: ::windows_sys::core::PCWSTR,
699 pub dwSubjectChoice: CRYPTUI_WIZ_EXPORT_SUBJECT,
700 pub Anonymous: CRYPTUI_WIZ_EXPORT_INFO_0,
701 pub cStores: u32,
702 pub rghStores: *mut super::HCERTSTORE,
703 }
704 #[cfg(feature = "Win32_Foundation")]
705 impl ::core::marker::Copy for CRYPTUI_WIZ_EXPORT_INFO {}
706 #[cfg(feature = "Win32_Foundation")]
707 impl ::core::clone::Clone for CRYPTUI_WIZ_EXPORT_INFO {
708 fn clone(&self) -> Self {
709 *self
710 }
711 }
712 #[repr(C)]
713 #[doc = "Required features: `\"Win32_Foundation\"`"]
714 #[cfg(feature = "Win32_Foundation")]
715 pub union CRYPTUI_WIZ_EXPORT_INFO_0 {
716 pub pCertContext: *const super::CERT_CONTEXT,
717 pub pCTLContext: *mut super::CTL_CONTEXT,
718 pub pCRLContext: *mut super::CRL_CONTEXT,
719 pub hCertStore: super::HCERTSTORE,
720 }
721 #[cfg(feature = "Win32_Foundation")]
722 impl ::core::marker::Copy for CRYPTUI_WIZ_EXPORT_INFO_0 {}
723 #[cfg(feature = "Win32_Foundation")]
724 impl ::core::clone::Clone for CRYPTUI_WIZ_EXPORT_INFO_0 {
725 fn clone(&self) -> Self {
726 *self
727 }
728 }
729 #[repr(C)]
730 #[doc = "Required features: `\"Win32_Foundation\"`"]
731 #[cfg(feature = "Win32_Foundation")]
732 pub struct CRYPTUI_WIZ_IMPORT_SRC_INFO {
733 pub dwSize: u32,
734 pub dwSubjectChoice: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION,
735 pub Anonymous: CRYPTUI_WIZ_IMPORT_SRC_INFO_0,
736 pub dwFlags: super::CRYPT_KEY_FLAGS,
737 pub pwszPassword: ::windows_sys::core::PCWSTR,
738 }
739 #[cfg(feature = "Win32_Foundation")]
740 impl ::core::marker::Copy for CRYPTUI_WIZ_IMPORT_SRC_INFO {}
741 #[cfg(feature = "Win32_Foundation")]
742 impl ::core::clone::Clone for CRYPTUI_WIZ_IMPORT_SRC_INFO {
743 fn clone(&self) -> Self {
744 *self
745 }
746 }
747 #[repr(C)]
748 #[doc = "Required features: `\"Win32_Foundation\"`"]
749 #[cfg(feature = "Win32_Foundation")]
750 pub union CRYPTUI_WIZ_IMPORT_SRC_INFO_0 {
751 pub pwszFileName: ::windows_sys::core::PCWSTR,
752 pub pCertContext: *const super::CERT_CONTEXT,
753 pub pCTLContext: *mut super::CTL_CONTEXT,
754 pub pCRLContext: *mut super::CRL_CONTEXT,
755 pub hCertStore: super::HCERTSTORE,
756 }
757 #[cfg(feature = "Win32_Foundation")]
758 impl ::core::marker::Copy for CRYPTUI_WIZ_IMPORT_SRC_INFO_0 {}
759 #[cfg(feature = "Win32_Foundation")]
760 impl ::core::clone::Clone for CRYPTUI_WIZ_IMPORT_SRC_INFO_0 {
761 fn clone(&self) -> Self {
762 *self
763 }
764 }
765 #[repr(C)]
766 #[doc = "Required features: `\"Win32_Foundation\"`"]
767 #[cfg(feature = "Win32_Foundation")]
768 pub struct CTL_MODIFY_REQUEST {
769 pub pccert: *const super::CERT_CONTEXT,
770 pub dwOperation: CTL_MODIFY_REQUEST_OPERATION,
771 pub dwError: u32,
772 }
773 #[cfg(feature = "Win32_Foundation")]
774 impl ::core::marker::Copy for CTL_MODIFY_REQUEST {}
775 #[cfg(feature = "Win32_Foundation")]
776 impl ::core::clone::Clone for CTL_MODIFY_REQUEST {
777 fn clone(&self) -> Self {
778 *self
779 }
780 }
781 #[doc = "Required features: `\"Win32_Foundation\"`"]
782 #[cfg(feature = "Win32_Foundation")]
783 pub type PFNCFILTERPROC = ::core::option::Option<unsafe extern "system" fn(pcertcontext: *const super::CERT_CONTEXT, pfinitialselectedcert: *mut super::super::super::Foundation::BOOL, pvcallbackdata: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL>;
784 #[doc = "Required features: `\"Win32_Foundation\"`"]
785 #[cfg(feature = "Win32_Foundation")]
786 pub type PFNCMFILTERPROC = ::core::option::Option<unsafe extern "system" fn(pcertcontext: *const super::CERT_CONTEXT, param1: super::super::super::Foundation::LPARAM, param2: u32, param3: u32) -> super::super::super::Foundation::BOOL>;
787 #[doc = "Required features: `\"Win32_Foundation\"`"]
788 #[cfg(feature = "Win32_Foundation")]
789 pub type PFNCMHOOKPROC = ::core::option::Option<unsafe extern "system" fn(hwnddialog: super::super::super::Foundation::HWND, message: u32, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM) -> u32>;
790 #[doc = "Required features: `\"Win32_Foundation\"`"]
791 #[cfg(feature = "Win32_Foundation")]
792 pub type PFNTRUSTHELPER = ::core::option::Option<unsafe extern "system" fn(pcertcontext: *const super::CERT_CONTEXT, lcustdata: super::super::super::Foundation::LPARAM, fleafcertificate: super::super::super::Foundation::BOOL, pbtrustblob: *mut u8) -> ::windows_sys::core::HRESULT>;