Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/System/ErrorReporting/mod.rs

raw
1 #[cfg(feature = "Win32_Foundation")]
2 ::windows_targets::link!("faultrep.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddERExcludedApplicationA(szapplication : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL);
3 #[cfg(feature = "Win32_Foundation")]
4 ::windows_targets::link!("faultrep.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddERExcludedApplicationW(wszapplication : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL);
5 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
6 ::windows_targets::link!("faultrep.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`"] fn ReportFault(pep : *const super::Diagnostics::Debug:: EXCEPTION_POINTERS, dwopt : u32) -> EFaultRepRetVal);
7 #[cfg(feature = "Win32_Foundation")]
8 ::windows_targets::link!("wer.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WerAddExcludedApplication(pwzexename : ::windows_sys::core::PCWSTR, ballusers : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
9 ::windows_targets::link!("wer.dll" "system" fn WerFreeString(pwszstr : ::windows_sys::core::PCWSTR) -> ());
10 #[cfg(feature = "Win32_Foundation")]
11 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WerGetFlags(hprocess : super::super::Foundation:: HANDLE, pdwflags : *mut WER_FAULT_REPORTING) -> ::windows_sys::core::HRESULT);
12 ::windows_targets::link!("kernel32.dll" "system" fn WerRegisterAdditionalProcess(processid : u32, captureextrainfoforthreadid : u32) -> ::windows_sys::core::HRESULT);
13 ::windows_targets::link!("kernel32.dll" "system" fn WerRegisterAppLocalDump(localappdatarelativepath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
14 ::windows_targets::link!("kernel32.dll" "system" fn WerRegisterCustomMetadata(key : ::windows_sys::core::PCWSTR, value : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
15 ::windows_targets::link!("kernel32.dll" "system" fn WerRegisterExcludedMemoryBlock(address : *const ::core::ffi::c_void, size : u32) -> ::windows_sys::core::HRESULT);
16 ::windows_targets::link!("kernel32.dll" "system" fn WerRegisterFile(pwzfile : ::windows_sys::core::PCWSTR, regfiletype : WER_REGISTER_FILE_TYPE, dwflags : WER_FILE) -> ::windows_sys::core::HRESULT);
17 ::windows_targets::link!("kernel32.dll" "system" fn WerRegisterMemoryBlock(pvaddress : *const ::core::ffi::c_void, dwsize : u32) -> ::windows_sys::core::HRESULT);
18 ::windows_targets::link!("kernel32.dll" "system" fn WerRegisterRuntimeExceptionModule(pwszoutofprocesscallbackdll : ::windows_sys::core::PCWSTR, pcontext : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
19 #[cfg(feature = "Win32_Foundation")]
20 ::windows_targets::link!("wer.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WerRemoveExcludedApplication(pwzexename : ::windows_sys::core::PCWSTR, ballusers : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
21 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
22 ::windows_targets::link!("wer.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`"] 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_sys::core::HRESULT);
23 ::windows_targets::link!("wer.dll" "system" fn WerReportAddFile(hreporthandle : HREPORT, pwzpath : ::windows_sys::core::PCWSTR, repfiletype : WER_FILE_TYPE, dwfileflags : WER_FILE) -> ::windows_sys::core::HRESULT);
24 ::windows_targets::link!("wer.dll" "system" fn WerReportCloseHandle(hreporthandle : HREPORT) -> ::windows_sys::core::HRESULT);
25 #[cfg(feature = "Win32_Foundation")]
26 ::windows_targets::link!("wer.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WerReportCreate(pwzeventtype : ::windows_sys::core::PCWSTR, reptype : WER_REPORT_TYPE, preportinformation : *const WER_REPORT_INFORMATION, phreporthandle : *mut HREPORT) -> ::windows_sys::core::HRESULT);
27 #[cfg(feature = "Win32_Foundation")]
28 ::windows_targets::link!("faultrep.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WerReportHang(hwndhungapp : super::super::Foundation:: HWND, pwzhungapplicationname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
29 ::windows_targets::link!("wer.dll" "system" fn WerReportSetParameter(hreporthandle : HREPORT, dwparamid : u32, pwzname : ::windows_sys::core::PCWSTR, pwzvalue : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
30 ::windows_targets::link!("wer.dll" "system" fn WerReportSetUIOption(hreporthandle : HREPORT, repuitypeid : WER_REPORT_UI, pwzvalue : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
31 ::windows_targets::link!("wer.dll" "system" fn WerReportSubmit(hreporthandle : HREPORT, consent : WER_CONSENT, dwflags : WER_SUBMIT_FLAGS, psubmitresult : *mut WER_SUBMIT_RESULT) -> ::windows_sys::core::HRESULT);
32 ::windows_targets::link!("kernel32.dll" "system" fn WerSetFlags(dwflags : WER_FAULT_REPORTING) -> ::windows_sys::core::HRESULT);
33 ::windows_targets::link!("wer.dll" "system" fn WerStoreClose(hreportstore : HREPORTSTORE) -> ());
34 ::windows_targets::link!("wer.dll" "system" fn WerStoreGetFirstReportKey(hreportstore : HREPORTSTORE, ppszreportkey : *mut ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
35 ::windows_targets::link!("wer.dll" "system" fn WerStoreGetNextReportKey(hreportstore : HREPORTSTORE, ppszreportkey : *mut ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
36 ::windows_targets::link!("wer.dll" "system" fn WerStoreGetReportCount(hreportstore : HREPORTSTORE, pdwreportcount : *mut u32) -> ::windows_sys::core::HRESULT);
37 ::windows_targets::link!("wer.dll" "system" fn WerStoreGetSizeOnDisk(hreportstore : HREPORTSTORE, pqwsizeinbytes : *mut u64) -> ::windows_sys::core::HRESULT);
38 ::windows_targets::link!("wer.dll" "system" fn WerStoreOpen(repstoretype : REPORT_STORE_TYPES, phreportstore : *mut HREPORTSTORE) -> ::windows_sys::core::HRESULT);
39 ::windows_targets::link!("wer.dll" "system" fn WerStorePurge() -> ::windows_sys::core::HRESULT);
40 #[cfg(feature = "Win32_Foundation")]
41 ::windows_targets::link!("wer.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WerStoreQueryReportMetadataV1(hreportstore : HREPORTSTORE, pszreportkey : ::windows_sys::core::PCWSTR, preportmetadata : *mut WER_REPORT_METADATA_V1) -> ::windows_sys::core::HRESULT);
42 #[cfg(feature = "Win32_Foundation")]
43 ::windows_targets::link!("wer.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WerStoreQueryReportMetadataV2(hreportstore : HREPORTSTORE, pszreportkey : ::windows_sys::core::PCWSTR, preportmetadata : *mut WER_REPORT_METADATA_V2) -> ::windows_sys::core::HRESULT);
44 #[cfg(feature = "Win32_Foundation")]
45 ::windows_targets::link!("wer.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WerStoreQueryReportMetadataV3(hreportstore : HREPORTSTORE, pszreportkey : ::windows_sys::core::PCWSTR, preportmetadata : *mut WER_REPORT_METADATA_V3) -> ::windows_sys::core::HRESULT);
46 ::windows_targets::link!("wer.dll" "system" fn WerStoreUploadReport(hreportstore : HREPORTSTORE, pszreportkey : ::windows_sys::core::PCWSTR, dwflags : u32, psubmitresult : *mut WER_SUBMIT_RESULT) -> ::windows_sys::core::HRESULT);
47 ::windows_targets::link!("kernel32.dll" "system" fn WerUnregisterAdditionalProcess(processid : u32) -> ::windows_sys::core::HRESULT);
48 ::windows_targets::link!("kernel32.dll" "system" fn WerUnregisterAppLocalDump() -> ::windows_sys::core::HRESULT);
49 ::windows_targets::link!("kernel32.dll" "system" fn WerUnregisterCustomMetadata(key : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
50 ::windows_targets::link!("kernel32.dll" "system" fn WerUnregisterExcludedMemoryBlock(address : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
51 ::windows_targets::link!("kernel32.dll" "system" fn WerUnregisterFile(pwzfilepath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
52 ::windows_targets::link!("kernel32.dll" "system" fn WerUnregisterMemoryBlock(pvaddress : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
53 ::windows_targets::link!("kernel32.dll" "system" fn WerUnregisterRuntimeExceptionModule(pwszoutofprocesscallbackdll : ::windows_sys::core::PCWSTR, pcontext : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
54 pub const APPCRASH_EVENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("APPCRASH");
55 pub const E_STORE_INVALID: REPORT_STORE_TYPES = 4i32;
56 pub const E_STORE_MACHINE_ARCHIVE: REPORT_STORE_TYPES = 2i32;
57 pub const E_STORE_MACHINE_QUEUE: REPORT_STORE_TYPES = 3i32;
58 pub const E_STORE_USER_ARCHIVE: REPORT_STORE_TYPES = 0i32;
59 pub const E_STORE_USER_QUEUE: REPORT_STORE_TYPES = 1i32;
60 pub const PACKAGED_APPCRASH_EVENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MoAppCrash");
61 pub const WER_DUMP_AUXILIARY: u32 = 2u32;
62 pub const WER_DUMP_MASK_START: u32 = 1u32;
63 pub const WER_DUMP_NOHEAP_ONQUEUE: u32 = 1u32;
64 pub const WER_FAULT_REPORTING_ALWAYS_SHOW_UI: WER_FAULT_REPORTING = 16u32;
65 pub const WER_FAULT_REPORTING_CRITICAL: u32 = 512u32;
66 pub const WER_FAULT_REPORTING_DISABLE_SNAPSHOT_CRASH: u32 = 128u32;
67 pub const WER_FAULT_REPORTING_DISABLE_SNAPSHOT_HANG: u32 = 256u32;
68 pub const WER_FAULT_REPORTING_DURABLE: u32 = 1024u32;
69 pub const WER_FAULT_REPORTING_FLAG_DISABLE_THREAD_SUSPENSION: WER_FAULT_REPORTING = 4u32;
70 pub const WER_FAULT_REPORTING_FLAG_NOHEAP: WER_FAULT_REPORTING = 1u32;
71 pub const WER_FAULT_REPORTING_FLAG_NO_HEAP_ON_QUEUE: u32 = 64u32;
72 pub const WER_FAULT_REPORTING_FLAG_QUEUE: WER_FAULT_REPORTING = 2u32;
73 pub const WER_FAULT_REPORTING_FLAG_QUEUE_UPLOAD: WER_FAULT_REPORTING = 8u32;
74 pub const WER_FAULT_REPORTING_NO_UI: u32 = 32u32;
75 pub const WER_FILE_ANONYMOUS_DATA: WER_FILE = 2u32;
76 pub const WER_FILE_COMPRESSED: u32 = 4u32;
77 pub const WER_FILE_DELETE_WHEN_DONE: WER_FILE = 1u32;
78 pub const WER_MAX_APPLICATION_NAME_LENGTH: u32 = 128u32;
79 pub const WER_MAX_BUCKET_ID_STRING_LENGTH: u32 = 260u32;
80 pub const WER_MAX_DESCRIPTION_LENGTH: u32 = 512u32;
81 pub const WER_MAX_EVENT_NAME_LENGTH: u32 = 64u32;
82 pub const WER_MAX_FRIENDLY_EVENT_NAME_LENGTH: u32 = 128u32;
83 pub const WER_MAX_LOCAL_DUMP_SUBPATH_LENGTH: u32 = 64u32;
84 pub const WER_MAX_PARAM_COUNT: u32 = 10u32;
85 pub const WER_MAX_PARAM_LENGTH: u32 = 260u32;
86 pub const WER_MAX_PREFERRED_MODULES: u32 = 128u32;
87 pub const WER_MAX_PREFERRED_MODULES_BUFFER: u32 = 256u32;
88 pub const WER_MAX_REGISTERED_DUMPCOLLECTION: u32 = 4u32;
89 pub const WER_MAX_REGISTERED_ENTRIES: u32 = 512u32;
90 pub const WER_MAX_REGISTERED_METADATA: u32 = 8u32;
91 pub const WER_MAX_REGISTERED_RUNTIME_EXCEPTION_MODULES: u32 = 16u32;
92 pub const WER_MAX_SIGNATURE_NAME_LENGTH: u32 = 128u32;
93 pub const WER_MAX_TOTAL_PARAM_LENGTH: u32 = 1720u32;
94 pub const WER_METADATA_KEY_MAX_LENGTH: u32 = 64u32;
95 pub const WER_METADATA_VALUE_MAX_LENGTH: u32 = 128u32;
96 pub const WER_P0: u32 = 0u32;
97 pub const WER_P1: u32 = 1u32;
98 pub const WER_P2: u32 = 2u32;
99 pub const WER_P3: u32 = 3u32;
100 pub const WER_P4: u32 = 4u32;
101 pub const WER_P5: u32 = 5u32;
102 pub const WER_P6: u32 = 6u32;
103 pub const WER_P7: u32 = 7u32;
104 pub const WER_P8: u32 = 8u32;
105 pub const WER_P9: u32 = 9u32;
106 pub const WER_RUNTIME_EXCEPTION_DEBUGGER_LAUNCH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("OutOfProcessExceptionEventDebuggerLaunchCallback");
107 pub const WER_RUNTIME_EXCEPTION_EVENT_FUNCTION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("OutOfProcessExceptionEventCallback");
108 pub const WER_RUNTIME_EXCEPTION_EVENT_SIGNATURE_FUNCTION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("OutOfProcessExceptionEventSignatureCallback");
109 pub const WER_SUBMIT_ADD_REGISTERED_DATA: WER_SUBMIT_FLAGS = 16u32;
110 pub const WER_SUBMIT_ARCHIVE_PARAMETERS_ONLY: WER_SUBMIT_FLAGS = 4096u32;
111 pub const WER_SUBMIT_BYPASS_DATA_THROTTLING: WER_SUBMIT_FLAGS = 2048u32;
112 pub const WER_SUBMIT_BYPASS_NETWORK_COST_THROTTLING: u32 = 32768u32;
113 pub const WER_SUBMIT_BYPASS_POWER_THROTTLING: u32 = 16384u32;
114 pub const WER_SUBMIT_HONOR_RECOVERY: WER_SUBMIT_FLAGS = 1u32;
115 pub const WER_SUBMIT_HONOR_RESTART: WER_SUBMIT_FLAGS = 2u32;
116 pub const WER_SUBMIT_NO_ARCHIVE: WER_SUBMIT_FLAGS = 256u32;
117 pub const WER_SUBMIT_NO_CLOSE_UI: WER_SUBMIT_FLAGS = 64u32;
118 pub const WER_SUBMIT_NO_QUEUE: WER_SUBMIT_FLAGS = 128u32;
119 pub const WER_SUBMIT_OUTOFPROCESS: WER_SUBMIT_FLAGS = 32u32;
120 pub const WER_SUBMIT_OUTOFPROCESS_ASYNC: WER_SUBMIT_FLAGS = 1024u32;
121 pub const WER_SUBMIT_QUEUE: WER_SUBMIT_FLAGS = 4u32;
122 pub const WER_SUBMIT_REPORT_MACHINE_ID: WER_SUBMIT_FLAGS = 8192u32;
123 pub const WER_SUBMIT_SHOW_DEBUG: WER_SUBMIT_FLAGS = 8u32;
124 pub const WER_SUBMIT_START_MINIMIZED: WER_SUBMIT_FLAGS = 512u32;
125 pub const WerConsentAlwaysPrompt: WER_CONSENT = 4i32;
126 pub const WerConsentApproved: WER_CONSENT = 2i32;
127 pub const WerConsentDenied: WER_CONSENT = 3i32;
128 pub const WerConsentMax: WER_CONSENT = 5i32;
129 pub const WerConsentNotAsked: WER_CONSENT = 1i32;
130 pub const WerCustomAction: WER_SUBMIT_RESULT = 9i32;
131 pub const WerDisabled: WER_SUBMIT_RESULT = 5i32;
132 pub const WerDisabledQueue: WER_SUBMIT_RESULT = 7i32;
133 pub const WerDumpTypeHeapDump: WER_DUMP_TYPE = 3i32;
134 pub const WerDumpTypeMax: WER_DUMP_TYPE = 5i32;
135 pub const WerDumpTypeMicroDump: WER_DUMP_TYPE = 1i32;
136 pub const WerDumpTypeMiniDump: WER_DUMP_TYPE = 2i32;
137 pub const WerDumpTypeNone: WER_DUMP_TYPE = 0i32;
138 pub const WerDumpTypeTriageDump: WER_DUMP_TYPE = 4i32;
139 pub const WerFileTypeAuxiliaryDump: WER_FILE_TYPE = 8i32;
140 pub const WerFileTypeCustomDump: WER_FILE_TYPE = 7i32;
141 pub const WerFileTypeEtlTrace: WER_FILE_TYPE = 9i32;
142 pub const WerFileTypeHeapdump: WER_FILE_TYPE = 3i32;
143 pub const WerFileTypeMax: WER_FILE_TYPE = 10i32;
144 pub const WerFileTypeMicrodump: WER_FILE_TYPE = 1i32;
145 pub const WerFileTypeMinidump: WER_FILE_TYPE = 2i32;
146 pub const WerFileTypeOther: WER_FILE_TYPE = 5i32;
147 pub const WerFileTypeTriagedump: WER_FILE_TYPE = 6i32;
148 pub const WerFileTypeUserDocument: WER_FILE_TYPE = 4i32;
149 pub const WerRegFileTypeMax: WER_REGISTER_FILE_TYPE = 3i32;
150 pub const WerRegFileTypeOther: WER_REGISTER_FILE_TYPE = 2i32;
151 pub const WerRegFileTypeUserDocument: WER_REGISTER_FILE_TYPE = 1i32;
152 pub const WerReportApplicationCrash: WER_REPORT_TYPE = 2i32;
153 pub const WerReportApplicationHang: WER_REPORT_TYPE = 3i32;
154 pub const WerReportAsync: WER_SUBMIT_RESULT = 8i32;
155 pub const WerReportCancelled: WER_SUBMIT_RESULT = 6i32;
156 pub const WerReportCritical: WER_REPORT_TYPE = 1i32;
157 pub const WerReportDebug: WER_SUBMIT_RESULT = 3i32;
158 pub const WerReportFailed: WER_SUBMIT_RESULT = 4i32;
159 pub const WerReportInvalid: WER_REPORT_TYPE = 5i32;
160 pub const WerReportKernel: WER_REPORT_TYPE = 4i32;
161 pub const WerReportNonCritical: WER_REPORT_TYPE = 0i32;
162 pub const WerReportQueued: WER_SUBMIT_RESULT = 1i32;
163 pub const WerReportUploaded: WER_SUBMIT_RESULT = 2i32;
164 pub const WerReportUploadedCab: WER_SUBMIT_RESULT = 11i32;
165 pub const WerStorageLocationNotFound: WER_SUBMIT_RESULT = 12i32;
166 pub const WerSubmitResultMax: WER_SUBMIT_RESULT = 13i32;
167 pub const WerThrottled: WER_SUBMIT_RESULT = 10i32;
168 pub const WerUIAdditionalDataDlgHeader: WER_REPORT_UI = 1i32;
169 pub const WerUICloseDlgBody: WER_REPORT_UI = 9i32;
170 pub const WerUICloseDlgButtonText: WER_REPORT_UI = 10i32;
171 pub const WerUICloseDlgHeader: WER_REPORT_UI = 8i32;
172 pub const WerUICloseText: WER_REPORT_UI = 7i32;
173 pub const WerUIConsentDlgBody: WER_REPORT_UI = 4i32;
174 pub const WerUIConsentDlgHeader: WER_REPORT_UI = 3i32;
175 pub const WerUIIconFilePath: WER_REPORT_UI = 2i32;
176 pub const WerUIMax: WER_REPORT_UI = 11i32;
177 pub const WerUIOfflineSolutionCheckText: WER_REPORT_UI = 6i32;
178 pub const WerUIOnlineSolutionCheckText: WER_REPORT_UI = 5i32;
179 pub const frrvErr: EFaultRepRetVal = 3i32;
180 pub const frrvErrAnotherInstance: EFaultRepRetVal = 8i32;
181 pub const frrvErrDoubleFault: EFaultRepRetVal = 10i32;
182 pub const frrvErrNoDW: EFaultRepRetVal = 4i32;
183 pub const frrvErrNoMemory: EFaultRepRetVal = 9i32;
184 pub const frrvErrTimeout: EFaultRepRetVal = 5i32;
185 pub const frrvLaunchDebugger: EFaultRepRetVal = 6i32;
186 pub const frrvOk: EFaultRepRetVal = 0i32;
187 pub const frrvOkHeadless: EFaultRepRetVal = 7i32;
188 pub const frrvOkManifest: EFaultRepRetVal = 1i32;
189 pub const frrvOkQueued: EFaultRepRetVal = 2i32;
190 pub type EFaultRepRetVal = i32;
191 pub type REPORT_STORE_TYPES = i32;
192 pub type WER_CONSENT = i32;
193 pub type WER_DUMP_TYPE = i32;
194 pub type WER_FAULT_REPORTING = u32;
195 pub type WER_FILE = u32;
196 pub type WER_FILE_TYPE = i32;
197 pub type WER_REGISTER_FILE_TYPE = i32;
198 pub type WER_REPORT_TYPE = i32;
199 pub type WER_REPORT_UI = i32;
200 pub type WER_SUBMIT_FLAGS = u32;
201 pub type WER_SUBMIT_RESULT = i32;
202 pub type HREPORT = isize;
203 pub type HREPORTSTORE = isize;
204 #[repr(C)]
205 #[doc = "Required features: `\"Win32_Foundation\"`"]
206 #[cfg(feature = "Win32_Foundation")]
207 pub struct WER_DUMP_CUSTOM_OPTIONS {
208 pub dwSize: u32,
209 pub dwMask: u32,
210 pub dwDumpFlags: u32,
211 pub bOnlyThisThread: super::super::Foundation::BOOL,
212 pub dwExceptionThreadFlags: u32,
213 pub dwOtherThreadFlags: u32,
214 pub dwExceptionThreadExFlags: u32,
215 pub dwOtherThreadExFlags: u32,
216 pub dwPreferredModuleFlags: u32,
217 pub dwOtherModuleFlags: u32,
218 pub wzPreferredModuleList: [u16; 256],
219 }
220 #[cfg(feature = "Win32_Foundation")]
221 impl ::core::marker::Copy for WER_DUMP_CUSTOM_OPTIONS {}
222 #[cfg(feature = "Win32_Foundation")]
223 impl ::core::clone::Clone for WER_DUMP_CUSTOM_OPTIONS {
224 fn clone(&self) -> Self {
225 *self
226 }
227 }
228 #[repr(C)]
229 #[doc = "Required features: `\"Win32_Foundation\"`"]
230 #[cfg(feature = "Win32_Foundation")]
231 pub struct WER_DUMP_CUSTOM_OPTIONS_V2 {
232 pub dwSize: u32,
233 pub dwMask: u32,
234 pub dwDumpFlags: u32,
235 pub bOnlyThisThread: super::super::Foundation::BOOL,
236 pub dwExceptionThreadFlags: u32,
237 pub dwOtherThreadFlags: u32,
238 pub dwExceptionThreadExFlags: u32,
239 pub dwOtherThreadExFlags: u32,
240 pub dwPreferredModuleFlags: u32,
241 pub dwOtherModuleFlags: u32,
242 pub wzPreferredModuleList: [u16; 256],
243 pub dwPreferredModuleResetFlags: u32,
244 pub dwOtherModuleResetFlags: u32,
245 }
246 #[cfg(feature = "Win32_Foundation")]
247 impl ::core::marker::Copy for WER_DUMP_CUSTOM_OPTIONS_V2 {}
248 #[cfg(feature = "Win32_Foundation")]
249 impl ::core::clone::Clone for WER_DUMP_CUSTOM_OPTIONS_V2 {
250 fn clone(&self) -> Self {
251 *self
252 }
253 }
254 #[repr(C)]
255 #[doc = "Required features: `\"Win32_Foundation\"`"]
256 #[cfg(feature = "Win32_Foundation")]
257 pub struct WER_DUMP_CUSTOM_OPTIONS_V3 {
258 pub dwSize: u32,
259 pub dwMask: u32,
260 pub dwDumpFlags: u32,
261 pub bOnlyThisThread: super::super::Foundation::BOOL,
262 pub dwExceptionThreadFlags: u32,
263 pub dwOtherThreadFlags: u32,
264 pub dwExceptionThreadExFlags: u32,
265 pub dwOtherThreadExFlags: u32,
266 pub dwPreferredModuleFlags: u32,
267 pub dwOtherModuleFlags: u32,
268 pub wzPreferredModuleList: [u16; 256],
269 pub dwPreferredModuleResetFlags: u32,
270 pub dwOtherModuleResetFlags: u32,
271 pub pvDumpKey: *mut ::core::ffi::c_void,
272 pub hSnapshot: super::super::Foundation::HANDLE,
273 pub dwThreadID: u32,
274 }
275 #[cfg(feature = "Win32_Foundation")]
276 impl ::core::marker::Copy for WER_DUMP_CUSTOM_OPTIONS_V3 {}
277 #[cfg(feature = "Win32_Foundation")]
278 impl ::core::clone::Clone for WER_DUMP_CUSTOM_OPTIONS_V3 {
279 fn clone(&self) -> Self {
280 *self
281 }
282 }
283 #[repr(C)]
284 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`"]
285 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
286 pub struct WER_EXCEPTION_INFORMATION {
287 pub pExceptionPointers: *mut super::Diagnostics::Debug::EXCEPTION_POINTERS,
288 pub bClientPointers: super::super::Foundation::BOOL,
289 }
290 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
291 impl ::core::marker::Copy for WER_EXCEPTION_INFORMATION {}
292 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
293 impl ::core::clone::Clone for WER_EXCEPTION_INFORMATION {
294 fn clone(&self) -> Self {
295 *self
296 }
297 }
298 #[repr(C)]
299 #[doc = "Required features: `\"Win32_Foundation\"`"]
300 #[cfg(feature = "Win32_Foundation")]
301 pub struct WER_REPORT_INFORMATION {
302 pub dwSize: u32,
303 pub hProcess: super::super::Foundation::HANDLE,
304 pub wzConsentKey: [u16; 64],
305 pub wzFriendlyEventName: [u16; 128],
306 pub wzApplicationName: [u16; 128],
307 pub wzApplicationPath: [u16; 260],
308 pub wzDescription: [u16; 512],
309 pub hwndParent: super::super::Foundation::HWND,
310 }
311 #[cfg(feature = "Win32_Foundation")]
312 impl ::core::marker::Copy for WER_REPORT_INFORMATION {}
313 #[cfg(feature = "Win32_Foundation")]
314 impl ::core::clone::Clone for WER_REPORT_INFORMATION {
315 fn clone(&self) -> Self {
316 *self
317 }
318 }
319 #[repr(C)]
320 #[doc = "Required features: `\"Win32_Foundation\"`"]
321 #[cfg(feature = "Win32_Foundation")]
322 pub struct WER_REPORT_INFORMATION_V3 {
323 pub dwSize: u32,
324 pub hProcess: super::super::Foundation::HANDLE,
325 pub wzConsentKey: [u16; 64],
326 pub wzFriendlyEventName: [u16; 128],
327 pub wzApplicationName: [u16; 128],
328 pub wzApplicationPath: [u16; 260],
329 pub wzDescription: [u16; 512],
330 pub hwndParent: super::super::Foundation::HWND,
331 pub wzNamespacePartner: [u16; 64],
332 pub wzNamespaceGroup: [u16; 64],
333 }
334 #[cfg(feature = "Win32_Foundation")]
335 impl ::core::marker::Copy for WER_REPORT_INFORMATION_V3 {}
336 #[cfg(feature = "Win32_Foundation")]
337 impl ::core::clone::Clone for WER_REPORT_INFORMATION_V3 {
338 fn clone(&self) -> Self {
339 *self
340 }
341 }
342 #[repr(C)]
343 #[doc = "Required features: `\"Win32_Foundation\"`"]
344 #[cfg(feature = "Win32_Foundation")]
345 pub struct WER_REPORT_INFORMATION_V4 {
346 pub dwSize: u32,
347 pub hProcess: super::super::Foundation::HANDLE,
348 pub wzConsentKey: [u16; 64],
349 pub wzFriendlyEventName: [u16; 128],
350 pub wzApplicationName: [u16; 128],
351 pub wzApplicationPath: [u16; 260],
352 pub wzDescription: [u16; 512],
353 pub hwndParent: super::super::Foundation::HWND,
354 pub wzNamespacePartner: [u16; 64],
355 pub wzNamespaceGroup: [u16; 64],
356 pub rgbApplicationIdentity: [u8; 16],
357 pub hSnapshot: super::super::Foundation::HANDLE,
358 pub hDeleteFilesImpersonationToken: super::super::Foundation::HANDLE,
359 }
360 #[cfg(feature = "Win32_Foundation")]
361 impl ::core::marker::Copy for WER_REPORT_INFORMATION_V4 {}
362 #[cfg(feature = "Win32_Foundation")]
363 impl ::core::clone::Clone for WER_REPORT_INFORMATION_V4 {
364 fn clone(&self) -> Self {
365 *self
366 }
367 }
368 #[repr(C)]
369 #[doc = "Required features: `\"Win32_Foundation\"`"]
370 #[cfg(feature = "Win32_Foundation")]
371 pub struct WER_REPORT_INFORMATION_V5 {
372 pub dwSize: u32,
373 pub hProcess: super::super::Foundation::HANDLE,
374 pub wzConsentKey: [u16; 64],
375 pub wzFriendlyEventName: [u16; 128],
376 pub wzApplicationName: [u16; 128],
377 pub wzApplicationPath: [u16; 260],
378 pub wzDescription: [u16; 512],
379 pub hwndParent: super::super::Foundation::HWND,
380 pub wzNamespacePartner: [u16; 64],
381 pub wzNamespaceGroup: [u16; 64],
382 pub rgbApplicationIdentity: [u8; 16],
383 pub hSnapshot: super::super::Foundation::HANDLE,
384 pub hDeleteFilesImpersonationToken: super::super::Foundation::HANDLE,
385 pub submitResultMax: WER_SUBMIT_RESULT,
386 }
387 #[cfg(feature = "Win32_Foundation")]
388 impl ::core::marker::Copy for WER_REPORT_INFORMATION_V5 {}
389 #[cfg(feature = "Win32_Foundation")]
390 impl ::core::clone::Clone for WER_REPORT_INFORMATION_V5 {
391 fn clone(&self) -> Self {
392 *self
393 }
394 }
395 #[repr(C)]
396 #[doc = "Required features: `\"Win32_Foundation\"`"]
397 #[cfg(feature = "Win32_Foundation")]
398 pub struct WER_REPORT_METADATA_V1 {
399 pub Signature: WER_REPORT_SIGNATURE,
400 pub BucketId: ::windows_sys::core::GUID,
401 pub ReportId: ::windows_sys::core::GUID,
402 pub CreationTime: super::super::Foundation::FILETIME,
403 pub SizeInBytes: u64,
404 }
405 #[cfg(feature = "Win32_Foundation")]
406 impl ::core::marker::Copy for WER_REPORT_METADATA_V1 {}
407 #[cfg(feature = "Win32_Foundation")]
408 impl ::core::clone::Clone for WER_REPORT_METADATA_V1 {
409 fn clone(&self) -> Self {
410 *self
411 }
412 }
413 #[repr(C)]
414 #[doc = "Required features: `\"Win32_Foundation\"`"]
415 #[cfg(feature = "Win32_Foundation")]
416 pub struct WER_REPORT_METADATA_V2 {
417 pub Signature: WER_REPORT_SIGNATURE,
418 pub BucketId: ::windows_sys::core::GUID,
419 pub ReportId: ::windows_sys::core::GUID,
420 pub CreationTime: super::super::Foundation::FILETIME,
421 pub SizeInBytes: u64,
422 pub CabId: [u16; 260],
423 pub ReportStatus: u32,
424 pub ReportIntegratorId: ::windows_sys::core::GUID,
425 pub NumberOfFiles: u32,
426 pub SizeOfFileNames: u32,
427 pub FileNames: ::windows_sys::core::PWSTR,
428 }
429 #[cfg(feature = "Win32_Foundation")]
430 impl ::core::marker::Copy for WER_REPORT_METADATA_V2 {}
431 #[cfg(feature = "Win32_Foundation")]
432 impl ::core::clone::Clone for WER_REPORT_METADATA_V2 {
433 fn clone(&self) -> Self {
434 *self
435 }
436 }
437 #[repr(C)]
438 #[doc = "Required features: `\"Win32_Foundation\"`"]
439 #[cfg(feature = "Win32_Foundation")]
440 pub struct WER_REPORT_METADATA_V3 {
441 pub Signature: WER_REPORT_SIGNATURE,
442 pub BucketId: ::windows_sys::core::GUID,
443 pub ReportId: ::windows_sys::core::GUID,
444 pub CreationTime: super::super::Foundation::FILETIME,
445 pub SizeInBytes: u64,
446 pub CabId: [u16; 260],
447 pub ReportStatus: u32,
448 pub ReportIntegratorId: ::windows_sys::core::GUID,
449 pub NumberOfFiles: u32,
450 pub SizeOfFileNames: u32,
451 pub FileNames: ::windows_sys::core::PWSTR,
452 pub FriendlyEventName: [u16; 128],
453 pub ApplicationName: [u16; 128],
454 pub ApplicationPath: [u16; 260],
455 pub Description: [u16; 512],
456 pub BucketIdString: [u16; 260],
457 pub LegacyBucketId: u64,
458 }
459 #[cfg(feature = "Win32_Foundation")]
460 impl ::core::marker::Copy for WER_REPORT_METADATA_V3 {}
461 #[cfg(feature = "Win32_Foundation")]
462 impl ::core::clone::Clone for WER_REPORT_METADATA_V3 {
463 fn clone(&self) -> Self {
464 *self
465 }
466 }
467 #[repr(C)]
468 pub struct WER_REPORT_PARAMETER {
469 pub Name: [u16; 129],
470 pub Value: [u16; 260],
471 }
472 impl ::core::marker::Copy for WER_REPORT_PARAMETER {}
473 impl ::core::clone::Clone for WER_REPORT_PARAMETER {
474 fn clone(&self) -> Self {
475 *self
476 }
477 }
478 #[repr(C)]
479 pub struct WER_REPORT_SIGNATURE {
480 pub EventName: [u16; 65],
481 pub Parameters: [WER_REPORT_PARAMETER; 10],
482 }
483 impl ::core::marker::Copy for WER_REPORT_SIGNATURE {}
484 impl ::core::clone::Clone for WER_REPORT_SIGNATURE {
485 fn clone(&self) -> Self {
486 *self
487 }
488 }
489 #[repr(C)]
490 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`"]
491 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
492 pub struct WER_RUNTIME_EXCEPTION_INFORMATION {
493 pub dwSize: u32,
494 pub hProcess: super::super::Foundation::HANDLE,
495 pub hThread: super::super::Foundation::HANDLE,
496 pub exceptionRecord: super::Diagnostics::Debug::EXCEPTION_RECORD,
497 pub context: super::Diagnostics::Debug::CONTEXT,
498 pub pwszReportId: ::windows_sys::core::PCWSTR,
499 pub bIsFatal: super::super::Foundation::BOOL,
500 pub dwReserved: u32,
501 }
502 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
503 impl ::core::marker::Copy for WER_RUNTIME_EXCEPTION_INFORMATION {}
504 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
505 impl ::core::clone::Clone for WER_RUNTIME_EXCEPTION_INFORMATION {
506 fn clone(&self) -> Self {
507 *self
508 }
509 }
510 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`"]
511 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
512 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_sys::core::PWSTR, pchdebuggerlaunch: *mut u32, pbisdebuggerautolaunch: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT>;
513 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`"]
514 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
515 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_sys::core::PWSTR, pchsize: *mut u32, pdwsignaturecount: *mut u32) -> ::windows_sys::core::HRESULT>;
516 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`"]
517 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
518 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_sys::core::PWSTR, pchname: *mut u32, pwszvalue: ::windows_sys::core::PWSTR, pchvalue: *mut u32) -> ::windows_sys::core::HRESULT>;
519 pub type pfn_ADDEREXCLUDEDAPPLICATIONA = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCSTR) -> EFaultRepRetVal>;
520 pub type pfn_ADDEREXCLUDEDAPPLICATIONW = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR) -> EFaultRepRetVal>;
521 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`"]
522 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
523 pub type pfn_REPORTFAULT = ::core::option::Option<unsafe extern "system" fn(param0: *const super::Diagnostics::Debug::EXCEPTION_POINTERS, param1: u32) -> EFaultRepRetVal>;