]> git.proxmox.com Git - rustc.git/blob - vendor/windows/src/Windows/Win32/System/ErrorReporting/mod.rs
e40f860e7abb9ee0c3bdc62e7089262094951eac
[rustc.git] / vendor / windows / src / Windows / Win32 / System / ErrorReporting / mod.rs
1 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
2 #[cfg(feature = "Win32_Foundation")]
3 #[inline]
4 pub unsafe fn AddERExcludedApplicationA<P0>(szapplication: P0) -> super::super::Foundation::BOOL
5 where
6 P0: ::windows::core::IntoParam<::windows::core::PCSTR>,
7 {
8 ::windows::imp::link ! ( "faultrep.dll""system" fn AddERExcludedApplicationA ( szapplication : :: windows::core::PCSTR ) -> super::super::Foundation:: BOOL );
9 AddERExcludedApplicationA(szapplication.into_param().abi())
10 }
11 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
12 #[cfg(feature = "Win32_Foundation")]
13 #[inline]
14 pub unsafe fn AddERExcludedApplicationW<P0>(wszapplication: P0) -> super::super::Foundation::BOOL
15 where
16 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
17 {
18 ::windows::imp::link ! ( "faultrep.dll""system" fn AddERExcludedApplicationW ( wszapplication : :: windows::core::PCWSTR ) -> super::super::Foundation:: BOOL );
19 AddERExcludedApplicationW(wszapplication.into_param().abi())
20 }
21 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
22 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
23 #[inline]
24 pub unsafe fn ReportFault(pep: *const super::Diagnostics::Debug::EXCEPTION_POINTERS, dwopt: u32) -> EFaultRepRetVal {
25 ::windows::imp::link ! ( "faultrep.dll""system" fn ReportFault ( pep : *const super::Diagnostics::Debug:: EXCEPTION_POINTERS , dwopt : u32 ) -> EFaultRepRetVal );
26 ReportFault(pep, dwopt)
27 }
28 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
29 #[cfg(feature = "Win32_Foundation")]
30 #[inline]
31 pub unsafe fn WerAddExcludedApplication<P0, P1>(pwzexename: P0, ballusers: P1) -> ::windows::core::Result<()>
32 where
33 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
34 P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>,
35 {
36 ::windows::imp::link ! ( "wer.dll""system" fn WerAddExcludedApplication ( pwzexename : :: windows::core::PCWSTR , ballusers : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT );
37 WerAddExcludedApplication(pwzexename.into_param().abi(), ballusers.into_param().abi()).ok()
38 }
39 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
40 #[inline]
41 pub unsafe fn WerFreeString<P0>(pwszstr: P0)
42 where
43 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
44 {
45 ::windows::imp::link ! ( "wer.dll""system" fn WerFreeString ( pwszstr : :: windows::core::PCWSTR ) -> ( ) );
46 WerFreeString(pwszstr.into_param().abi())
47 }
48 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
49 #[cfg(feature = "Win32_Foundation")]
50 #[inline]
51 pub unsafe fn WerGetFlags<P0>(hprocess: P0) -> ::windows::core::Result<WER_FAULT_REPORTING>
52 where
53 P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
54 {
55 ::windows::imp::link ! ( "kernel32.dll""system" fn WerGetFlags ( hprocess : super::super::Foundation:: HANDLE , pdwflags : *mut WER_FAULT_REPORTING ) -> :: windows::core::HRESULT );
56 let mut result__ = ::windows::core::zeroed::<WER_FAULT_REPORTING>();
57 WerGetFlags(hprocess.into_param().abi(), &mut result__).from_abi(result__)
58 }
59 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
60 #[inline]
61 pub unsafe fn WerRegisterAdditionalProcess(processid: u32, captureextrainfoforthreadid: u32) -> ::windows::core::Result<()> {
62 ::windows::imp::link ! ( "kernel32.dll""system" fn WerRegisterAdditionalProcess ( processid : u32 , captureextrainfoforthreadid : u32 ) -> :: windows::core::HRESULT );
63 WerRegisterAdditionalProcess(processid, captureextrainfoforthreadid).ok()
64 }
65 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
66 #[inline]
67 pub unsafe fn WerRegisterAppLocalDump<P0>(localappdatarelativepath: P0) -> ::windows::core::Result<()>
68 where
69 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
70 {
71 ::windows::imp::link ! ( "kernel32.dll""system" fn WerRegisterAppLocalDump ( localappdatarelativepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT );
72 WerRegisterAppLocalDump(localappdatarelativepath.into_param().abi()).ok()
73 }
74 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
75 #[inline]
76 pub unsafe fn WerRegisterCustomMetadata<P0, P1>(key: P0, value: P1) -> ::windows::core::Result<()>
77 where
78 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
79 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
80 {
81 ::windows::imp::link ! ( "kernel32.dll""system" fn WerRegisterCustomMetadata ( key : :: windows::core::PCWSTR , value : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT );
82 WerRegisterCustomMetadata(key.into_param().abi(), value.into_param().abi()).ok()
83 }
84 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
85 #[inline]
86 pub unsafe fn WerRegisterExcludedMemoryBlock(address: *const ::core::ffi::c_void, size: u32) -> ::windows::core::Result<()> {
87 ::windows::imp::link ! ( "kernel32.dll""system" fn WerRegisterExcludedMemoryBlock ( address : *const ::core::ffi::c_void , size : u32 ) -> :: windows::core::HRESULT );
88 WerRegisterExcludedMemoryBlock(address, size).ok()
89 }
90 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
91 #[inline]
92 pub unsafe fn WerRegisterFile<P0>(pwzfile: P0, regfiletype: WER_REGISTER_FILE_TYPE, dwflags: WER_FILE) -> ::windows::core::Result<()>
93 where
94 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
95 {
96 ::windows::imp::link ! ( "kernel32.dll""system" fn WerRegisterFile ( pwzfile : :: windows::core::PCWSTR , regfiletype : WER_REGISTER_FILE_TYPE , dwflags : WER_FILE ) -> :: windows::core::HRESULT );
97 WerRegisterFile(pwzfile.into_param().abi(), regfiletype, dwflags).ok()
98 }
99 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
100 #[inline]
101 pub unsafe fn WerRegisterMemoryBlock(pvaddress: *const ::core::ffi::c_void, dwsize: u32) -> ::windows::core::Result<()> {
102 ::windows::imp::link ! ( "kernel32.dll""system" fn WerRegisterMemoryBlock ( pvaddress : *const ::core::ffi::c_void , dwsize : u32 ) -> :: windows::core::HRESULT );
103 WerRegisterMemoryBlock(pvaddress, dwsize).ok()
104 }
105 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
106 #[inline]
107 pub unsafe fn WerRegisterRuntimeExceptionModule<P0>(pwszoutofprocesscallbackdll: P0, pcontext: *const ::core::ffi::c_void) -> ::windows::core::Result<()>
108 where
109 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
110 {
111 ::windows::imp::link ! ( "kernel32.dll""system" fn WerRegisterRuntimeExceptionModule ( pwszoutofprocesscallbackdll : :: windows::core::PCWSTR , pcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT );
112 WerRegisterRuntimeExceptionModule(pwszoutofprocesscallbackdll.into_param().abi(), pcontext).ok()
113 }
114 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
115 #[cfg(feature = "Win32_Foundation")]
116 #[inline]
117 pub unsafe fn WerRemoveExcludedApplication<P0, P1>(pwzexename: P0, ballusers: P1) -> ::windows::core::Result<()>
118 where
119 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
120 P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>,
121 {
122 ::windows::imp::link ! ( "wer.dll""system" fn WerRemoveExcludedApplication ( pwzexename : :: windows::core::PCWSTR , ballusers : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT );
123 WerRemoveExcludedApplication(pwzexename.into_param().abi(), ballusers.into_param().abi()).ok()
124 }
125 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
126 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
127 #[inline]
128 pub unsafe fn WerReportAddDump<P0, P1, P2>(hreporthandle: P0, hprocess: P1, hthread: P2, dumptype: WER_DUMP_TYPE, pexceptionparam: ::core::option::Option<*const WER_EXCEPTION_INFORMATION>, pdumpcustomoptions: ::core::option::Option<*const WER_DUMP_CUSTOM_OPTIONS>, dwflags: u32) -> ::windows::core::Result<()>
129 where
130 P0: ::windows::core::IntoParam<HREPORT>,
131 P1: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
132 P2: ::windows::core::IntoParam<super::super::Foundation::HANDLE>,
133 {
134 ::windows::imp::link ! ( "wer.dll""system" fn WerReportAddDump ( hreporthandle : HREPORT , hprocess : super::super::Foundation:: HANDLE , hthread : super::super::Foundation:: HANDLE , dumptype : WER_DUMP_TYPE , pexceptionparam : *const WER_EXCEPTION_INFORMATION , pdumpcustomoptions : *const WER_DUMP_CUSTOM_OPTIONS , dwflags : u32 ) -> :: windows::core::HRESULT );
135 WerReportAddDump(hreporthandle.into_param().abi(), hprocess.into_param().abi(), hthread.into_param().abi(), dumptype, ::core::mem::transmute(pexceptionparam.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdumpcustomoptions.unwrap_or(::std::ptr::null())), dwflags).ok()
136 }
137 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
138 #[inline]
139 pub unsafe fn WerReportAddFile<P0, P1>(hreporthandle: P0, pwzpath: P1, repfiletype: WER_FILE_TYPE, dwfileflags: WER_FILE) -> ::windows::core::Result<()>
140 where
141 P0: ::windows::core::IntoParam<HREPORT>,
142 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
143 {
144 ::windows::imp::link ! ( "wer.dll""system" fn WerReportAddFile ( hreporthandle : HREPORT , pwzpath : :: windows::core::PCWSTR , repfiletype : WER_FILE_TYPE , dwfileflags : WER_FILE ) -> :: windows::core::HRESULT );
145 WerReportAddFile(hreporthandle.into_param().abi(), pwzpath.into_param().abi(), repfiletype, dwfileflags).ok()
146 }
147 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
148 #[inline]
149 pub unsafe fn WerReportCloseHandle<P0>(hreporthandle: P0) -> ::windows::core::Result<()>
150 where
151 P0: ::windows::core::IntoParam<HREPORT>,
152 {
153 ::windows::imp::link ! ( "wer.dll""system" fn WerReportCloseHandle ( hreporthandle : HREPORT ) -> :: windows::core::HRESULT );
154 WerReportCloseHandle(hreporthandle.into_param().abi()).ok()
155 }
156 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
157 #[cfg(feature = "Win32_Foundation")]
158 #[inline]
159 pub unsafe fn WerReportCreate<P0>(pwzeventtype: P0, reptype: WER_REPORT_TYPE, preportinformation: ::core::option::Option<*const WER_REPORT_INFORMATION>) -> ::windows::core::Result<HREPORT>
160 where
161 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
162 {
163 ::windows::imp::link ! ( "wer.dll""system" fn WerReportCreate ( pwzeventtype : :: windows::core::PCWSTR , reptype : WER_REPORT_TYPE , preportinformation : *const WER_REPORT_INFORMATION , phreporthandle : *mut HREPORT ) -> :: windows::core::HRESULT );
164 let mut result__ = ::windows::core::zeroed::<HREPORT>();
165 WerReportCreate(pwzeventtype.into_param().abi(), reptype, ::core::mem::transmute(preportinformation.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__)
166 }
167 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
168 #[cfg(feature = "Win32_Foundation")]
169 #[inline]
170 pub unsafe fn WerReportHang<P0, P1>(hwndhungapp: P0, pwzhungapplicationname: P1) -> ::windows::core::Result<()>
171 where
172 P0: ::windows::core::IntoParam<super::super::Foundation::HWND>,
173 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
174 {
175 ::windows::imp::link ! ( "faultrep.dll""system" fn WerReportHang ( hwndhungapp : super::super::Foundation:: HWND , pwzhungapplicationname : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT );
176 WerReportHang(hwndhungapp.into_param().abi(), pwzhungapplicationname.into_param().abi()).ok()
177 }
178 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
179 #[inline]
180 pub unsafe fn WerReportSetParameter<P0, P1, P2>(hreporthandle: P0, dwparamid: u32, pwzname: P1, pwzvalue: P2) -> ::windows::core::Result<()>
181 where
182 P0: ::windows::core::IntoParam<HREPORT>,
183 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
184 P2: ::windows::core::IntoParam<::windows::core::PCWSTR>,
185 {
186 ::windows::imp::link ! ( "wer.dll""system" fn WerReportSetParameter ( hreporthandle : HREPORT , dwparamid : u32 , pwzname : :: windows::core::PCWSTR , pwzvalue : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT );
187 WerReportSetParameter(hreporthandle.into_param().abi(), dwparamid, pwzname.into_param().abi(), pwzvalue.into_param().abi()).ok()
188 }
189 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
190 #[inline]
191 pub unsafe fn WerReportSetUIOption<P0, P1>(hreporthandle: P0, repuitypeid: WER_REPORT_UI, pwzvalue: P1) -> ::windows::core::Result<()>
192 where
193 P0: ::windows::core::IntoParam<HREPORT>,
194 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
195 {
196 ::windows::imp::link ! ( "wer.dll""system" fn WerReportSetUIOption ( hreporthandle : HREPORT , repuitypeid : WER_REPORT_UI , pwzvalue : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT );
197 WerReportSetUIOption(hreporthandle.into_param().abi(), repuitypeid, pwzvalue.into_param().abi()).ok()
198 }
199 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
200 #[inline]
201 pub unsafe fn WerReportSubmit<P0>(hreporthandle: P0, consent: WER_CONSENT, dwflags: WER_SUBMIT_FLAGS, psubmitresult: ::core::option::Option<*mut WER_SUBMIT_RESULT>) -> ::windows::core::Result<()>
202 where
203 P0: ::windows::core::IntoParam<HREPORT>,
204 {
205 ::windows::imp::link ! ( "wer.dll""system" fn WerReportSubmit ( hreporthandle : HREPORT , consent : WER_CONSENT , dwflags : WER_SUBMIT_FLAGS , psubmitresult : *mut WER_SUBMIT_RESULT ) -> :: windows::core::HRESULT );
206 WerReportSubmit(hreporthandle.into_param().abi(), consent, dwflags, ::core::mem::transmute(psubmitresult.unwrap_or(::std::ptr::null_mut()))).ok()
207 }
208 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
209 #[inline]
210 pub unsafe fn WerSetFlags(dwflags: WER_FAULT_REPORTING) -> ::windows::core::Result<()> {
211 ::windows::imp::link ! ( "kernel32.dll""system" fn WerSetFlags ( dwflags : WER_FAULT_REPORTING ) -> :: windows::core::HRESULT );
212 WerSetFlags(dwflags).ok()
213 }
214 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
215 #[inline]
216 pub unsafe fn WerStoreClose<P0>(hreportstore: P0)
217 where
218 P0: ::windows::core::IntoParam<HREPORTSTORE>,
219 {
220 ::windows::imp::link ! ( "wer.dll""system" fn WerStoreClose ( hreportstore : HREPORTSTORE ) -> ( ) );
221 WerStoreClose(hreportstore.into_param().abi())
222 }
223 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
224 #[inline]
225 pub unsafe fn WerStoreGetFirstReportKey<P0>(hreportstore: P0, ppszreportkey: ::core::option::Option<*mut ::windows::core::PWSTR>) -> ::windows::core::Result<()>
226 where
227 P0: ::windows::core::IntoParam<HREPORTSTORE>,
228 {
229 ::windows::imp::link ! ( "wer.dll""system" fn WerStoreGetFirstReportKey ( hreportstore : HREPORTSTORE , ppszreportkey : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT );
230 WerStoreGetFirstReportKey(hreportstore.into_param().abi(), ::core::mem::transmute(ppszreportkey.unwrap_or(::std::ptr::null_mut()))).ok()
231 }
232 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
233 #[inline]
234 pub unsafe fn WerStoreGetNextReportKey<P0>(hreportstore: P0, ppszreportkey: ::core::option::Option<*mut ::windows::core::PWSTR>) -> ::windows::core::Result<()>
235 where
236 P0: ::windows::core::IntoParam<HREPORTSTORE>,
237 {
238 ::windows::imp::link ! ( "wer.dll""system" fn WerStoreGetNextReportKey ( hreportstore : HREPORTSTORE , ppszreportkey : *mut :: windows::core::PWSTR ) -> :: windows::core::HRESULT );
239 WerStoreGetNextReportKey(hreportstore.into_param().abi(), ::core::mem::transmute(ppszreportkey.unwrap_or(::std::ptr::null_mut()))).ok()
240 }
241 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
242 #[inline]
243 pub unsafe fn WerStoreGetReportCount<P0>(hreportstore: P0) -> ::windows::core::Result<u32>
244 where
245 P0: ::windows::core::IntoParam<HREPORTSTORE>,
246 {
247 ::windows::imp::link ! ( "wer.dll""system" fn WerStoreGetReportCount ( hreportstore : HREPORTSTORE , pdwreportcount : *mut u32 ) -> :: windows::core::HRESULT );
248 let mut result__ = ::windows::core::zeroed::<u32>();
249 WerStoreGetReportCount(hreportstore.into_param().abi(), &mut result__).from_abi(result__)
250 }
251 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
252 #[inline]
253 pub unsafe fn WerStoreGetSizeOnDisk<P0>(hreportstore: P0) -> ::windows::core::Result<u64>
254 where
255 P0: ::windows::core::IntoParam<HREPORTSTORE>,
256 {
257 ::windows::imp::link ! ( "wer.dll""system" fn WerStoreGetSizeOnDisk ( hreportstore : HREPORTSTORE , pqwsizeinbytes : *mut u64 ) -> :: windows::core::HRESULT );
258 let mut result__ = ::windows::core::zeroed::<u64>();
259 WerStoreGetSizeOnDisk(hreportstore.into_param().abi(), &mut result__).from_abi(result__)
260 }
261 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
262 #[inline]
263 pub unsafe fn WerStoreOpen(repstoretype: REPORT_STORE_TYPES) -> ::windows::core::Result<HREPORTSTORE> {
264 ::windows::imp::link ! ( "wer.dll""system" fn WerStoreOpen ( repstoretype : REPORT_STORE_TYPES , phreportstore : *mut HREPORTSTORE ) -> :: windows::core::HRESULT );
265 let mut result__ = ::windows::core::zeroed::<HREPORTSTORE>();
266 WerStoreOpen(repstoretype, &mut result__).from_abi(result__)
267 }
268 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
269 #[inline]
270 pub unsafe fn WerStorePurge() -> ::windows::core::Result<()> {
271 ::windows::imp::link ! ( "wer.dll""system" fn WerStorePurge ( ) -> :: windows::core::HRESULT );
272 WerStorePurge().ok()
273 }
274 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
275 #[cfg(feature = "Win32_Foundation")]
276 #[inline]
277 pub unsafe fn WerStoreQueryReportMetadataV1<P0, P1>(hreportstore: P0, pszreportkey: P1, preportmetadata: *mut WER_REPORT_METADATA_V1) -> ::windows::core::Result<()>
278 where
279 P0: ::windows::core::IntoParam<HREPORTSTORE>,
280 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
281 {
282 ::windows::imp::link ! ( "wer.dll""system" fn WerStoreQueryReportMetadataV1 ( hreportstore : HREPORTSTORE , pszreportkey : :: windows::core::PCWSTR , preportmetadata : *mut WER_REPORT_METADATA_V1 ) -> :: windows::core::HRESULT );
283 WerStoreQueryReportMetadataV1(hreportstore.into_param().abi(), pszreportkey.into_param().abi(), preportmetadata).ok()
284 }
285 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
286 #[cfg(feature = "Win32_Foundation")]
287 #[inline]
288 pub unsafe fn WerStoreQueryReportMetadataV2<P0, P1>(hreportstore: P0, pszreportkey: P1, preportmetadata: *mut WER_REPORT_METADATA_V2) -> ::windows::core::Result<()>
289 where
290 P0: ::windows::core::IntoParam<HREPORTSTORE>,
291 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
292 {
293 ::windows::imp::link ! ( "wer.dll""system" fn WerStoreQueryReportMetadataV2 ( hreportstore : HREPORTSTORE , pszreportkey : :: windows::core::PCWSTR , preportmetadata : *mut WER_REPORT_METADATA_V2 ) -> :: windows::core::HRESULT );
294 WerStoreQueryReportMetadataV2(hreportstore.into_param().abi(), pszreportkey.into_param().abi(), preportmetadata).ok()
295 }
296 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
297 #[cfg(feature = "Win32_Foundation")]
298 #[inline]
299 pub unsafe fn WerStoreQueryReportMetadataV3<P0, P1>(hreportstore: P0, pszreportkey: P1, preportmetadata: *mut WER_REPORT_METADATA_V3) -> ::windows::core::Result<()>
300 where
301 P0: ::windows::core::IntoParam<HREPORTSTORE>,
302 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
303 {
304 ::windows::imp::link ! ( "wer.dll""system" fn WerStoreQueryReportMetadataV3 ( hreportstore : HREPORTSTORE , pszreportkey : :: windows::core::PCWSTR , preportmetadata : *mut WER_REPORT_METADATA_V3 ) -> :: windows::core::HRESULT );
305 WerStoreQueryReportMetadataV3(hreportstore.into_param().abi(), pszreportkey.into_param().abi(), preportmetadata).ok()
306 }
307 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
308 #[inline]
309 pub unsafe fn WerStoreUploadReport<P0, P1>(hreportstore: P0, pszreportkey: P1, dwflags: u32, psubmitresult: ::core::option::Option<*mut WER_SUBMIT_RESULT>) -> ::windows::core::Result<()>
310 where
311 P0: ::windows::core::IntoParam<HREPORTSTORE>,
312 P1: ::windows::core::IntoParam<::windows::core::PCWSTR>,
313 {
314 ::windows::imp::link ! ( "wer.dll""system" fn WerStoreUploadReport ( hreportstore : HREPORTSTORE , pszreportkey : :: windows::core::PCWSTR , dwflags : u32 , psubmitresult : *mut WER_SUBMIT_RESULT ) -> :: windows::core::HRESULT );
315 WerStoreUploadReport(hreportstore.into_param().abi(), pszreportkey.into_param().abi(), dwflags, ::core::mem::transmute(psubmitresult.unwrap_or(::std::ptr::null_mut()))).ok()
316 }
317 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
318 #[inline]
319 pub unsafe fn WerUnregisterAdditionalProcess(processid: u32) -> ::windows::core::Result<()> {
320 ::windows::imp::link ! ( "kernel32.dll""system" fn WerUnregisterAdditionalProcess ( processid : u32 ) -> :: windows::core::HRESULT );
321 WerUnregisterAdditionalProcess(processid).ok()
322 }
323 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
324 #[inline]
325 pub unsafe fn WerUnregisterAppLocalDump() -> ::windows::core::Result<()> {
326 ::windows::imp::link ! ( "kernel32.dll""system" fn WerUnregisterAppLocalDump ( ) -> :: windows::core::HRESULT );
327 WerUnregisterAppLocalDump().ok()
328 }
329 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
330 #[inline]
331 pub unsafe fn WerUnregisterCustomMetadata<P0>(key: P0) -> ::windows::core::Result<()>
332 where
333 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
334 {
335 ::windows::imp::link ! ( "kernel32.dll""system" fn WerUnregisterCustomMetadata ( key : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT );
336 WerUnregisterCustomMetadata(key.into_param().abi()).ok()
337 }
338 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
339 #[inline]
340 pub unsafe fn WerUnregisterExcludedMemoryBlock(address: *const ::core::ffi::c_void) -> ::windows::core::Result<()> {
341 ::windows::imp::link ! ( "kernel32.dll""system" fn WerUnregisterExcludedMemoryBlock ( address : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT );
342 WerUnregisterExcludedMemoryBlock(address).ok()
343 }
344 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
345 #[inline]
346 pub unsafe fn WerUnregisterFile<P0>(pwzfilepath: P0) -> ::windows::core::Result<()>
347 where
348 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
349 {
350 ::windows::imp::link ! ( "kernel32.dll""system" fn WerUnregisterFile ( pwzfilepath : :: windows::core::PCWSTR ) -> :: windows::core::HRESULT );
351 WerUnregisterFile(pwzfilepath.into_param().abi()).ok()
352 }
353 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
354 #[inline]
355 pub unsafe fn WerUnregisterMemoryBlock(pvaddress: *const ::core::ffi::c_void) -> ::windows::core::Result<()> {
356 ::windows::imp::link ! ( "kernel32.dll""system" fn WerUnregisterMemoryBlock ( pvaddress : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT );
357 WerUnregisterMemoryBlock(pvaddress).ok()
358 }
359 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
360 #[inline]
361 pub unsafe fn WerUnregisterRuntimeExceptionModule<P0>(pwszoutofprocesscallbackdll: P0, pcontext: *const ::core::ffi::c_void) -> ::windows::core::Result<()>
362 where
363 P0: ::windows::core::IntoParam<::windows::core::PCWSTR>,
364 {
365 ::windows::imp::link ! ( "kernel32.dll""system" fn WerUnregisterRuntimeExceptionModule ( pwszoutofprocesscallbackdll : :: windows::core::PCWSTR , pcontext : *const ::core::ffi::c_void ) -> :: windows::core::HRESULT );
366 WerUnregisterRuntimeExceptionModule(pwszoutofprocesscallbackdll.into_param().abi(), pcontext).ok()
367 }
368 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
369 pub const APPCRASH_EVENT: ::windows::core::PCWSTR = ::windows::w!("APPCRASH");
370 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
371 pub const PACKAGED_APPCRASH_EVENT: ::windows::core::PCWSTR = ::windows::w!("MoAppCrash");
372 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
373 pub const WER_DUMP_AUXILIARY: u32 = 2u32;
374 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
375 pub const WER_DUMP_MASK_START: u32 = 1u32;
376 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
377 pub const WER_DUMP_NOHEAP_ONQUEUE: u32 = 1u32;
378 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
379 pub const WER_FAULT_REPORTING_CRITICAL: u32 = 512u32;
380 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
381 pub const WER_FAULT_REPORTING_DISABLE_SNAPSHOT_CRASH: u32 = 128u32;
382 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
383 pub const WER_FAULT_REPORTING_DISABLE_SNAPSHOT_HANG: u32 = 256u32;
384 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
385 pub const WER_FAULT_REPORTING_DURABLE: u32 = 1024u32;
386 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
387 pub const WER_FAULT_REPORTING_FLAG_NO_HEAP_ON_QUEUE: u32 = 64u32;
388 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
389 pub const WER_FAULT_REPORTING_NO_UI: u32 = 32u32;
390 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
391 pub const WER_FILE_COMPRESSED: u32 = 4u32;
392 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
393 pub const WER_MAX_APPLICATION_NAME_LENGTH: u32 = 128u32;
394 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
395 pub const WER_MAX_BUCKET_ID_STRING_LENGTH: u32 = 260u32;
396 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
397 pub const WER_MAX_DESCRIPTION_LENGTH: u32 = 512u32;
398 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
399 pub const WER_MAX_EVENT_NAME_LENGTH: u32 = 64u32;
400 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
401 pub const WER_MAX_FRIENDLY_EVENT_NAME_LENGTH: u32 = 128u32;
402 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
403 pub const WER_MAX_LOCAL_DUMP_SUBPATH_LENGTH: u32 = 64u32;
404 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
405 pub const WER_MAX_PARAM_COUNT: u32 = 10u32;
406 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
407 pub const WER_MAX_PARAM_LENGTH: u32 = 260u32;
408 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
409 pub const WER_MAX_PREFERRED_MODULES: u32 = 128u32;
410 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
411 pub const WER_MAX_PREFERRED_MODULES_BUFFER: u32 = 256u32;
412 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
413 pub const WER_MAX_REGISTERED_DUMPCOLLECTION: u32 = 4u32;
414 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
415 pub const WER_MAX_REGISTERED_ENTRIES: u32 = 512u32;
416 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
417 pub const WER_MAX_REGISTERED_METADATA: u32 = 8u32;
418 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
419 pub const WER_MAX_REGISTERED_RUNTIME_EXCEPTION_MODULES: u32 = 16u32;
420 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
421 pub const WER_MAX_SIGNATURE_NAME_LENGTH: u32 = 128u32;
422 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
423 pub const WER_MAX_TOTAL_PARAM_LENGTH: u32 = 1720u32;
424 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
425 pub const WER_METADATA_KEY_MAX_LENGTH: u32 = 64u32;
426 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
427 pub const WER_METADATA_VALUE_MAX_LENGTH: u32 = 128u32;
428 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
429 pub const WER_P0: u32 = 0u32;
430 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
431 pub const WER_P1: u32 = 1u32;
432 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
433 pub const WER_P2: u32 = 2u32;
434 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
435 pub const WER_P3: u32 = 3u32;
436 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
437 pub const WER_P4: u32 = 4u32;
438 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
439 pub const WER_P5: u32 = 5u32;
440 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
441 pub const WER_P6: u32 = 6u32;
442 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
443 pub const WER_P7: u32 = 7u32;
444 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
445 pub const WER_P8: u32 = 8u32;
446 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
447 pub const WER_P9: u32 = 9u32;
448 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
449 pub const WER_RUNTIME_EXCEPTION_DEBUGGER_LAUNCH: ::windows::core::PCSTR = ::windows::s!("OutOfProcessExceptionEventDebuggerLaunchCallback");
450 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
451 pub const WER_RUNTIME_EXCEPTION_EVENT_FUNCTION: ::windows::core::PCSTR = ::windows::s!("OutOfProcessExceptionEventCallback");
452 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
453 pub const WER_RUNTIME_EXCEPTION_EVENT_SIGNATURE_FUNCTION: ::windows::core::PCSTR = ::windows::s!("OutOfProcessExceptionEventSignatureCallback");
454 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
455 pub const WER_SUBMIT_BYPASS_NETWORK_COST_THROTTLING: u32 = 32768u32;
456 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
457 pub const WER_SUBMIT_BYPASS_POWER_THROTTLING: u32 = 16384u32;
458 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
459 #[repr(transparent)]
460 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
461 pub struct EFaultRepRetVal(pub i32);
462 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
463 pub const frrvOk: EFaultRepRetVal = EFaultRepRetVal(0i32);
464 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
465 pub const frrvOkManifest: EFaultRepRetVal = EFaultRepRetVal(1i32);
466 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
467 pub const frrvOkQueued: EFaultRepRetVal = EFaultRepRetVal(2i32);
468 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
469 pub const frrvErr: EFaultRepRetVal = EFaultRepRetVal(3i32);
470 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
471 pub const frrvErrNoDW: EFaultRepRetVal = EFaultRepRetVal(4i32);
472 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
473 pub const frrvErrTimeout: EFaultRepRetVal = EFaultRepRetVal(5i32);
474 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
475 pub const frrvLaunchDebugger: EFaultRepRetVal = EFaultRepRetVal(6i32);
476 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
477 pub const frrvOkHeadless: EFaultRepRetVal = EFaultRepRetVal(7i32);
478 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
479 pub const frrvErrAnotherInstance: EFaultRepRetVal = EFaultRepRetVal(8i32);
480 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
481 pub const frrvErrNoMemory: EFaultRepRetVal = EFaultRepRetVal(9i32);
482 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
483 pub const frrvErrDoubleFault: EFaultRepRetVal = EFaultRepRetVal(10i32);
484 impl ::core::marker::Copy for EFaultRepRetVal {}
485 impl ::core::clone::Clone for EFaultRepRetVal {
486 fn clone(&self) -> Self {
487 *self
488 }
489 }
490 impl ::core::default::Default for EFaultRepRetVal {
491 fn default() -> Self {
492 Self(0)
493 }
494 }
495 impl ::windows::core::TypeKind for EFaultRepRetVal {
496 type TypeKind = ::windows::core::CopyType;
497 }
498 impl ::core::fmt::Debug for EFaultRepRetVal {
499 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
500 f.debug_tuple("EFaultRepRetVal").field(&self.0).finish()
501 }
502 }
503 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
504 #[repr(transparent)]
505 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
506 pub struct REPORT_STORE_TYPES(pub i32);
507 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
508 pub const E_STORE_USER_ARCHIVE: REPORT_STORE_TYPES = REPORT_STORE_TYPES(0i32);
509 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
510 pub const E_STORE_USER_QUEUE: REPORT_STORE_TYPES = REPORT_STORE_TYPES(1i32);
511 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
512 pub const E_STORE_MACHINE_ARCHIVE: REPORT_STORE_TYPES = REPORT_STORE_TYPES(2i32);
513 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
514 pub const E_STORE_MACHINE_QUEUE: REPORT_STORE_TYPES = REPORT_STORE_TYPES(3i32);
515 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
516 pub const E_STORE_INVALID: REPORT_STORE_TYPES = REPORT_STORE_TYPES(4i32);
517 impl ::core::marker::Copy for REPORT_STORE_TYPES {}
518 impl ::core::clone::Clone for REPORT_STORE_TYPES {
519 fn clone(&self) -> Self {
520 *self
521 }
522 }
523 impl ::core::default::Default for REPORT_STORE_TYPES {
524 fn default() -> Self {
525 Self(0)
526 }
527 }
528 impl ::windows::core::TypeKind for REPORT_STORE_TYPES {
529 type TypeKind = ::windows::core::CopyType;
530 }
531 impl ::core::fmt::Debug for REPORT_STORE_TYPES {
532 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
533 f.debug_tuple("REPORT_STORE_TYPES").field(&self.0).finish()
534 }
535 }
536 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
537 #[repr(transparent)]
538 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
539 pub struct WER_CONSENT(pub i32);
540 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
541 pub const WerConsentNotAsked: WER_CONSENT = WER_CONSENT(1i32);
542 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
543 pub const WerConsentApproved: WER_CONSENT = WER_CONSENT(2i32);
544 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
545 pub const WerConsentDenied: WER_CONSENT = WER_CONSENT(3i32);
546 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
547 pub const WerConsentAlwaysPrompt: WER_CONSENT = WER_CONSENT(4i32);
548 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
549 pub const WerConsentMax: WER_CONSENT = WER_CONSENT(5i32);
550 impl ::core::marker::Copy for WER_CONSENT {}
551 impl ::core::clone::Clone for WER_CONSENT {
552 fn clone(&self) -> Self {
553 *self
554 }
555 }
556 impl ::core::default::Default for WER_CONSENT {
557 fn default() -> Self {
558 Self(0)
559 }
560 }
561 impl ::windows::core::TypeKind for WER_CONSENT {
562 type TypeKind = ::windows::core::CopyType;
563 }
564 impl ::core::fmt::Debug for WER_CONSENT {
565 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
566 f.debug_tuple("WER_CONSENT").field(&self.0).finish()
567 }
568 }
569 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
570 #[repr(transparent)]
571 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
572 pub struct WER_DUMP_TYPE(pub i32);
573 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
574 pub const WerDumpTypeNone: WER_DUMP_TYPE = WER_DUMP_TYPE(0i32);
575 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
576 pub const WerDumpTypeMicroDump: WER_DUMP_TYPE = WER_DUMP_TYPE(1i32);
577 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
578 pub const WerDumpTypeMiniDump: WER_DUMP_TYPE = WER_DUMP_TYPE(2i32);
579 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
580 pub const WerDumpTypeHeapDump: WER_DUMP_TYPE = WER_DUMP_TYPE(3i32);
581 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
582 pub const WerDumpTypeTriageDump: WER_DUMP_TYPE = WER_DUMP_TYPE(4i32);
583 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
584 pub const WerDumpTypeMax: WER_DUMP_TYPE = WER_DUMP_TYPE(5i32);
585 impl ::core::marker::Copy for WER_DUMP_TYPE {}
586 impl ::core::clone::Clone for WER_DUMP_TYPE {
587 fn clone(&self) -> Self {
588 *self
589 }
590 }
591 impl ::core::default::Default for WER_DUMP_TYPE {
592 fn default() -> Self {
593 Self(0)
594 }
595 }
596 impl ::windows::core::TypeKind for WER_DUMP_TYPE {
597 type TypeKind = ::windows::core::CopyType;
598 }
599 impl ::core::fmt::Debug for WER_DUMP_TYPE {
600 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
601 f.debug_tuple("WER_DUMP_TYPE").field(&self.0).finish()
602 }
603 }
604 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
605 #[repr(transparent)]
606 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
607 pub struct WER_FAULT_REPORTING(pub u32);
608 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
609 pub const WER_FAULT_REPORTING_FLAG_DISABLE_THREAD_SUSPENSION: WER_FAULT_REPORTING = WER_FAULT_REPORTING(4u32);
610 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
611 pub const WER_FAULT_REPORTING_FLAG_NOHEAP: WER_FAULT_REPORTING = WER_FAULT_REPORTING(1u32);
612 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
613 pub const WER_FAULT_REPORTING_FLAG_QUEUE: WER_FAULT_REPORTING = WER_FAULT_REPORTING(2u32);
614 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
615 pub const WER_FAULT_REPORTING_FLAG_QUEUE_UPLOAD: WER_FAULT_REPORTING = WER_FAULT_REPORTING(8u32);
616 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
617 pub const WER_FAULT_REPORTING_ALWAYS_SHOW_UI: WER_FAULT_REPORTING = WER_FAULT_REPORTING(16u32);
618 impl ::core::marker::Copy for WER_FAULT_REPORTING {}
619 impl ::core::clone::Clone for WER_FAULT_REPORTING {
620 fn clone(&self) -> Self {
621 *self
622 }
623 }
624 impl ::core::default::Default for WER_FAULT_REPORTING {
625 fn default() -> Self {
626 Self(0)
627 }
628 }
629 impl ::windows::core::TypeKind for WER_FAULT_REPORTING {
630 type TypeKind = ::windows::core::CopyType;
631 }
632 impl ::core::fmt::Debug for WER_FAULT_REPORTING {
633 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
634 f.debug_tuple("WER_FAULT_REPORTING").field(&self.0).finish()
635 }
636 }
637 impl WER_FAULT_REPORTING {
638 pub const fn contains(&self, other: Self) -> bool {
639 self.0 & other.0 == other.0
640 }
641 }
642 impl ::core::ops::BitOr for WER_FAULT_REPORTING {
643 type Output = Self;
644 fn bitor(self, other: Self) -> Self {
645 Self(self.0 | other.0)
646 }
647 }
648 impl ::core::ops::BitAnd for WER_FAULT_REPORTING {
649 type Output = Self;
650 fn bitand(self, other: Self) -> Self {
651 Self(self.0 & other.0)
652 }
653 }
654 impl ::core::ops::BitOrAssign for WER_FAULT_REPORTING {
655 fn bitor_assign(&mut self, other: Self) {
656 self.0.bitor_assign(other.0)
657 }
658 }
659 impl ::core::ops::BitAndAssign for WER_FAULT_REPORTING {
660 fn bitand_assign(&mut self, other: Self) {
661 self.0.bitand_assign(other.0)
662 }
663 }
664 impl ::core::ops::Not for WER_FAULT_REPORTING {
665 type Output = Self;
666 fn not(self) -> Self {
667 Self(self.0.not())
668 }
669 }
670 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
671 #[repr(transparent)]
672 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
673 pub struct WER_FILE(pub u32);
674 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
675 pub const WER_FILE_ANONYMOUS_DATA: WER_FILE = WER_FILE(2u32);
676 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
677 pub const WER_FILE_DELETE_WHEN_DONE: WER_FILE = WER_FILE(1u32);
678 impl ::core::marker::Copy for WER_FILE {}
679 impl ::core::clone::Clone for WER_FILE {
680 fn clone(&self) -> Self {
681 *self
682 }
683 }
684 impl ::core::default::Default for WER_FILE {
685 fn default() -> Self {
686 Self(0)
687 }
688 }
689 impl ::windows::core::TypeKind for WER_FILE {
690 type TypeKind = ::windows::core::CopyType;
691 }
692 impl ::core::fmt::Debug for WER_FILE {
693 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
694 f.debug_tuple("WER_FILE").field(&self.0).finish()
695 }
696 }
697 impl WER_FILE {
698 pub const fn contains(&self, other: Self) -> bool {
699 self.0 & other.0 == other.0
700 }
701 }
702 impl ::core::ops::BitOr for WER_FILE {
703 type Output = Self;
704 fn bitor(self, other: Self) -> Self {
705 Self(self.0 | other.0)
706 }
707 }
708 impl ::core::ops::BitAnd for WER_FILE {
709 type Output = Self;
710 fn bitand(self, other: Self) -> Self {
711 Self(self.0 & other.0)
712 }
713 }
714 impl ::core::ops::BitOrAssign for WER_FILE {
715 fn bitor_assign(&mut self, other: Self) {
716 self.0.bitor_assign(other.0)
717 }
718 }
719 impl ::core::ops::BitAndAssign for WER_FILE {
720 fn bitand_assign(&mut self, other: Self) {
721 self.0.bitand_assign(other.0)
722 }
723 }
724 impl ::core::ops::Not for WER_FILE {
725 type Output = Self;
726 fn not(self) -> Self {
727 Self(self.0.not())
728 }
729 }
730 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
731 #[repr(transparent)]
732 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
733 pub struct WER_FILE_TYPE(pub i32);
734 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
735 pub const WerFileTypeMicrodump: WER_FILE_TYPE = WER_FILE_TYPE(1i32);
736 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
737 pub const WerFileTypeMinidump: WER_FILE_TYPE = WER_FILE_TYPE(2i32);
738 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
739 pub const WerFileTypeHeapdump: WER_FILE_TYPE = WER_FILE_TYPE(3i32);
740 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
741 pub const WerFileTypeUserDocument: WER_FILE_TYPE = WER_FILE_TYPE(4i32);
742 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
743 pub const WerFileTypeOther: WER_FILE_TYPE = WER_FILE_TYPE(5i32);
744 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
745 pub const WerFileTypeTriagedump: WER_FILE_TYPE = WER_FILE_TYPE(6i32);
746 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
747 pub const WerFileTypeCustomDump: WER_FILE_TYPE = WER_FILE_TYPE(7i32);
748 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
749 pub const WerFileTypeAuxiliaryDump: WER_FILE_TYPE = WER_FILE_TYPE(8i32);
750 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
751 pub const WerFileTypeEtlTrace: WER_FILE_TYPE = WER_FILE_TYPE(9i32);
752 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
753 pub const WerFileTypeMax: WER_FILE_TYPE = WER_FILE_TYPE(10i32);
754 impl ::core::marker::Copy for WER_FILE_TYPE {}
755 impl ::core::clone::Clone for WER_FILE_TYPE {
756 fn clone(&self) -> Self {
757 *self
758 }
759 }
760 impl ::core::default::Default for WER_FILE_TYPE {
761 fn default() -> Self {
762 Self(0)
763 }
764 }
765 impl ::windows::core::TypeKind for WER_FILE_TYPE {
766 type TypeKind = ::windows::core::CopyType;
767 }
768 impl ::core::fmt::Debug for WER_FILE_TYPE {
769 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
770 f.debug_tuple("WER_FILE_TYPE").field(&self.0).finish()
771 }
772 }
773 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
774 #[repr(transparent)]
775 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
776 pub struct WER_REGISTER_FILE_TYPE(pub i32);
777 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
778 pub const WerRegFileTypeUserDocument: WER_REGISTER_FILE_TYPE = WER_REGISTER_FILE_TYPE(1i32);
779 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
780 pub const WerRegFileTypeOther: WER_REGISTER_FILE_TYPE = WER_REGISTER_FILE_TYPE(2i32);
781 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
782 pub const WerRegFileTypeMax: WER_REGISTER_FILE_TYPE = WER_REGISTER_FILE_TYPE(3i32);
783 impl ::core::marker::Copy for WER_REGISTER_FILE_TYPE {}
784 impl ::core::clone::Clone for WER_REGISTER_FILE_TYPE {
785 fn clone(&self) -> Self {
786 *self
787 }
788 }
789 impl ::core::default::Default for WER_REGISTER_FILE_TYPE {
790 fn default() -> Self {
791 Self(0)
792 }
793 }
794 impl ::windows::core::TypeKind for WER_REGISTER_FILE_TYPE {
795 type TypeKind = ::windows::core::CopyType;
796 }
797 impl ::core::fmt::Debug for WER_REGISTER_FILE_TYPE {
798 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
799 f.debug_tuple("WER_REGISTER_FILE_TYPE").field(&self.0).finish()
800 }
801 }
802 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
803 #[repr(transparent)]
804 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
805 pub struct WER_REPORT_TYPE(pub i32);
806 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
807 pub const WerReportNonCritical: WER_REPORT_TYPE = WER_REPORT_TYPE(0i32);
808 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
809 pub const WerReportCritical: WER_REPORT_TYPE = WER_REPORT_TYPE(1i32);
810 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
811 pub const WerReportApplicationCrash: WER_REPORT_TYPE = WER_REPORT_TYPE(2i32);
812 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
813 pub const WerReportApplicationHang: WER_REPORT_TYPE = WER_REPORT_TYPE(3i32);
814 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
815 pub const WerReportKernel: WER_REPORT_TYPE = WER_REPORT_TYPE(4i32);
816 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
817 pub const WerReportInvalid: WER_REPORT_TYPE = WER_REPORT_TYPE(5i32);
818 impl ::core::marker::Copy for WER_REPORT_TYPE {}
819 impl ::core::clone::Clone for WER_REPORT_TYPE {
820 fn clone(&self) -> Self {
821 *self
822 }
823 }
824 impl ::core::default::Default for WER_REPORT_TYPE {
825 fn default() -> Self {
826 Self(0)
827 }
828 }
829 impl ::windows::core::TypeKind for WER_REPORT_TYPE {
830 type TypeKind = ::windows::core::CopyType;
831 }
832 impl ::core::fmt::Debug for WER_REPORT_TYPE {
833 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
834 f.debug_tuple("WER_REPORT_TYPE").field(&self.0).finish()
835 }
836 }
837 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
838 #[repr(transparent)]
839 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
840 pub struct WER_REPORT_UI(pub i32);
841 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
842 pub const WerUIAdditionalDataDlgHeader: WER_REPORT_UI = WER_REPORT_UI(1i32);
843 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
844 pub const WerUIIconFilePath: WER_REPORT_UI = WER_REPORT_UI(2i32);
845 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
846 pub const WerUIConsentDlgHeader: WER_REPORT_UI = WER_REPORT_UI(3i32);
847 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
848 pub const WerUIConsentDlgBody: WER_REPORT_UI = WER_REPORT_UI(4i32);
849 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
850 pub const WerUIOnlineSolutionCheckText: WER_REPORT_UI = WER_REPORT_UI(5i32);
851 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
852 pub const WerUIOfflineSolutionCheckText: WER_REPORT_UI = WER_REPORT_UI(6i32);
853 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
854 pub const WerUICloseText: WER_REPORT_UI = WER_REPORT_UI(7i32);
855 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
856 pub const WerUICloseDlgHeader: WER_REPORT_UI = WER_REPORT_UI(8i32);
857 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
858 pub const WerUICloseDlgBody: WER_REPORT_UI = WER_REPORT_UI(9i32);
859 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
860 pub const WerUICloseDlgButtonText: WER_REPORT_UI = WER_REPORT_UI(10i32);
861 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
862 pub const WerUIMax: WER_REPORT_UI = WER_REPORT_UI(11i32);
863 impl ::core::marker::Copy for WER_REPORT_UI {}
864 impl ::core::clone::Clone for WER_REPORT_UI {
865 fn clone(&self) -> Self {
866 *self
867 }
868 }
869 impl ::core::default::Default for WER_REPORT_UI {
870 fn default() -> Self {
871 Self(0)
872 }
873 }
874 impl ::windows::core::TypeKind for WER_REPORT_UI {
875 type TypeKind = ::windows::core::CopyType;
876 }
877 impl ::core::fmt::Debug for WER_REPORT_UI {
878 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
879 f.debug_tuple("WER_REPORT_UI").field(&self.0).finish()
880 }
881 }
882 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
883 #[repr(transparent)]
884 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
885 pub struct WER_SUBMIT_FLAGS(pub u32);
886 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
887 pub const WER_SUBMIT_ADD_REGISTERED_DATA: WER_SUBMIT_FLAGS = WER_SUBMIT_FLAGS(16u32);
888 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
889 pub const WER_SUBMIT_HONOR_RECOVERY: WER_SUBMIT_FLAGS = WER_SUBMIT_FLAGS(1u32);
890 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
891 pub const WER_SUBMIT_HONOR_RESTART: WER_SUBMIT_FLAGS = WER_SUBMIT_FLAGS(2u32);
892 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
893 pub const WER_SUBMIT_NO_ARCHIVE: WER_SUBMIT_FLAGS = WER_SUBMIT_FLAGS(256u32);
894 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
895 pub const WER_SUBMIT_NO_CLOSE_UI: WER_SUBMIT_FLAGS = WER_SUBMIT_FLAGS(64u32);
896 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
897 pub const WER_SUBMIT_NO_QUEUE: WER_SUBMIT_FLAGS = WER_SUBMIT_FLAGS(128u32);
898 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
899 pub const WER_SUBMIT_OUTOFPROCESS: WER_SUBMIT_FLAGS = WER_SUBMIT_FLAGS(32u32);
900 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
901 pub const WER_SUBMIT_OUTOFPROCESS_ASYNC: WER_SUBMIT_FLAGS = WER_SUBMIT_FLAGS(1024u32);
902 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
903 pub const WER_SUBMIT_QUEUE: WER_SUBMIT_FLAGS = WER_SUBMIT_FLAGS(4u32);
904 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
905 pub const WER_SUBMIT_SHOW_DEBUG: WER_SUBMIT_FLAGS = WER_SUBMIT_FLAGS(8u32);
906 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
907 pub const WER_SUBMIT_START_MINIMIZED: WER_SUBMIT_FLAGS = WER_SUBMIT_FLAGS(512u32);
908 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
909 pub const WER_SUBMIT_BYPASS_DATA_THROTTLING: WER_SUBMIT_FLAGS = WER_SUBMIT_FLAGS(2048u32);
910 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
911 pub const WER_SUBMIT_ARCHIVE_PARAMETERS_ONLY: WER_SUBMIT_FLAGS = WER_SUBMIT_FLAGS(4096u32);
912 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
913 pub const WER_SUBMIT_REPORT_MACHINE_ID: WER_SUBMIT_FLAGS = WER_SUBMIT_FLAGS(8192u32);
914 impl ::core::marker::Copy for WER_SUBMIT_FLAGS {}
915 impl ::core::clone::Clone for WER_SUBMIT_FLAGS {
916 fn clone(&self) -> Self {
917 *self
918 }
919 }
920 impl ::core::default::Default for WER_SUBMIT_FLAGS {
921 fn default() -> Self {
922 Self(0)
923 }
924 }
925 impl ::windows::core::TypeKind for WER_SUBMIT_FLAGS {
926 type TypeKind = ::windows::core::CopyType;
927 }
928 impl ::core::fmt::Debug for WER_SUBMIT_FLAGS {
929 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
930 f.debug_tuple("WER_SUBMIT_FLAGS").field(&self.0).finish()
931 }
932 }
933 impl WER_SUBMIT_FLAGS {
934 pub const fn contains(&self, other: Self) -> bool {
935 self.0 & other.0 == other.0
936 }
937 }
938 impl ::core::ops::BitOr for WER_SUBMIT_FLAGS {
939 type Output = Self;
940 fn bitor(self, other: Self) -> Self {
941 Self(self.0 | other.0)
942 }
943 }
944 impl ::core::ops::BitAnd for WER_SUBMIT_FLAGS {
945 type Output = Self;
946 fn bitand(self, other: Self) -> Self {
947 Self(self.0 & other.0)
948 }
949 }
950 impl ::core::ops::BitOrAssign for WER_SUBMIT_FLAGS {
951 fn bitor_assign(&mut self, other: Self) {
952 self.0.bitor_assign(other.0)
953 }
954 }
955 impl ::core::ops::BitAndAssign for WER_SUBMIT_FLAGS {
956 fn bitand_assign(&mut self, other: Self) {
957 self.0.bitand_assign(other.0)
958 }
959 }
960 impl ::core::ops::Not for WER_SUBMIT_FLAGS {
961 type Output = Self;
962 fn not(self) -> Self {
963 Self(self.0.not())
964 }
965 }
966 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
967 #[repr(transparent)]
968 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
969 pub struct WER_SUBMIT_RESULT(pub i32);
970 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
971 pub const WerReportQueued: WER_SUBMIT_RESULT = WER_SUBMIT_RESULT(1i32);
972 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
973 pub const WerReportUploaded: WER_SUBMIT_RESULT = WER_SUBMIT_RESULT(2i32);
974 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
975 pub const WerReportDebug: WER_SUBMIT_RESULT = WER_SUBMIT_RESULT(3i32);
976 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
977 pub const WerReportFailed: WER_SUBMIT_RESULT = WER_SUBMIT_RESULT(4i32);
978 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
979 pub const WerDisabled: WER_SUBMIT_RESULT = WER_SUBMIT_RESULT(5i32);
980 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
981 pub const WerReportCancelled: WER_SUBMIT_RESULT = WER_SUBMIT_RESULT(6i32);
982 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
983 pub const WerDisabledQueue: WER_SUBMIT_RESULT = WER_SUBMIT_RESULT(7i32);
984 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
985 pub const WerReportAsync: WER_SUBMIT_RESULT = WER_SUBMIT_RESULT(8i32);
986 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
987 pub const WerCustomAction: WER_SUBMIT_RESULT = WER_SUBMIT_RESULT(9i32);
988 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
989 pub const WerThrottled: WER_SUBMIT_RESULT = WER_SUBMIT_RESULT(10i32);
990 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
991 pub const WerReportUploadedCab: WER_SUBMIT_RESULT = WER_SUBMIT_RESULT(11i32);
992 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
993 pub const WerStorageLocationNotFound: WER_SUBMIT_RESULT = WER_SUBMIT_RESULT(12i32);
994 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
995 pub const WerSubmitResultMax: WER_SUBMIT_RESULT = WER_SUBMIT_RESULT(13i32);
996 impl ::core::marker::Copy for WER_SUBMIT_RESULT {}
997 impl ::core::clone::Clone for WER_SUBMIT_RESULT {
998 fn clone(&self) -> Self {
999 *self
1000 }
1001 }
1002 impl ::core::default::Default for WER_SUBMIT_RESULT {
1003 fn default() -> Self {
1004 Self(0)
1005 }
1006 }
1007 impl ::windows::core::TypeKind for WER_SUBMIT_RESULT {
1008 type TypeKind = ::windows::core::CopyType;
1009 }
1010 impl ::core::fmt::Debug for WER_SUBMIT_RESULT {
1011 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1012 f.debug_tuple("WER_SUBMIT_RESULT").field(&self.0).finish()
1013 }
1014 }
1015 #[repr(transparent)]
1016 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
1017 pub struct HREPORT(pub isize);
1018 impl HREPORT {
1019 pub fn is_invalid(&self) -> bool {
1020 self.0 == -1 || self.0 == 0
1021 }
1022 }
1023 impl ::core::default::Default for HREPORT {
1024 fn default() -> Self {
1025 unsafe { ::core::mem::zeroed() }
1026 }
1027 }
1028 impl ::core::clone::Clone for HREPORT {
1029 fn clone(&self) -> Self {
1030 *self
1031 }
1032 }
1033 impl ::core::marker::Copy for HREPORT {}
1034 impl ::core::fmt::Debug for HREPORT {
1035 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1036 f.debug_tuple("HREPORT").field(&self.0).finish()
1037 }
1038 }
1039 impl ::windows::core::TypeKind for HREPORT {
1040 type TypeKind = ::windows::core::CopyType;
1041 }
1042 #[repr(transparent)]
1043 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
1044 pub struct HREPORTSTORE(pub isize);
1045 impl HREPORTSTORE {
1046 pub fn is_invalid(&self) -> bool {
1047 self.0 == -1 || self.0 == 0
1048 }
1049 }
1050 impl ::core::default::Default for HREPORTSTORE {
1051 fn default() -> Self {
1052 unsafe { ::core::mem::zeroed() }
1053 }
1054 }
1055 impl ::core::clone::Clone for HREPORTSTORE {
1056 fn clone(&self) -> Self {
1057 *self
1058 }
1059 }
1060 impl ::core::marker::Copy for HREPORTSTORE {}
1061 impl ::core::fmt::Debug for HREPORTSTORE {
1062 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1063 f.debug_tuple("HREPORTSTORE").field(&self.0).finish()
1064 }
1065 }
1066 impl ::windows::core::TypeKind for HREPORTSTORE {
1067 type TypeKind = ::windows::core::CopyType;
1068 }
1069 #[repr(C)]
1070 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
1071 #[cfg(feature = "Win32_Foundation")]
1072 pub struct WER_DUMP_CUSTOM_OPTIONS {
1073 pub dwSize: u32,
1074 pub dwMask: u32,
1075 pub dwDumpFlags: u32,
1076 pub bOnlyThisThread: super::super::Foundation::BOOL,
1077 pub dwExceptionThreadFlags: u32,
1078 pub dwOtherThreadFlags: u32,
1079 pub dwExceptionThreadExFlags: u32,
1080 pub dwOtherThreadExFlags: u32,
1081 pub dwPreferredModuleFlags: u32,
1082 pub dwOtherModuleFlags: u32,
1083 pub wzPreferredModuleList: [u16; 256],
1084 }
1085 #[cfg(feature = "Win32_Foundation")]
1086 impl ::core::marker::Copy for WER_DUMP_CUSTOM_OPTIONS {}
1087 #[cfg(feature = "Win32_Foundation")]
1088 impl ::core::clone::Clone for WER_DUMP_CUSTOM_OPTIONS {
1089 fn clone(&self) -> Self {
1090 *self
1091 }
1092 }
1093 #[cfg(feature = "Win32_Foundation")]
1094 impl ::core::fmt::Debug for WER_DUMP_CUSTOM_OPTIONS {
1095 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1096 f.debug_struct("WER_DUMP_CUSTOM_OPTIONS")
1097 .field("dwSize", &self.dwSize)
1098 .field("dwMask", &self.dwMask)
1099 .field("dwDumpFlags", &self.dwDumpFlags)
1100 .field("bOnlyThisThread", &self.bOnlyThisThread)
1101 .field("dwExceptionThreadFlags", &self.dwExceptionThreadFlags)
1102 .field("dwOtherThreadFlags", &self.dwOtherThreadFlags)
1103 .field("dwExceptionThreadExFlags", &self.dwExceptionThreadExFlags)
1104 .field("dwOtherThreadExFlags", &self.dwOtherThreadExFlags)
1105 .field("dwPreferredModuleFlags", &self.dwPreferredModuleFlags)
1106 .field("dwOtherModuleFlags", &self.dwOtherModuleFlags)
1107 .field("wzPreferredModuleList", &self.wzPreferredModuleList)
1108 .finish()
1109 }
1110 }
1111 #[cfg(feature = "Win32_Foundation")]
1112 impl ::windows::core::TypeKind for WER_DUMP_CUSTOM_OPTIONS {
1113 type TypeKind = ::windows::core::CopyType;
1114 }
1115 #[cfg(feature = "Win32_Foundation")]
1116 impl ::core::cmp::PartialEq for WER_DUMP_CUSTOM_OPTIONS {
1117 fn eq(&self, other: &Self) -> bool {
1118 self.dwSize == other.dwSize && self.dwMask == other.dwMask && self.dwDumpFlags == other.dwDumpFlags && self.bOnlyThisThread == other.bOnlyThisThread && self.dwExceptionThreadFlags == other.dwExceptionThreadFlags && self.dwOtherThreadFlags == other.dwOtherThreadFlags && self.dwExceptionThreadExFlags == other.dwExceptionThreadExFlags && self.dwOtherThreadExFlags == other.dwOtherThreadExFlags && self.dwPreferredModuleFlags == other.dwPreferredModuleFlags && self.dwOtherModuleFlags == other.dwOtherModuleFlags && self.wzPreferredModuleList == other.wzPreferredModuleList
1119 }
1120 }
1121 #[cfg(feature = "Win32_Foundation")]
1122 impl ::core::cmp::Eq for WER_DUMP_CUSTOM_OPTIONS {}
1123 #[cfg(feature = "Win32_Foundation")]
1124 impl ::core::default::Default for WER_DUMP_CUSTOM_OPTIONS {
1125 fn default() -> Self {
1126 unsafe { ::core::mem::zeroed() }
1127 }
1128 }
1129 #[repr(C)]
1130 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
1131 #[cfg(feature = "Win32_Foundation")]
1132 pub struct WER_DUMP_CUSTOM_OPTIONS_V2 {
1133 pub dwSize: u32,
1134 pub dwMask: u32,
1135 pub dwDumpFlags: u32,
1136 pub bOnlyThisThread: super::super::Foundation::BOOL,
1137 pub dwExceptionThreadFlags: u32,
1138 pub dwOtherThreadFlags: u32,
1139 pub dwExceptionThreadExFlags: u32,
1140 pub dwOtherThreadExFlags: u32,
1141 pub dwPreferredModuleFlags: u32,
1142 pub dwOtherModuleFlags: u32,
1143 pub wzPreferredModuleList: [u16; 256],
1144 pub dwPreferredModuleResetFlags: u32,
1145 pub dwOtherModuleResetFlags: u32,
1146 }
1147 #[cfg(feature = "Win32_Foundation")]
1148 impl ::core::marker::Copy for WER_DUMP_CUSTOM_OPTIONS_V2 {}
1149 #[cfg(feature = "Win32_Foundation")]
1150 impl ::core::clone::Clone for WER_DUMP_CUSTOM_OPTIONS_V2 {
1151 fn clone(&self) -> Self {
1152 *self
1153 }
1154 }
1155 #[cfg(feature = "Win32_Foundation")]
1156 impl ::core::fmt::Debug for WER_DUMP_CUSTOM_OPTIONS_V2 {
1157 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1158 f.debug_struct("WER_DUMP_CUSTOM_OPTIONS_V2")
1159 .field("dwSize", &self.dwSize)
1160 .field("dwMask", &self.dwMask)
1161 .field("dwDumpFlags", &self.dwDumpFlags)
1162 .field("bOnlyThisThread", &self.bOnlyThisThread)
1163 .field("dwExceptionThreadFlags", &self.dwExceptionThreadFlags)
1164 .field("dwOtherThreadFlags", &self.dwOtherThreadFlags)
1165 .field("dwExceptionThreadExFlags", &self.dwExceptionThreadExFlags)
1166 .field("dwOtherThreadExFlags", &self.dwOtherThreadExFlags)
1167 .field("dwPreferredModuleFlags", &self.dwPreferredModuleFlags)
1168 .field("dwOtherModuleFlags", &self.dwOtherModuleFlags)
1169 .field("wzPreferredModuleList", &self.wzPreferredModuleList)
1170 .field("dwPreferredModuleResetFlags", &self.dwPreferredModuleResetFlags)
1171 .field("dwOtherModuleResetFlags", &self.dwOtherModuleResetFlags)
1172 .finish()
1173 }
1174 }
1175 #[cfg(feature = "Win32_Foundation")]
1176 impl ::windows::core::TypeKind for WER_DUMP_CUSTOM_OPTIONS_V2 {
1177 type TypeKind = ::windows::core::CopyType;
1178 }
1179 #[cfg(feature = "Win32_Foundation")]
1180 impl ::core::cmp::PartialEq for WER_DUMP_CUSTOM_OPTIONS_V2 {
1181 fn eq(&self, other: &Self) -> bool {
1182 self.dwSize == other.dwSize && self.dwMask == other.dwMask && self.dwDumpFlags == other.dwDumpFlags && self.bOnlyThisThread == other.bOnlyThisThread && self.dwExceptionThreadFlags == other.dwExceptionThreadFlags && self.dwOtherThreadFlags == other.dwOtherThreadFlags && self.dwExceptionThreadExFlags == other.dwExceptionThreadExFlags && self.dwOtherThreadExFlags == other.dwOtherThreadExFlags && self.dwPreferredModuleFlags == other.dwPreferredModuleFlags && self.dwOtherModuleFlags == other.dwOtherModuleFlags && self.wzPreferredModuleList == other.wzPreferredModuleList && self.dwPreferredModuleResetFlags == other.dwPreferredModuleResetFlags && self.dwOtherModuleResetFlags == other.dwOtherModuleResetFlags
1183 }
1184 }
1185 #[cfg(feature = "Win32_Foundation")]
1186 impl ::core::cmp::Eq for WER_DUMP_CUSTOM_OPTIONS_V2 {}
1187 #[cfg(feature = "Win32_Foundation")]
1188 impl ::core::default::Default for WER_DUMP_CUSTOM_OPTIONS_V2 {
1189 fn default() -> Self {
1190 unsafe { ::core::mem::zeroed() }
1191 }
1192 }
1193 #[repr(C)]
1194 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
1195 #[cfg(feature = "Win32_Foundation")]
1196 pub struct WER_DUMP_CUSTOM_OPTIONS_V3 {
1197 pub dwSize: u32,
1198 pub dwMask: u32,
1199 pub dwDumpFlags: u32,
1200 pub bOnlyThisThread: super::super::Foundation::BOOL,
1201 pub dwExceptionThreadFlags: u32,
1202 pub dwOtherThreadFlags: u32,
1203 pub dwExceptionThreadExFlags: u32,
1204 pub dwOtherThreadExFlags: u32,
1205 pub dwPreferredModuleFlags: u32,
1206 pub dwOtherModuleFlags: u32,
1207 pub wzPreferredModuleList: [u16; 256],
1208 pub dwPreferredModuleResetFlags: u32,
1209 pub dwOtherModuleResetFlags: u32,
1210 pub pvDumpKey: *mut ::core::ffi::c_void,
1211 pub hSnapshot: super::super::Foundation::HANDLE,
1212 pub dwThreadID: u32,
1213 }
1214 #[cfg(feature = "Win32_Foundation")]
1215 impl ::core::marker::Copy for WER_DUMP_CUSTOM_OPTIONS_V3 {}
1216 #[cfg(feature = "Win32_Foundation")]
1217 impl ::core::clone::Clone for WER_DUMP_CUSTOM_OPTIONS_V3 {
1218 fn clone(&self) -> Self {
1219 *self
1220 }
1221 }
1222 #[cfg(feature = "Win32_Foundation")]
1223 impl ::core::fmt::Debug for WER_DUMP_CUSTOM_OPTIONS_V3 {
1224 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1225 f.debug_struct("WER_DUMP_CUSTOM_OPTIONS_V3")
1226 .field("dwSize", &self.dwSize)
1227 .field("dwMask", &self.dwMask)
1228 .field("dwDumpFlags", &self.dwDumpFlags)
1229 .field("bOnlyThisThread", &self.bOnlyThisThread)
1230 .field("dwExceptionThreadFlags", &self.dwExceptionThreadFlags)
1231 .field("dwOtherThreadFlags", &self.dwOtherThreadFlags)
1232 .field("dwExceptionThreadExFlags", &self.dwExceptionThreadExFlags)
1233 .field("dwOtherThreadExFlags", &self.dwOtherThreadExFlags)
1234 .field("dwPreferredModuleFlags", &self.dwPreferredModuleFlags)
1235 .field("dwOtherModuleFlags", &self.dwOtherModuleFlags)
1236 .field("wzPreferredModuleList", &self.wzPreferredModuleList)
1237 .field("dwPreferredModuleResetFlags", &self.dwPreferredModuleResetFlags)
1238 .field("dwOtherModuleResetFlags", &self.dwOtherModuleResetFlags)
1239 .field("pvDumpKey", &self.pvDumpKey)
1240 .field("hSnapshot", &self.hSnapshot)
1241 .field("dwThreadID", &self.dwThreadID)
1242 .finish()
1243 }
1244 }
1245 #[cfg(feature = "Win32_Foundation")]
1246 impl ::windows::core::TypeKind for WER_DUMP_CUSTOM_OPTIONS_V3 {
1247 type TypeKind = ::windows::core::CopyType;
1248 }
1249 #[cfg(feature = "Win32_Foundation")]
1250 impl ::core::cmp::PartialEq for WER_DUMP_CUSTOM_OPTIONS_V3 {
1251 fn eq(&self, other: &Self) -> bool {
1252 self.dwSize == other.dwSize
1253 && self.dwMask == other.dwMask
1254 && self.dwDumpFlags == other.dwDumpFlags
1255 && self.bOnlyThisThread == other.bOnlyThisThread
1256 && self.dwExceptionThreadFlags == other.dwExceptionThreadFlags
1257 && self.dwOtherThreadFlags == other.dwOtherThreadFlags
1258 && self.dwExceptionThreadExFlags == other.dwExceptionThreadExFlags
1259 && self.dwOtherThreadExFlags == other.dwOtherThreadExFlags
1260 && self.dwPreferredModuleFlags == other.dwPreferredModuleFlags
1261 && self.dwOtherModuleFlags == other.dwOtherModuleFlags
1262 && self.wzPreferredModuleList == other.wzPreferredModuleList
1263 && self.dwPreferredModuleResetFlags == other.dwPreferredModuleResetFlags
1264 && self.dwOtherModuleResetFlags == other.dwOtherModuleResetFlags
1265 && self.pvDumpKey == other.pvDumpKey
1266 && self.hSnapshot == other.hSnapshot
1267 && self.dwThreadID == other.dwThreadID
1268 }
1269 }
1270 #[cfg(feature = "Win32_Foundation")]
1271 impl ::core::cmp::Eq for WER_DUMP_CUSTOM_OPTIONS_V3 {}
1272 #[cfg(feature = "Win32_Foundation")]
1273 impl ::core::default::Default for WER_DUMP_CUSTOM_OPTIONS_V3 {
1274 fn default() -> Self {
1275 unsafe { ::core::mem::zeroed() }
1276 }
1277 }
1278 #[repr(C)]
1279 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
1280 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1281 pub struct WER_EXCEPTION_INFORMATION {
1282 pub pExceptionPointers: *mut super::Diagnostics::Debug::EXCEPTION_POINTERS,
1283 pub bClientPointers: super::super::Foundation::BOOL,
1284 }
1285 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1286 impl ::core::marker::Copy for WER_EXCEPTION_INFORMATION {}
1287 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1288 impl ::core::clone::Clone for WER_EXCEPTION_INFORMATION {
1289 fn clone(&self) -> Self {
1290 *self
1291 }
1292 }
1293 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1294 impl ::core::fmt::Debug for WER_EXCEPTION_INFORMATION {
1295 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1296 f.debug_struct("WER_EXCEPTION_INFORMATION").field("pExceptionPointers", &self.pExceptionPointers).field("bClientPointers", &self.bClientPointers).finish()
1297 }
1298 }
1299 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1300 impl ::windows::core::TypeKind for WER_EXCEPTION_INFORMATION {
1301 type TypeKind = ::windows::core::CopyType;
1302 }
1303 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1304 impl ::core::cmp::PartialEq for WER_EXCEPTION_INFORMATION {
1305 fn eq(&self, other: &Self) -> bool {
1306 self.pExceptionPointers == other.pExceptionPointers && self.bClientPointers == other.bClientPointers
1307 }
1308 }
1309 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1310 impl ::core::cmp::Eq for WER_EXCEPTION_INFORMATION {}
1311 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1312 impl ::core::default::Default for WER_EXCEPTION_INFORMATION {
1313 fn default() -> Self {
1314 unsafe { ::core::mem::zeroed() }
1315 }
1316 }
1317 #[repr(C)]
1318 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
1319 #[cfg(feature = "Win32_Foundation")]
1320 pub struct WER_REPORT_INFORMATION {
1321 pub dwSize: u32,
1322 pub hProcess: super::super::Foundation::HANDLE,
1323 pub wzConsentKey: [u16; 64],
1324 pub wzFriendlyEventName: [u16; 128],
1325 pub wzApplicationName: [u16; 128],
1326 pub wzApplicationPath: [u16; 260],
1327 pub wzDescription: [u16; 512],
1328 pub hwndParent: super::super::Foundation::HWND,
1329 }
1330 #[cfg(feature = "Win32_Foundation")]
1331 impl ::core::marker::Copy for WER_REPORT_INFORMATION {}
1332 #[cfg(feature = "Win32_Foundation")]
1333 impl ::core::clone::Clone for WER_REPORT_INFORMATION {
1334 fn clone(&self) -> Self {
1335 *self
1336 }
1337 }
1338 #[cfg(feature = "Win32_Foundation")]
1339 impl ::core::fmt::Debug for WER_REPORT_INFORMATION {
1340 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1341 f.debug_struct("WER_REPORT_INFORMATION").field("dwSize", &self.dwSize).field("hProcess", &self.hProcess).field("wzConsentKey", &self.wzConsentKey).field("wzFriendlyEventName", &self.wzFriendlyEventName).field("wzApplicationName", &self.wzApplicationName).field("wzApplicationPath", &self.wzApplicationPath).field("wzDescription", &self.wzDescription).field("hwndParent", &self.hwndParent).finish()
1342 }
1343 }
1344 #[cfg(feature = "Win32_Foundation")]
1345 impl ::windows::core::TypeKind for WER_REPORT_INFORMATION {
1346 type TypeKind = ::windows::core::CopyType;
1347 }
1348 #[cfg(feature = "Win32_Foundation")]
1349 impl ::core::cmp::PartialEq for WER_REPORT_INFORMATION {
1350 fn eq(&self, other: &Self) -> bool {
1351 self.dwSize == other.dwSize && self.hProcess == other.hProcess && self.wzConsentKey == other.wzConsentKey && self.wzFriendlyEventName == other.wzFriendlyEventName && self.wzApplicationName == other.wzApplicationName && self.wzApplicationPath == other.wzApplicationPath && self.wzDescription == other.wzDescription && self.hwndParent == other.hwndParent
1352 }
1353 }
1354 #[cfg(feature = "Win32_Foundation")]
1355 impl ::core::cmp::Eq for WER_REPORT_INFORMATION {}
1356 #[cfg(feature = "Win32_Foundation")]
1357 impl ::core::default::Default for WER_REPORT_INFORMATION {
1358 fn default() -> Self {
1359 unsafe { ::core::mem::zeroed() }
1360 }
1361 }
1362 #[repr(C)]
1363 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
1364 #[cfg(feature = "Win32_Foundation")]
1365 pub struct WER_REPORT_INFORMATION_V3 {
1366 pub dwSize: u32,
1367 pub hProcess: super::super::Foundation::HANDLE,
1368 pub wzConsentKey: [u16; 64],
1369 pub wzFriendlyEventName: [u16; 128],
1370 pub wzApplicationName: [u16; 128],
1371 pub wzApplicationPath: [u16; 260],
1372 pub wzDescription: [u16; 512],
1373 pub hwndParent: super::super::Foundation::HWND,
1374 pub wzNamespacePartner: [u16; 64],
1375 pub wzNamespaceGroup: [u16; 64],
1376 }
1377 #[cfg(feature = "Win32_Foundation")]
1378 impl ::core::marker::Copy for WER_REPORT_INFORMATION_V3 {}
1379 #[cfg(feature = "Win32_Foundation")]
1380 impl ::core::clone::Clone for WER_REPORT_INFORMATION_V3 {
1381 fn clone(&self) -> Self {
1382 *self
1383 }
1384 }
1385 #[cfg(feature = "Win32_Foundation")]
1386 impl ::core::fmt::Debug for WER_REPORT_INFORMATION_V3 {
1387 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1388 f.debug_struct("WER_REPORT_INFORMATION_V3")
1389 .field("dwSize", &self.dwSize)
1390 .field("hProcess", &self.hProcess)
1391 .field("wzConsentKey", &self.wzConsentKey)
1392 .field("wzFriendlyEventName", &self.wzFriendlyEventName)
1393 .field("wzApplicationName", &self.wzApplicationName)
1394 .field("wzApplicationPath", &self.wzApplicationPath)
1395 .field("wzDescription", &self.wzDescription)
1396 .field("hwndParent", &self.hwndParent)
1397 .field("wzNamespacePartner", &self.wzNamespacePartner)
1398 .field("wzNamespaceGroup", &self.wzNamespaceGroup)
1399 .finish()
1400 }
1401 }
1402 #[cfg(feature = "Win32_Foundation")]
1403 impl ::windows::core::TypeKind for WER_REPORT_INFORMATION_V3 {
1404 type TypeKind = ::windows::core::CopyType;
1405 }
1406 #[cfg(feature = "Win32_Foundation")]
1407 impl ::core::cmp::PartialEq for WER_REPORT_INFORMATION_V3 {
1408 fn eq(&self, other: &Self) -> bool {
1409 self.dwSize == other.dwSize && self.hProcess == other.hProcess && self.wzConsentKey == other.wzConsentKey && self.wzFriendlyEventName == other.wzFriendlyEventName && self.wzApplicationName == other.wzApplicationName && self.wzApplicationPath == other.wzApplicationPath && self.wzDescription == other.wzDescription && self.hwndParent == other.hwndParent && self.wzNamespacePartner == other.wzNamespacePartner && self.wzNamespaceGroup == other.wzNamespaceGroup
1410 }
1411 }
1412 #[cfg(feature = "Win32_Foundation")]
1413 impl ::core::cmp::Eq for WER_REPORT_INFORMATION_V3 {}
1414 #[cfg(feature = "Win32_Foundation")]
1415 impl ::core::default::Default for WER_REPORT_INFORMATION_V3 {
1416 fn default() -> Self {
1417 unsafe { ::core::mem::zeroed() }
1418 }
1419 }
1420 #[repr(C)]
1421 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
1422 #[cfg(feature = "Win32_Foundation")]
1423 pub struct WER_REPORT_INFORMATION_V4 {
1424 pub dwSize: u32,
1425 pub hProcess: super::super::Foundation::HANDLE,
1426 pub wzConsentKey: [u16; 64],
1427 pub wzFriendlyEventName: [u16; 128],
1428 pub wzApplicationName: [u16; 128],
1429 pub wzApplicationPath: [u16; 260],
1430 pub wzDescription: [u16; 512],
1431 pub hwndParent: super::super::Foundation::HWND,
1432 pub wzNamespacePartner: [u16; 64],
1433 pub wzNamespaceGroup: [u16; 64],
1434 pub rgbApplicationIdentity: [u8; 16],
1435 pub hSnapshot: super::super::Foundation::HANDLE,
1436 pub hDeleteFilesImpersonationToken: super::super::Foundation::HANDLE,
1437 }
1438 #[cfg(feature = "Win32_Foundation")]
1439 impl ::core::marker::Copy for WER_REPORT_INFORMATION_V4 {}
1440 #[cfg(feature = "Win32_Foundation")]
1441 impl ::core::clone::Clone for WER_REPORT_INFORMATION_V4 {
1442 fn clone(&self) -> Self {
1443 *self
1444 }
1445 }
1446 #[cfg(feature = "Win32_Foundation")]
1447 impl ::core::fmt::Debug for WER_REPORT_INFORMATION_V4 {
1448 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1449 f.debug_struct("WER_REPORT_INFORMATION_V4")
1450 .field("dwSize", &self.dwSize)
1451 .field("hProcess", &self.hProcess)
1452 .field("wzConsentKey", &self.wzConsentKey)
1453 .field("wzFriendlyEventName", &self.wzFriendlyEventName)
1454 .field("wzApplicationName", &self.wzApplicationName)
1455 .field("wzApplicationPath", &self.wzApplicationPath)
1456 .field("wzDescription", &self.wzDescription)
1457 .field("hwndParent", &self.hwndParent)
1458 .field("wzNamespacePartner", &self.wzNamespacePartner)
1459 .field("wzNamespaceGroup", &self.wzNamespaceGroup)
1460 .field("rgbApplicationIdentity", &self.rgbApplicationIdentity)
1461 .field("hSnapshot", &self.hSnapshot)
1462 .field("hDeleteFilesImpersonationToken", &self.hDeleteFilesImpersonationToken)
1463 .finish()
1464 }
1465 }
1466 #[cfg(feature = "Win32_Foundation")]
1467 impl ::windows::core::TypeKind for WER_REPORT_INFORMATION_V4 {
1468 type TypeKind = ::windows::core::CopyType;
1469 }
1470 #[cfg(feature = "Win32_Foundation")]
1471 impl ::core::cmp::PartialEq for WER_REPORT_INFORMATION_V4 {
1472 fn eq(&self, other: &Self) -> bool {
1473 self.dwSize == other.dwSize && self.hProcess == other.hProcess && self.wzConsentKey == other.wzConsentKey && self.wzFriendlyEventName == other.wzFriendlyEventName && self.wzApplicationName == other.wzApplicationName && self.wzApplicationPath == other.wzApplicationPath && self.wzDescription == other.wzDescription && self.hwndParent == other.hwndParent && self.wzNamespacePartner == other.wzNamespacePartner && self.wzNamespaceGroup == other.wzNamespaceGroup && self.rgbApplicationIdentity == other.rgbApplicationIdentity && self.hSnapshot == other.hSnapshot && self.hDeleteFilesImpersonationToken == other.hDeleteFilesImpersonationToken
1474 }
1475 }
1476 #[cfg(feature = "Win32_Foundation")]
1477 impl ::core::cmp::Eq for WER_REPORT_INFORMATION_V4 {}
1478 #[cfg(feature = "Win32_Foundation")]
1479 impl ::core::default::Default for WER_REPORT_INFORMATION_V4 {
1480 fn default() -> Self {
1481 unsafe { ::core::mem::zeroed() }
1482 }
1483 }
1484 #[repr(C)]
1485 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
1486 #[cfg(feature = "Win32_Foundation")]
1487 pub struct WER_REPORT_INFORMATION_V5 {
1488 pub dwSize: u32,
1489 pub hProcess: super::super::Foundation::HANDLE,
1490 pub wzConsentKey: [u16; 64],
1491 pub wzFriendlyEventName: [u16; 128],
1492 pub wzApplicationName: [u16; 128],
1493 pub wzApplicationPath: [u16; 260],
1494 pub wzDescription: [u16; 512],
1495 pub hwndParent: super::super::Foundation::HWND,
1496 pub wzNamespacePartner: [u16; 64],
1497 pub wzNamespaceGroup: [u16; 64],
1498 pub rgbApplicationIdentity: [u8; 16],
1499 pub hSnapshot: super::super::Foundation::HANDLE,
1500 pub hDeleteFilesImpersonationToken: super::super::Foundation::HANDLE,
1501 pub submitResultMax: WER_SUBMIT_RESULT,
1502 }
1503 #[cfg(feature = "Win32_Foundation")]
1504 impl ::core::marker::Copy for WER_REPORT_INFORMATION_V5 {}
1505 #[cfg(feature = "Win32_Foundation")]
1506 impl ::core::clone::Clone for WER_REPORT_INFORMATION_V5 {
1507 fn clone(&self) -> Self {
1508 *self
1509 }
1510 }
1511 #[cfg(feature = "Win32_Foundation")]
1512 impl ::core::fmt::Debug for WER_REPORT_INFORMATION_V5 {
1513 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1514 f.debug_struct("WER_REPORT_INFORMATION_V5")
1515 .field("dwSize", &self.dwSize)
1516 .field("hProcess", &self.hProcess)
1517 .field("wzConsentKey", &self.wzConsentKey)
1518 .field("wzFriendlyEventName", &self.wzFriendlyEventName)
1519 .field("wzApplicationName", &self.wzApplicationName)
1520 .field("wzApplicationPath", &self.wzApplicationPath)
1521 .field("wzDescription", &self.wzDescription)
1522 .field("hwndParent", &self.hwndParent)
1523 .field("wzNamespacePartner", &self.wzNamespacePartner)
1524 .field("wzNamespaceGroup", &self.wzNamespaceGroup)
1525 .field("rgbApplicationIdentity", &self.rgbApplicationIdentity)
1526 .field("hSnapshot", &self.hSnapshot)
1527 .field("hDeleteFilesImpersonationToken", &self.hDeleteFilesImpersonationToken)
1528 .field("submitResultMax", &self.submitResultMax)
1529 .finish()
1530 }
1531 }
1532 #[cfg(feature = "Win32_Foundation")]
1533 impl ::windows::core::TypeKind for WER_REPORT_INFORMATION_V5 {
1534 type TypeKind = ::windows::core::CopyType;
1535 }
1536 #[cfg(feature = "Win32_Foundation")]
1537 impl ::core::cmp::PartialEq for WER_REPORT_INFORMATION_V5 {
1538 fn eq(&self, other: &Self) -> bool {
1539 self.dwSize == other.dwSize && self.hProcess == other.hProcess && self.wzConsentKey == other.wzConsentKey && self.wzFriendlyEventName == other.wzFriendlyEventName && self.wzApplicationName == other.wzApplicationName && self.wzApplicationPath == other.wzApplicationPath && self.wzDescription == other.wzDescription && self.hwndParent == other.hwndParent && self.wzNamespacePartner == other.wzNamespacePartner && self.wzNamespaceGroup == other.wzNamespaceGroup && self.rgbApplicationIdentity == other.rgbApplicationIdentity && self.hSnapshot == other.hSnapshot && self.hDeleteFilesImpersonationToken == other.hDeleteFilesImpersonationToken && self.submitResultMax == other.submitResultMax
1540 }
1541 }
1542 #[cfg(feature = "Win32_Foundation")]
1543 impl ::core::cmp::Eq for WER_REPORT_INFORMATION_V5 {}
1544 #[cfg(feature = "Win32_Foundation")]
1545 impl ::core::default::Default for WER_REPORT_INFORMATION_V5 {
1546 fn default() -> Self {
1547 unsafe { ::core::mem::zeroed() }
1548 }
1549 }
1550 #[repr(C)]
1551 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
1552 #[cfg(feature = "Win32_Foundation")]
1553 pub struct WER_REPORT_METADATA_V1 {
1554 pub Signature: WER_REPORT_SIGNATURE,
1555 pub BucketId: ::windows::core::GUID,
1556 pub ReportId: ::windows::core::GUID,
1557 pub CreationTime: super::super::Foundation::FILETIME,
1558 pub SizeInBytes: u64,
1559 }
1560 #[cfg(feature = "Win32_Foundation")]
1561 impl ::core::marker::Copy for WER_REPORT_METADATA_V1 {}
1562 #[cfg(feature = "Win32_Foundation")]
1563 impl ::core::clone::Clone for WER_REPORT_METADATA_V1 {
1564 fn clone(&self) -> Self {
1565 *self
1566 }
1567 }
1568 #[cfg(feature = "Win32_Foundation")]
1569 impl ::core::fmt::Debug for WER_REPORT_METADATA_V1 {
1570 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1571 f.debug_struct("WER_REPORT_METADATA_V1").field("Signature", &self.Signature).field("BucketId", &self.BucketId).field("ReportId", &self.ReportId).field("CreationTime", &self.CreationTime).field("SizeInBytes", &self.SizeInBytes).finish()
1572 }
1573 }
1574 #[cfg(feature = "Win32_Foundation")]
1575 impl ::windows::core::TypeKind for WER_REPORT_METADATA_V1 {
1576 type TypeKind = ::windows::core::CopyType;
1577 }
1578 #[cfg(feature = "Win32_Foundation")]
1579 impl ::core::cmp::PartialEq for WER_REPORT_METADATA_V1 {
1580 fn eq(&self, other: &Self) -> bool {
1581 self.Signature == other.Signature && self.BucketId == other.BucketId && self.ReportId == other.ReportId && self.CreationTime == other.CreationTime && self.SizeInBytes == other.SizeInBytes
1582 }
1583 }
1584 #[cfg(feature = "Win32_Foundation")]
1585 impl ::core::cmp::Eq for WER_REPORT_METADATA_V1 {}
1586 #[cfg(feature = "Win32_Foundation")]
1587 impl ::core::default::Default for WER_REPORT_METADATA_V1 {
1588 fn default() -> Self {
1589 unsafe { ::core::mem::zeroed() }
1590 }
1591 }
1592 #[repr(C)]
1593 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
1594 #[cfg(feature = "Win32_Foundation")]
1595 pub struct WER_REPORT_METADATA_V2 {
1596 pub Signature: WER_REPORT_SIGNATURE,
1597 pub BucketId: ::windows::core::GUID,
1598 pub ReportId: ::windows::core::GUID,
1599 pub CreationTime: super::super::Foundation::FILETIME,
1600 pub SizeInBytes: u64,
1601 pub CabId: [u16; 260],
1602 pub ReportStatus: u32,
1603 pub ReportIntegratorId: ::windows::core::GUID,
1604 pub NumberOfFiles: u32,
1605 pub SizeOfFileNames: u32,
1606 pub FileNames: ::windows::core::PWSTR,
1607 }
1608 #[cfg(feature = "Win32_Foundation")]
1609 impl ::core::marker::Copy for WER_REPORT_METADATA_V2 {}
1610 #[cfg(feature = "Win32_Foundation")]
1611 impl ::core::clone::Clone for WER_REPORT_METADATA_V2 {
1612 fn clone(&self) -> Self {
1613 *self
1614 }
1615 }
1616 #[cfg(feature = "Win32_Foundation")]
1617 impl ::core::fmt::Debug for WER_REPORT_METADATA_V2 {
1618 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1619 f.debug_struct("WER_REPORT_METADATA_V2")
1620 .field("Signature", &self.Signature)
1621 .field("BucketId", &self.BucketId)
1622 .field("ReportId", &self.ReportId)
1623 .field("CreationTime", &self.CreationTime)
1624 .field("SizeInBytes", &self.SizeInBytes)
1625 .field("CabId", &self.CabId)
1626 .field("ReportStatus", &self.ReportStatus)
1627 .field("ReportIntegratorId", &self.ReportIntegratorId)
1628 .field("NumberOfFiles", &self.NumberOfFiles)
1629 .field("SizeOfFileNames", &self.SizeOfFileNames)
1630 .field("FileNames", &self.FileNames)
1631 .finish()
1632 }
1633 }
1634 #[cfg(feature = "Win32_Foundation")]
1635 impl ::windows::core::TypeKind for WER_REPORT_METADATA_V2 {
1636 type TypeKind = ::windows::core::CopyType;
1637 }
1638 #[cfg(feature = "Win32_Foundation")]
1639 impl ::core::cmp::PartialEq for WER_REPORT_METADATA_V2 {
1640 fn eq(&self, other: &Self) -> bool {
1641 self.Signature == other.Signature && self.BucketId == other.BucketId && self.ReportId == other.ReportId && self.CreationTime == other.CreationTime && self.SizeInBytes == other.SizeInBytes && self.CabId == other.CabId && self.ReportStatus == other.ReportStatus && self.ReportIntegratorId == other.ReportIntegratorId && self.NumberOfFiles == other.NumberOfFiles && self.SizeOfFileNames == other.SizeOfFileNames && self.FileNames == other.FileNames
1642 }
1643 }
1644 #[cfg(feature = "Win32_Foundation")]
1645 impl ::core::cmp::Eq for WER_REPORT_METADATA_V2 {}
1646 #[cfg(feature = "Win32_Foundation")]
1647 impl ::core::default::Default for WER_REPORT_METADATA_V2 {
1648 fn default() -> Self {
1649 unsafe { ::core::mem::zeroed() }
1650 }
1651 }
1652 #[repr(C)]
1653 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`*"]
1654 #[cfg(feature = "Win32_Foundation")]
1655 pub struct WER_REPORT_METADATA_V3 {
1656 pub Signature: WER_REPORT_SIGNATURE,
1657 pub BucketId: ::windows::core::GUID,
1658 pub ReportId: ::windows::core::GUID,
1659 pub CreationTime: super::super::Foundation::FILETIME,
1660 pub SizeInBytes: u64,
1661 pub CabId: [u16; 260],
1662 pub ReportStatus: u32,
1663 pub ReportIntegratorId: ::windows::core::GUID,
1664 pub NumberOfFiles: u32,
1665 pub SizeOfFileNames: u32,
1666 pub FileNames: ::windows::core::PWSTR,
1667 pub FriendlyEventName: [u16; 128],
1668 pub ApplicationName: [u16; 128],
1669 pub ApplicationPath: [u16; 260],
1670 pub Description: [u16; 512],
1671 pub BucketIdString: [u16; 260],
1672 pub LegacyBucketId: u64,
1673 }
1674 #[cfg(feature = "Win32_Foundation")]
1675 impl ::core::marker::Copy for WER_REPORT_METADATA_V3 {}
1676 #[cfg(feature = "Win32_Foundation")]
1677 impl ::core::clone::Clone for WER_REPORT_METADATA_V3 {
1678 fn clone(&self) -> Self {
1679 *self
1680 }
1681 }
1682 #[cfg(feature = "Win32_Foundation")]
1683 impl ::core::fmt::Debug for WER_REPORT_METADATA_V3 {
1684 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1685 f.debug_struct("WER_REPORT_METADATA_V3")
1686 .field("Signature", &self.Signature)
1687 .field("BucketId", &self.BucketId)
1688 .field("ReportId", &self.ReportId)
1689 .field("CreationTime", &self.CreationTime)
1690 .field("SizeInBytes", &self.SizeInBytes)
1691 .field("CabId", &self.CabId)
1692 .field("ReportStatus", &self.ReportStatus)
1693 .field("ReportIntegratorId", &self.ReportIntegratorId)
1694 .field("NumberOfFiles", &self.NumberOfFiles)
1695 .field("SizeOfFileNames", &self.SizeOfFileNames)
1696 .field("FileNames", &self.FileNames)
1697 .field("FriendlyEventName", &self.FriendlyEventName)
1698 .field("ApplicationName", &self.ApplicationName)
1699 .field("ApplicationPath", &self.ApplicationPath)
1700 .field("Description", &self.Description)
1701 .field("BucketIdString", &self.BucketIdString)
1702 .field("LegacyBucketId", &self.LegacyBucketId)
1703 .finish()
1704 }
1705 }
1706 #[cfg(feature = "Win32_Foundation")]
1707 impl ::windows::core::TypeKind for WER_REPORT_METADATA_V3 {
1708 type TypeKind = ::windows::core::CopyType;
1709 }
1710 #[cfg(feature = "Win32_Foundation")]
1711 impl ::core::cmp::PartialEq for WER_REPORT_METADATA_V3 {
1712 fn eq(&self, other: &Self) -> bool {
1713 self.Signature == other.Signature && self.BucketId == other.BucketId && self.ReportId == other.ReportId && self.CreationTime == other.CreationTime && self.SizeInBytes == other.SizeInBytes && self.CabId == other.CabId && self.ReportStatus == other.ReportStatus && self.ReportIntegratorId == other.ReportIntegratorId && self.NumberOfFiles == other.NumberOfFiles && self.SizeOfFileNames == other.SizeOfFileNames && self.FileNames == other.FileNames && self.FriendlyEventName == other.FriendlyEventName && self.ApplicationName == other.ApplicationName && self.ApplicationPath == other.ApplicationPath && self.Description == other.Description && self.BucketIdString == other.BucketIdString && self.LegacyBucketId == other.LegacyBucketId
1714 }
1715 }
1716 #[cfg(feature = "Win32_Foundation")]
1717 impl ::core::cmp::Eq for WER_REPORT_METADATA_V3 {}
1718 #[cfg(feature = "Win32_Foundation")]
1719 impl ::core::default::Default for WER_REPORT_METADATA_V3 {
1720 fn default() -> Self {
1721 unsafe { ::core::mem::zeroed() }
1722 }
1723 }
1724 #[repr(C)]
1725 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
1726 pub struct WER_REPORT_PARAMETER {
1727 pub Name: [u16; 129],
1728 pub Value: [u16; 260],
1729 }
1730 impl ::core::marker::Copy for WER_REPORT_PARAMETER {}
1731 impl ::core::clone::Clone for WER_REPORT_PARAMETER {
1732 fn clone(&self) -> Self {
1733 *self
1734 }
1735 }
1736 impl ::core::fmt::Debug for WER_REPORT_PARAMETER {
1737 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1738 f.debug_struct("WER_REPORT_PARAMETER").field("Name", &self.Name).field("Value", &self.Value).finish()
1739 }
1740 }
1741 impl ::windows::core::TypeKind for WER_REPORT_PARAMETER {
1742 type TypeKind = ::windows::core::CopyType;
1743 }
1744 impl ::core::cmp::PartialEq for WER_REPORT_PARAMETER {
1745 fn eq(&self, other: &Self) -> bool {
1746 self.Name == other.Name && self.Value == other.Value
1747 }
1748 }
1749 impl ::core::cmp::Eq for WER_REPORT_PARAMETER {}
1750 impl ::core::default::Default for WER_REPORT_PARAMETER {
1751 fn default() -> Self {
1752 unsafe { ::core::mem::zeroed() }
1753 }
1754 }
1755 #[repr(C)]
1756 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
1757 pub struct WER_REPORT_SIGNATURE {
1758 pub EventName: [u16; 65],
1759 pub Parameters: [WER_REPORT_PARAMETER; 10],
1760 }
1761 impl ::core::marker::Copy for WER_REPORT_SIGNATURE {}
1762 impl ::core::clone::Clone for WER_REPORT_SIGNATURE {
1763 fn clone(&self) -> Self {
1764 *self
1765 }
1766 }
1767 impl ::core::fmt::Debug for WER_REPORT_SIGNATURE {
1768 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
1769 f.debug_struct("WER_REPORT_SIGNATURE").field("EventName", &self.EventName).field("Parameters", &self.Parameters).finish()
1770 }
1771 }
1772 impl ::windows::core::TypeKind for WER_REPORT_SIGNATURE {
1773 type TypeKind = ::windows::core::CopyType;
1774 }
1775 impl ::core::cmp::PartialEq for WER_REPORT_SIGNATURE {
1776 fn eq(&self, other: &Self) -> bool {
1777 self.EventName == other.EventName && self.Parameters == other.Parameters
1778 }
1779 }
1780 impl ::core::cmp::Eq for WER_REPORT_SIGNATURE {}
1781 impl ::core::default::Default for WER_REPORT_SIGNATURE {
1782 fn default() -> Self {
1783 unsafe { ::core::mem::zeroed() }
1784 }
1785 }
1786 #[repr(C)]
1787 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
1788 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1789 pub struct WER_RUNTIME_EXCEPTION_INFORMATION {
1790 pub dwSize: u32,
1791 pub hProcess: super::super::Foundation::HANDLE,
1792 pub hThread: super::super::Foundation::HANDLE,
1793 pub exceptionRecord: super::Diagnostics::Debug::EXCEPTION_RECORD,
1794 pub context: super::Diagnostics::Debug::CONTEXT,
1795 pub pwszReportId: ::windows::core::PCWSTR,
1796 pub bIsFatal: super::super::Foundation::BOOL,
1797 pub dwReserved: u32,
1798 }
1799 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1800 impl ::core::marker::Copy for WER_RUNTIME_EXCEPTION_INFORMATION {}
1801 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1802 impl ::core::clone::Clone for WER_RUNTIME_EXCEPTION_INFORMATION {
1803 fn clone(&self) -> Self {
1804 *self
1805 }
1806 }
1807 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1808 impl ::windows::core::TypeKind for WER_RUNTIME_EXCEPTION_INFORMATION {
1809 type TypeKind = ::windows::core::CopyType;
1810 }
1811 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1812 impl ::core::default::Default for WER_RUNTIME_EXCEPTION_INFORMATION {
1813 fn default() -> Self {
1814 unsafe { ::core::mem::zeroed() }
1815 }
1816 }
1817 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
1818 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1819 pub type PFN_WER_RUNTIME_EXCEPTION_DEBUGGER_LAUNCH = ::core::option::Option<unsafe extern "system" fn(pcontext: *const ::core::ffi::c_void, pexceptioninformation: *const WER_RUNTIME_EXCEPTION_INFORMATION, pbiscustomdebugger: *mut super::super::Foundation::BOOL, pwszdebuggerlaunch: ::windows::core::PWSTR, pchdebuggerlaunch: *mut u32, pbisdebuggerautolaunch: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT>;
1820 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
1821 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1822 pub type PFN_WER_RUNTIME_EXCEPTION_EVENT = ::core::option::Option<unsafe extern "system" fn(pcontext: *const ::core::ffi::c_void, pexceptioninformation: *const WER_RUNTIME_EXCEPTION_INFORMATION, pbownershipclaimed: *mut super::super::Foundation::BOOL, pwszeventname: ::windows::core::PWSTR, pchsize: *mut u32, pdwsignaturecount: *mut u32) -> ::windows::core::HRESULT>;
1823 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
1824 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1825 pub type PFN_WER_RUNTIME_EXCEPTION_EVENT_SIGNATURE = ::core::option::Option<unsafe extern "system" fn(pcontext: *const ::core::ffi::c_void, pexceptioninformation: *const WER_RUNTIME_EXCEPTION_INFORMATION, dwindex: u32, pwszname: ::windows::core::PWSTR, pchname: *mut u32, pwszvalue: ::windows::core::PWSTR, pchvalue: *mut u32) -> ::windows::core::HRESULT>;
1826 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
1827 pub type pfn_ADDEREXCLUDEDAPPLICATIONA = ::core::option::Option<unsafe extern "system" fn(param0: ::windows::core::PCSTR) -> EFaultRepRetVal>;
1828 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`*"]
1829 pub type pfn_ADDEREXCLUDEDAPPLICATIONW = ::core::option::Option<unsafe extern "system" fn(param0: ::windows::core::PCWSTR) -> EFaultRepRetVal>;
1830 #[doc = "*Required features: `\"Win32_System_ErrorReporting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
1831 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
1832 pub type pfn_REPORTFAULT = ::core::option::Option<unsafe extern "system" fn(param0: *const super::Diagnostics::Debug::EXCEPTION_POINTERS, param1: u32) -> EFaultRepRetVal>;
1833 #[cfg(feature = "implement")]
1834 ::core::include!("impl.rs");