The ReportFault function allows an application that performs its own exception handling to report faults to Microsoft.
Declare Function ReportFault Lib "Faultrep" (pep As EXCEPTION_POINTERS, ByVal dwMode As Long) As EFaultRepRetVal
Operating Systems Supported
Requires Windows XP or later; Win9x/ME: Not supported
[in] Pointer to an EXCEPTION_POINTERS structure.
This value is reserved for system use and should be set to zero.
This function returns one of the following values.
The function succeeded.
The function succeeded and the client was launched in manifest reporting mode.
The function failed but the client was launched.
The client was unable to launch. The system will perform its default actions, such as displaying the standard exception dialog box and launching the debugger.
The function timed out.
The function succeeded and the user launched the debugger.
The function succeeded and the client was launched in silent reporting mode.
These return values indicate whether the reporting application was successfully launched. A successful return value does not indicate that the fault was successfully reported.