AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

ReportFault

The ReportFault function allows an application that performs its own exception handling to report faults to Microsoft.

VB4-32,5,6
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

Library
Faultrep

Parameter Information
· pep
[in] Pointer to an EXCEPTION_POINTERS structure.

· dwMode
This value is reserved for system use and should be set to zero.

Return Values
This function returns one of the following values.

frrvOk
The function succeeded.
frrvOkManifest
The function succeeded and the client was launched in manifest reporting mode.
frrvErr
The function failed but the client was launched.
frrvErrNoDW
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.
frrvErrTimeout
The function timed out.
frrvLaunchDebugger
The function succeeded and the user launched the debugger.
frrvOkHeadless
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.

Examples

Related Functions

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/