DoctorDumpSDK
Public Attributes | List of all members
crash_rpt::HandlerSettings Struct Reference

Contains crash handling behavior customization parameters. More...

#include <CrashRpt.h>

Public Attributes

DWORD HandlerSettingsSize
 Size of this structure. Should be set to sizeof(HandlerSettings).
 
BOOL LeaveDumpFilesInTempFolder
 To leave error reports in temp folder you should set this member to TRUE. Your support or test lab teams can use that reports later.
 
BOOL OpenProblemInBrowser
 To open Web-page belonging to the uploaded report after it was uploaded set this member to TRUE. It is useful for test lab to track the bug or write some comments.
 
BOOL UseWER
 To continue use Microsoft Windows Error Reporting (WER) set this member to TRUE. In that case after Doctor Dump send report dialog Microsoft send report dialog also will be shown. This can be necessary in case of Windows Logo program.
 
DWORD SubmitterID
 Doctor Dump user ID. Uploaded report will be marked as uploaded by this user. This is useful for Doctor Dump and bug tracking system integration. Set to 0 if user using this application is anonymous.
 
BOOL SendAdditionalDataWithoutApproval
 To automatically accepted the question "Do you want to send more information about the problem?" set this member to TRUE .
 
BOOL OverrideDefaultFullDumpType
 To override default type of data gathered by the library set this member to TRUE and set required type of data in FullDumpType.
 
DWORD FullDumpType
 The type of information to be generated when full dump is requested by Doctor Dump. This parameter can be one or more of the values from the MINIDUMP_TYPE enumeration.
 
LPCWSTR LangFilePath
 To customize localization set this member to the path to the language file (including file name).
 
LPCWSTR SendRptPath
 Set this member to NULL to use default behavior when SendRpt is named sendrpt.exe and exist in same folder with crashrpt.dll. Set to filename if sendrpt.exe has another name but it is in same folder as crashrpt.dll. Set to full path in other cases.
 
LPCWSTR DbgHelpPath
 
PFNCRASHPROCESSINGCALLBACK CrashProcessingCallback
 Callback function that will be called when crash reporting occurs. Set to NULL if no special processing needed.
 
LPVOID CrashProcessingCallbackUserData
 User defined parameter for CrashProcessingCallback. Optional.
 
custom_data_collection::SettingsCustomDataCollectionSettings
 Contains data for optional custom data collection after the crash in context of sendrpt.exe process.
 
crt_error_handlers::SettingsCrtErrorHandlersSettings
 Contains setters for CRT error handlers. Set to NULL to use default handlers.
 

Detailed Description

Contains crash handling behavior customization parameters.

Default values for all parameters are 0/FALSE.

Member Data Documentation

◆ DbgHelpPath

LPCWSTR crash_rpt::HandlerSettings::DbgHelpPath

Set this member to NULL to use default behavior when DbgHelp is named dbghelp.dll and exist in same folder with crashrpt.dll. Set to filename if dbghelp.dll has another name but it is in same folder as crashrpt.dll. Set to full path in other cases.

Note
You should use dbghelp.dll that distributed with crashrpt.dll and not the SystemRoot%\System32\dbghelp.dll, because only that dll supports all required functionality. See DbgHelp Versions for more information.