]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / Security / Cryptography / Catalog / mod.rs
CommitLineData
5e7ed085
FG
1#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2#[link(name = "windows")]
3extern "system" {
04454e1e 4 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
5 #[cfg(feature = "Win32_Foundation")]
6 pub fn CryptCATAdminAcquireContext(phcatadmin: *mut isize, pgsubsystem: *const ::windows_sys::core::GUID, dwflags: u32) -> super::super::super::Foundation::BOOL;
04454e1e 7 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085 8 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
9 pub fn CryptCATAdminAcquireContext2(phcatadmin: *mut isize, pgsubsystem: *const ::windows_sys::core::GUID, pwszhashalgorithm: ::windows_sys::core::PCWSTR, pstronghashpolicy: *const super::CERT_STRONG_SIGN_PARA, dwflags: u32) -> super::super::super::Foundation::BOOL;
10 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
11 pub fn CryptCATAdminAddCatalog(hcatadmin: isize, pwszcatalogfile: ::windows_sys::core::PCWSTR, pwszselectbasename: ::windows_sys::core::PCWSTR, dwflags: u32) -> isize;
12 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
13 #[cfg(feature = "Win32_Foundation")]
14 pub fn CryptCATAdminCalcHashFromFileHandle(hfile: super::super::super::Foundation::HANDLE, pcbhash: *mut u32, pbhash: *mut u8, dwflags: u32) -> super::super::super::Foundation::BOOL;
04454e1e 15 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
16 #[cfg(feature = "Win32_Foundation")]
17 pub fn CryptCATAdminCalcHashFromFileHandle2(hcatadmin: isize, hfile: super::super::super::Foundation::HANDLE, pcbhash: *mut u32, pbhash: *mut u8, dwflags: u32) -> super::super::super::Foundation::BOOL;
04454e1e 18 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 19 pub fn CryptCATAdminEnumCatalogFromHash(hcatadmin: isize, pbhash: *const u8, cbhash: u32, dwflags: u32, phprevcatinfo: *mut isize) -> isize;
04454e1e 20 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
21 #[cfg(feature = "Win32_Foundation")]
22 pub fn CryptCATAdminPauseServiceForBackup(dwflags: u32, fresume: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL;
04454e1e 23 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
24 #[cfg(feature = "Win32_Foundation")]
25 pub fn CryptCATAdminReleaseCatalogContext(hcatadmin: isize, hcatinfo: isize, dwflags: u32) -> super::super::super::Foundation::BOOL;
04454e1e 26 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
27 #[cfg(feature = "Win32_Foundation")]
28 pub fn CryptCATAdminReleaseContext(hcatadmin: isize, dwflags: u32) -> super::super::super::Foundation::BOOL;
04454e1e 29 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085 30 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
31 pub fn CryptCATAdminRemoveCatalog(hcatadmin: isize, pwszcatalogfile: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::super::Foundation::BOOL;
32 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085 33 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
34 pub fn CryptCATAdminResolveCatalogPath(hcatadmin: isize, pwszcatalogfile: ::windows_sys::core::PCWSTR, pscatinfo: *mut CATALOG_INFO, dwflags: u32) -> super::super::super::Foundation::BOOL;
35 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
5e7ed085 36 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
04454e1e
FG
37 pub fn CryptCATAllocSortedMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATMEMBER;
38 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
39 #[cfg(feature = "Win32_Foundation")]
40 pub fn CryptCATCDFClose(pcdf: *mut CRYPTCATCDF) -> super::super::super::Foundation::BOOL;
04454e1e 41 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
5e7ed085
FG
42 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
43 pub fn CryptCATCDFEnumAttributes(pcdf: *mut CRYPTCATCDF, pmember: *mut CRYPTCATMEMBER, pprevattr: *mut CRYPTCATATTRIBUTE, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE;
04454e1e 44 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
45 #[cfg(feature = "Win32_Foundation")]
46 pub fn CryptCATCDFEnumCatAttributes(pcdf: *mut CRYPTCATCDF, pprevattr: *mut CRYPTCATATTRIBUTE, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE;
04454e1e 47 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
5e7ed085
FG
48 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
49 pub fn CryptCATCDFEnumMembers(pcdf: *mut CRYPTCATCDF, pprevmember: *mut CRYPTCATMEMBER, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATMEMBER;
04454e1e 50 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085 51 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
52 pub fn CryptCATCDFOpen(pwszfilepath: ::windows_sys::core::PCWSTR, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATCDF;
53 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
54 #[cfg(feature = "Win32_Foundation")]
55 pub fn CryptCATCatalogInfoFromContext(hcatinfo: isize, pscatinfo: *mut CATALOG_INFO, dwflags: u32) -> super::super::super::Foundation::BOOL;
04454e1e 56 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
57 #[cfg(feature = "Win32_Foundation")]
58 pub fn CryptCATClose(hcatalog: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::BOOL;
04454e1e 59 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
5e7ed085
FG
60 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
61 pub fn CryptCATEnumerateAttr(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER, pprevattr: *mut CRYPTCATATTRIBUTE) -> *mut CRYPTCATATTRIBUTE;
04454e1e 62 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
63 #[cfg(feature = "Win32_Foundation")]
64 pub fn CryptCATEnumerateCatAttr(hcatalog: super::super::super::Foundation::HANDLE, pprevattr: *mut CRYPTCATATTRIBUTE) -> *mut CRYPTCATATTRIBUTE;
04454e1e 65 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
5e7ed085
FG
66 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
67 pub fn CryptCATEnumerateMember(hcatalog: super::super::super::Foundation::HANDLE, pprevmember: *mut CRYPTCATMEMBER) -> *mut CRYPTCATMEMBER;
04454e1e 68 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
5e7ed085
FG
69 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
70 pub fn CryptCATFreeSortedMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER);
04454e1e 71 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
5e7ed085 72 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
04454e1e
FG
73 pub fn CryptCATGetAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATATTRIBUTE;
74 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085 75 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
76 pub fn CryptCATGetCatAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATATTRIBUTE;
77 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
5e7ed085 78 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
04454e1e
FG
79 pub fn CryptCATGetMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATMEMBER;
80 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
81 #[cfg(feature = "Win32_Foundation")]
82 pub fn CryptCATHandleFromStore(pcatstore: *mut CRYPTCATSTORE) -> super::super::super::Foundation::HANDLE;
04454e1e 83 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085 84 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
85 pub fn CryptCATOpen(pwszfilename: ::windows_sys::core::PCWSTR, fdwopenflags: CRYPTCAT_OPEN_FLAGS, hprov: usize, dwpublicversion: CRYPTCAT_VERSION, dwencodingtype: u32) -> super::super::super::Foundation::HANDLE;
86 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
87 #[cfg(feature = "Win32_Foundation")]
88 pub fn CryptCATPersistStore(hcatalog: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::BOOL;
04454e1e 89 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
5e7ed085 90 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
04454e1e
FG
91 pub fn CryptCATPutAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER, pwszreferencetag: ::windows_sys::core::PCWSTR, dwattrtypeandaction: u32, cbdata: u32, pbdata: *mut u8) -> *mut CRYPTCATATTRIBUTE;
92 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085 93 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
94 pub fn CryptCATPutCatAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR, dwattrtypeandaction: u32, cbdata: u32, pbdata: *mut u8) -> *mut CRYPTCATATTRIBUTE;
95 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
5e7ed085 96 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
04454e1e
FG
97 pub fn CryptCATPutMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszfilename: ::windows_sys::core::PCWSTR, pwszreferencetag: ::windows_sys::core::PCWSTR, pgsubjecttype: *mut ::windows_sys::core::GUID, dwcertversion: u32, cbsipindirectdata: u32, pbsipindirectdata: *mut u8) -> *mut CRYPTCATMEMBER;
98 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
99 #[cfg(feature = "Win32_Foundation")]
100 pub fn CryptCATStoreFromHandle(hcatalog: super::super::super::Foundation::HANDLE) -> *mut CRYPTCATSTORE;
04454e1e 101 #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085 102 #[cfg(feature = "Win32_Foundation")]
04454e1e 103 pub fn IsCatalogFile(hfile: super::super::super::Foundation::HANDLE, pwszfilename: ::windows_sys::core::PCWSTR) -> super::super::super::Foundation::BOOL;
5e7ed085
FG
104}
105#[repr(C)]
04454e1e 106#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085
FG
107pub struct CATALOG_INFO {
108 pub cbStruct: u32,
109 pub wszCatalogFile: [u16; 260],
110}
111impl ::core::marker::Copy for CATALOG_INFO {}
112impl ::core::clone::Clone for CATALOG_INFO {
113 fn clone(&self) -> Self {
114 *self
115 }
116}
117#[repr(C)]
04454e1e 118#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085
FG
119pub struct CRYPTCATATTRIBUTE {
120 pub cbStruct: u32,
04454e1e 121 pub pwszReferenceTag: ::windows_sys::core::PWSTR,
5e7ed085
FG
122 pub dwAttrTypeAndAction: u32,
123 pub cbValue: u32,
124 pub pbValue: *mut u8,
125 pub dwReserved: u32,
126}
5e7ed085 127impl ::core::marker::Copy for CRYPTCATATTRIBUTE {}
5e7ed085
FG
128impl ::core::clone::Clone for CRYPTCATATTRIBUTE {
129 fn clone(&self) -> Self {
130 *self
131 }
132}
133#[repr(C)]
04454e1e 134#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
135#[cfg(feature = "Win32_Foundation")]
136pub struct CRYPTCATCDF {
137 pub cbStruct: u32,
138 pub hFile: super::super::super::Foundation::HANDLE,
139 pub dwCurFilePos: u32,
140 pub dwLastMemberOffset: u32,
141 pub fEOF: super::super::super::Foundation::BOOL,
04454e1e 142 pub pwszResultDir: ::windows_sys::core::PWSTR,
5e7ed085
FG
143 pub hCATStore: super::super::super::Foundation::HANDLE,
144}
145#[cfg(feature = "Win32_Foundation")]
146impl ::core::marker::Copy for CRYPTCATCDF {}
147#[cfg(feature = "Win32_Foundation")]
148impl ::core::clone::Clone for CRYPTCATCDF {
149 fn clone(&self) -> Self {
150 *self
151 }
152}
153#[repr(C)]
04454e1e 154#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
5e7ed085
FG
155#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
156pub struct CRYPTCATMEMBER {
157 pub cbStruct: u32,
04454e1e
FG
158 pub pwszReferenceTag: ::windows_sys::core::PWSTR,
159 pub pwszFileName: ::windows_sys::core::PWSTR,
5e7ed085
FG
160 pub gSubjectType: ::windows_sys::core::GUID,
161 pub fdwMemberFlags: u32,
162 pub pIndirectData: *mut super::Sip::SIP_INDIRECT_DATA,
163 pub dwCertVersion: u32,
164 pub dwReserved: u32,
165 pub hReserved: super::super::super::Foundation::HANDLE,
166 pub sEncodedIndirectData: super::CRYPTOAPI_BLOB,
167 pub sEncodedMemberInfo: super::CRYPTOAPI_BLOB,
168}
169#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
170impl ::core::marker::Copy for CRYPTCATMEMBER {}
171#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
172impl ::core::clone::Clone for CRYPTCATMEMBER {
173 fn clone(&self) -> Self {
174 *self
175 }
176}
177#[repr(C)]
04454e1e 178#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
179#[cfg(feature = "Win32_Foundation")]
180pub struct CRYPTCATSTORE {
181 pub cbStruct: u32,
182 pub dwPublicVersion: u32,
04454e1e 183 pub pwszP7File: ::windows_sys::core::PWSTR,
5e7ed085
FG
184 pub hProv: usize,
185 pub dwEncodingType: u32,
186 pub fdwStoreFlags: CRYPTCAT_OPEN_FLAGS,
187 pub hReserved: super::super::super::Foundation::HANDLE,
188 pub hAttrs: super::super::super::Foundation::HANDLE,
189 pub hCryptMsg: *mut ::core::ffi::c_void,
190 pub hSorted: super::super::super::Foundation::HANDLE,
191}
192#[cfg(feature = "Win32_Foundation")]
193impl ::core::marker::Copy for CRYPTCATSTORE {}
194#[cfg(feature = "Win32_Foundation")]
195impl ::core::clone::Clone for CRYPTCATSTORE {
196 fn clone(&self) -> Self {
197 *self
198 }
199}
04454e1e 200#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 201pub const CRYPTCAT_ADDCATALOG_HARDLINK: u32 = 1u32;
04454e1e 202#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 203pub const CRYPTCAT_ADDCATALOG_NONE: u32 = 0u32;
04454e1e 204#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 205pub const CRYPTCAT_ATTR_AUTHENTICATED: u32 = 268435456u32;
04454e1e 206#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 207pub const CRYPTCAT_ATTR_DATAASCII: u32 = 65536u32;
04454e1e 208#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 209pub const CRYPTCAT_ATTR_DATABASE64: u32 = 131072u32;
04454e1e 210#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 211pub const CRYPTCAT_ATTR_DATAREPLACE: u32 = 262144u32;
04454e1e 212#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 213pub const CRYPTCAT_ATTR_NAMEASCII: u32 = 1u32;
04454e1e 214#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 215pub const CRYPTCAT_ATTR_NAMEOBJID: u32 = 2u32;
04454e1e 216#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 217pub const CRYPTCAT_ATTR_NO_AUTO_COMPAT_ENTRY: u32 = 16777216u32;
04454e1e 218#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 219pub const CRYPTCAT_ATTR_UNAUTHENTICATED: u32 = 536870912u32;
04454e1e 220#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 221pub const CRYPTCAT_E_AREA_ATTRIBUTE: u32 = 131072u32;
04454e1e 222#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 223pub const CRYPTCAT_E_AREA_HEADER: u32 = 0u32;
04454e1e 224#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 225pub const CRYPTCAT_E_AREA_MEMBER: u32 = 65536u32;
04454e1e 226#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 227pub const CRYPTCAT_E_CDF_ATTR_TOOFEWVALUES: u32 = 131074u32;
04454e1e 228#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 229pub const CRYPTCAT_E_CDF_ATTR_TYPECOMBO: u32 = 131076u32;
04454e1e 230#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 231pub const CRYPTCAT_E_CDF_BAD_GUID_CONV: u32 = 131073u32;
04454e1e 232#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 233pub const CRYPTCAT_E_CDF_DUPLICATE: u32 = 2u32;
04454e1e 234#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 235pub const CRYPTCAT_E_CDF_MEMBER_FILENOTFOUND: u32 = 65540u32;
04454e1e 236#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 237pub const CRYPTCAT_E_CDF_MEMBER_FILE_PATH: u32 = 65537u32;
04454e1e 238#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 239pub const CRYPTCAT_E_CDF_MEMBER_INDIRECTDATA: u32 = 65538u32;
04454e1e 240#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 241pub const CRYPTCAT_E_CDF_TAGNOTFOUND: u32 = 4u32;
04454e1e 242#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 243pub const CRYPTCAT_E_CDF_UNSUPPORTED: u32 = 1u32;
04454e1e 244#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 245pub const CRYPTCAT_FILEEXT: &'static str = "CAT";
04454e1e 246#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 247pub const CRYPTCAT_MAX_MEMBERTAG: u32 = 64u32;
04454e1e 248#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 249pub const CRYPTCAT_MEMBER_SORTED: u32 = 1073741824u32;
04454e1e 250#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 251pub type CRYPTCAT_OPEN_FLAGS = u32;
04454e1e 252#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 253pub const CRYPTCAT_OPEN_ALWAYS: CRYPTCAT_OPEN_FLAGS = 2u32;
04454e1e 254#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 255pub const CRYPTCAT_OPEN_CREATENEW: CRYPTCAT_OPEN_FLAGS = 1u32;
04454e1e 256#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 257pub const CRYPTCAT_OPEN_EXISTING: CRYPTCAT_OPEN_FLAGS = 4u32;
04454e1e 258#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 259pub const CRYPTCAT_OPEN_EXCLUDE_PAGE_HASHES: CRYPTCAT_OPEN_FLAGS = 65536u32;
04454e1e 260#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 261pub const CRYPTCAT_OPEN_INCLUDE_PAGE_HASHES: CRYPTCAT_OPEN_FLAGS = 131072u32;
04454e1e 262#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 263pub const CRYPTCAT_OPEN_VERIFYSIGHASH: CRYPTCAT_OPEN_FLAGS = 268435456u32;
04454e1e 264#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 265pub const CRYPTCAT_OPEN_NO_CONTENT_HCRYPTMSG: CRYPTCAT_OPEN_FLAGS = 536870912u32;
04454e1e 266#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 267pub const CRYPTCAT_OPEN_SORTED: CRYPTCAT_OPEN_FLAGS = 1073741824u32;
04454e1e 268#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 269pub const CRYPTCAT_OPEN_FLAGS_MASK: CRYPTCAT_OPEN_FLAGS = 4294901760u32;
04454e1e 270#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 271pub type CRYPTCAT_VERSION = u32;
04454e1e 272#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 273pub const CRYPTCAT_VERSION_1: CRYPTCAT_VERSION = 256u32;
04454e1e 274#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 275pub const CRYPTCAT_VERSION_2: CRYPTCAT_VERSION = 512u32;
04454e1e
FG
276#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
277pub type PFN_CDF_PARSE_ERROR_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwerrorarea: u32, dwlocalerror: u32, pwszline: ::windows_sys::core::PCWSTR)>;
278#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 279pub const szOID_CATALOG_LIST: &'static str = "1.3.6.1.4.1.311.12.1.1";
04454e1e 280#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 281pub const szOID_CATALOG_LIST_MEMBER: &'static str = "1.3.6.1.4.1.311.12.1.2";
04454e1e 282#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
5e7ed085 283pub const szOID_CATALOG_LIST_MEMBER2: &'static str = "1.3.6.1.4.1.311.12.1.3";