|A crash reporting system for Windows applications|
|Size of this structure in bytes. |
|Directory where crash report files are located. |
|Pointer to information about the crash. |
|Pointer to user-defined data. |
|Whether to terminate the process (the default) or to continue program execution. |
Below, the stucture fields are described:
This contains the size of this structure in bytes.
This field specifies the crash report generation stage. The callback function can be called once per each stage (depending on callback function's return value). Currently, there are two stages:
This field contains the absolute path to the directory containing uncompressed crash report files.
This field contains a pointer to CR_EXCEPTION_INFO structure.
pUserParam [in, optional]
This is a pointer to user-specified data passed to the crSetCrashCallback() function as pUserParam argument.
bContinueExecution [in, out]
This field is set to FALSE by default. The crash callback function may set it to true if it wants to continue its execution after crash report generation (otherwise the program will be terminated).
CR_CRASH_CALLBACK_INFOW and CR_CRASH_CALLBACK_INFOA are wide-character and multi-byte character versions of CR_CRASH_CALLBACK_INFO structure. In your program, use the CR_CRASH_CALLBACK_INFO typedef which is a character-set-independent version of the structure name.