GME  13
Classes | Typedefs
CrashRpt Structures

Classes

struct  tagCR_EXCEPTION_INFO
struct  CR_INSTALL_INFOW
 This structure defines the general information used by crInstall() More...
struct  CR_INSTALL_INFOA

Typedefs

typedef CR_INSTALL_INFOA CR_INSTALL_INFO
 Character set-independent mapping of CR_INSTALL_INFOW and CR_INSTALL_INFOA structures.
typedef struct tagCR_EXCEPTION_INFO CR_EXCEPTION_INFO

Typedef Documentation

This structure defines the information needed to generate crash minidump file and provide the developer with other information about the error. This structure is used by the crGenerateErrorReport() function.

cb [in]

This must contain the size of this structure in bytes.

pexcptrs [in, optional]

Should contain the exception pointers. If this parameter is NULL, the current CPU state is used to generate exception pointers.

exctype [in]

The type of exception. This parameter may be one of the following:

code [in, optional]

Used if exctype is CR_SEH_EXCEPTION and represents the SEH exception code. If pexptrs is NULL, this value is used when generating exception information for initializing pexptrs->ExceptionRecord->ExceptionCode member, otherwise it is ignored.

fpe_subcode [in, optional]

Used if exctype is equal to CR_CPP_SIGFPE. It defines the floating point exception subcode (see signal() function ducumentation in MSDN).

expression, function, file and line [in, optional]

These parameters are used when exctype is CR_CPP_INVALID_PARAMETER. These members are typically non-zero when using debug version of CRT.

bManual [in]

Since v.1.2.4, bManual parameter should be equal to TRUE if the report is generated manually. The value of bManual parameter affects the automatic application restart behavior. If the application restart is requested by the CR_INST_APP_RESTART flag of CR_INSTALL_INFO::dwFlags structure member, and if bManual is FALSE, the application will be restarted after error report generation. If bManual is TRUE, the application won't be restarted.

hSenderProcess [out]

As of v.1.2.8, hSenderProcess parameter will contain the handle to the CrashSender.exe process when crGenerateErrorReport function returns. The caller may use this handle to wait until CrashSender.exe process exits and check the exit code.

Character set-independent mapping of CR_INSTALL_INFOW and CR_INSTALL_INFOA structures.

Definition at line 588 of file CrashRpt.h.