werapi.h revision 930b5f872e89407f445d4000d4e4aaecaa6a0998
/*
* Windows Error Reporting definitions
*
* Copyright (C) 2010 Louis Lenders
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
#ifndef __WINE_WERAPI_H
#define __WINE_WERAPI_H
#ifdef __cplusplus
extern "C" {
#endif
/* Only 10 parameter are allowed in WerReportSetParameter */
#define WER_MAX_PARAM_COUNT 10
#define WER_P0 0
#define WER_P1 1
#define WER_P2 2
#define WER_P3 3
#define WER_P4 4
#define WER_P5 5
#define WER_P6 6
#define WER_P7 7
#define WER_P8 8
#define WER_P9 9
/* Flags for WerReportSubmit */
#define WER_SUBMIT_HONOR_RECOVERY 0x0001
#define WER_SUBMIT_HONOR_RESTART 0x0002
#define WER_SUBMIT_QUEUE 0x0004
#define WER_SUBMIT_SHOW_DEBUG 0x0008
#define WER_SUBMIT_ADD_REGISTERED_DATA 0x0010
#define WER_SUBMIT_OUTOFPROCESS 0x0020
#define WER_SUBMIT_NO_CLOSE_UI 0x0040
#define WER_SUBMIT_NO_QUEUE 0x0080
#define WER_SUBMIT_NO_ARCHIVE 0x0100
#define WER_SUBMIT_START_MINIMIZED 0x0200
#define WER_SUBMIT_OUTOFPROCESS_ASYNC 0x0400
#define WER_SUBMIT_BYPASS_DATA_THROTTLING 0x0800
#define WER_SUBMIT_ARCHIVE_PARAMETERS_ONLY 0x1000
#define WER_SUBMIT_REPORT_MACHINE_ID 0x2000
#define WER_MAX_PREFERRED_MODULES 128
#define WER_MAX_PREFERRED_MODULES_BUFFER 256
/* #### */
typedef enum _WER_CONSENT
{
WerConsentNotAsked = 1,
} WER_CONSENT;
typedef enum _WER_FILE_TYPE
{
WerFileTypeMicrodump = 1,
typedef enum _WER_REGISTER_FILE_TYPE
{
WerRegFileTypeOther = 2,
typedef struct _WER_REPORT_INFORMATION
{
typedef enum _WER_REPORT_TYPE
{
WerReportNonCritical = 0,
typedef enum _WER_SUBMIT_RESULT
{
WerReportQueued = 1,
typedef enum _WER_DUMP_TYPE
{
WerDumpTypeMicroDump = 1,
typedef enum _WER_REPORT_UI
{
WerUIIconFilePath = 2,
WerUIConsentDlgBody = 4,
WerUICloseText = 7,
WerUICloseDlgHeader = 8,
WerUICloseDlgBody = 9,
WerUICloseDlgButtonText = 10,
/* #### */
typedef struct _WER_DUMP_CUSTOM_OPTIONS
{
typedef struct _WER_EXCEPTION_INFORMATION
{
/* #### */
#ifdef __cplusplus
}
#endif
#endif /* __WINE_WERAPI_H */