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