ReactOS 0.4.15-dev-7924-g5949c20
werapi.h File Reference

Go to the source code of this file.

Classes

struct  _WER_REPORT_INFORMATION
 

Macros

#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
 
#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
 

Typedefs

typedef HANDLE HREPORT
 
typedef enum _WER_CONSENT WER_CONSENT
 
typedef enum _WER_REGISTER_FILE_TYPE WER_REGISTER_FILE_TYPE
 
typedef struct _WER_REPORT_INFORMATION WER_REPORT_INFORMATION
 
typedef struct _WER_REPORT_INFORMATIONPWER_REPORT_INFORMATION
 
typedef enum _WER_REPORT_TYPE WER_REPORT_TYPE
 
typedef enum _WER_SUBMIT_RESULT WER_SUBMIT_RESULT
 
typedef enum _WER_SUBMIT_RESULTPWER_SUBMIT_RESULT
 

Enumerations

enum  _WER_CONSENT {
  WerConsentNotAsked = 1 , WerConsentApproved , WerConsentDenied , WerConsentAlwaysPrompt ,
  WerConsentMax
}
 
enum  _WER_REGISTER_FILE_TYPE { WerRegFileTypeUserDocument = 1 , WerRegFileTypeOther = 2 , WerRegFileTypeMax }
 
enum  _WER_REPORT_TYPE {
  WerReportNonCritical = 0 , WerReportCritical , WerReportApplicationCrash , WerReportApplicationHang ,
  WerReportKernel , WerReportInvalid
}
 
enum  _WER_SUBMIT_RESULT {
  WerReportQueued = 1 , WerReportUploaded , WerReportDebug , WerReportFailed ,
  WerDisabled , WerReportCancelled , WerDisabledQueue , WerReportAsync ,
  WerCustomAction
}
 

Functions

HRESULT WINAPI WerAddExcludedApplication (PCWSTR, BOOL)
 
HRESULT WINAPI WerRegisterFile (PCWSTR file, WER_REGISTER_FILE_TYPE regfiletype, DWORD flags)
 
HRESULT WINAPI WerRemoveExcludedApplication (PCWSTR, BOOL)
 
HRESULT WINAPI WerReportCloseHandle (HREPORT)
 
HRESULT WINAPI WerReportCreate (PCWSTR, WER_REPORT_TYPE, PWER_REPORT_INFORMATION, HREPORT *)
 
HRESULT WINAPI WerReportSetParameter (HREPORT, DWORD, PCWSTR, PCWSTR)
 
HRESULT WINAPI WerReportSubmit (HREPORT, WER_CONSENT, DWORD, PWER_SUBMIT_RESULT)
 

Macro Definition Documentation

◆ WER_MAX_PARAM_COUNT

#define WER_MAX_PARAM_COUNT   10

Definition at line 29 of file werapi.h.

◆ WER_P0

#define WER_P0   0

Definition at line 30 of file werapi.h.

◆ WER_P1

#define WER_P1   1

Definition at line 31 of file werapi.h.

◆ WER_P2

#define WER_P2   2

Definition at line 32 of file werapi.h.

◆ WER_P3

#define WER_P3   3

Definition at line 33 of file werapi.h.

◆ WER_P4

#define WER_P4   4

Definition at line 34 of file werapi.h.

◆ WER_P5

#define WER_P5   5

Definition at line 35 of file werapi.h.

◆ WER_P6

#define WER_P6   6

Definition at line 36 of file werapi.h.

◆ WER_P7

#define WER_P7   7

Definition at line 37 of file werapi.h.

◆ WER_P8

#define WER_P8   8

Definition at line 38 of file werapi.h.

◆ WER_P9

#define WER_P9   9

Definition at line 39 of file werapi.h.

◆ WER_SUBMIT_ADD_REGISTERED_DATA

#define WER_SUBMIT_ADD_REGISTERED_DATA   0x0010

Definition at line 46 of file werapi.h.

◆ WER_SUBMIT_ARCHIVE_PARAMETERS_ONLY

#define WER_SUBMIT_ARCHIVE_PARAMETERS_ONLY   0x1000

Definition at line 54 of file werapi.h.

◆ WER_SUBMIT_BYPASS_DATA_THROTTLING

#define WER_SUBMIT_BYPASS_DATA_THROTTLING   0x0800

Definition at line 53 of file werapi.h.

◆ WER_SUBMIT_HONOR_RECOVERY

#define WER_SUBMIT_HONOR_RECOVERY   0x0001

Definition at line 42 of file werapi.h.

◆ WER_SUBMIT_HONOR_RESTART

#define WER_SUBMIT_HONOR_RESTART   0x0002

Definition at line 43 of file werapi.h.

◆ WER_SUBMIT_NO_ARCHIVE

#define WER_SUBMIT_NO_ARCHIVE   0x0100

Definition at line 50 of file werapi.h.

◆ WER_SUBMIT_NO_CLOSE_UI

#define WER_SUBMIT_NO_CLOSE_UI   0x0040

Definition at line 48 of file werapi.h.

◆ WER_SUBMIT_NO_QUEUE

#define WER_SUBMIT_NO_QUEUE   0x0080

Definition at line 49 of file werapi.h.

◆ WER_SUBMIT_OUTOFPROCESS

#define WER_SUBMIT_OUTOFPROCESS   0x0020

Definition at line 47 of file werapi.h.

◆ WER_SUBMIT_OUTOFPROCESS_ASYNC

#define WER_SUBMIT_OUTOFPROCESS_ASYNC   0x0400

Definition at line 52 of file werapi.h.

◆ WER_SUBMIT_QUEUE

#define WER_SUBMIT_QUEUE   0x0004

Definition at line 44 of file werapi.h.

◆ WER_SUBMIT_REPORT_MACHINE_ID

#define WER_SUBMIT_REPORT_MACHINE_ID   0x2000

Definition at line 55 of file werapi.h.

◆ WER_SUBMIT_SHOW_DEBUG

#define WER_SUBMIT_SHOW_DEBUG   0x0008

Definition at line 45 of file werapi.h.

◆ WER_SUBMIT_START_MINIMIZED

#define WER_SUBMIT_START_MINIMIZED   0x0200

Definition at line 51 of file werapi.h.

Typedef Documentation

◆ HREPORT

typedef HANDLE HREPORT

Definition at line 59 of file werapi.h.

◆ PWER_REPORT_INFORMATION

◆ PWER_SUBMIT_RESULT

◆ WER_CONSENT

◆ WER_REGISTER_FILE_TYPE

◆ WER_REPORT_INFORMATION

◆ WER_REPORT_TYPE

◆ WER_SUBMIT_RESULT

Enumeration Type Documentation

◆ _WER_CONSENT

Enumerator
WerConsentNotAsked 
WerConsentApproved 
WerConsentDenied 
WerConsentAlwaysPrompt 
WerConsentMax 

Definition at line 61 of file werapi.h.

62{
enum _WER_CONSENT WER_CONSENT
@ WerConsentMax
Definition: werapi.h:67
@ WerConsentDenied
Definition: werapi.h:65
@ WerConsentApproved
Definition: werapi.h:64
@ WerConsentNotAsked
Definition: werapi.h:63
@ WerConsentAlwaysPrompt
Definition: werapi.h:66

◆ _WER_REGISTER_FILE_TYPE

Enumerator
WerRegFileTypeUserDocument 
WerRegFileTypeOther 
WerRegFileTypeMax 

Definition at line 70 of file werapi.h.

71{
@ WerRegFileTypeUserDocument
Definition: werapi.h:72
@ WerRegFileTypeOther
Definition: werapi.h:73
@ WerRegFileTypeMax
Definition: werapi.h:74
enum _WER_REGISTER_FILE_TYPE WER_REGISTER_FILE_TYPE

◆ _WER_REPORT_TYPE

Enumerator
WerReportNonCritical 
WerReportCritical 
WerReportApplicationCrash 
WerReportApplicationHang 
WerReportKernel 
WerReportInvalid 

Definition at line 90 of file werapi.h.

91{
enum _WER_REPORT_TYPE WER_REPORT_TYPE
@ WerReportApplicationHang
Definition: werapi.h:95
@ WerReportInvalid
Definition: werapi.h:97
@ WerReportKernel
Definition: werapi.h:96
@ WerReportNonCritical
Definition: werapi.h:92
@ WerReportCritical
Definition: werapi.h:93
@ WerReportApplicationCrash
Definition: werapi.h:94

◆ _WER_SUBMIT_RESULT

Enumerator
WerReportQueued 
WerReportUploaded 
WerReportDebug 
WerReportFailed 
WerDisabled 
WerReportCancelled 
WerDisabledQueue 
WerReportAsync 
WerCustomAction 

Definition at line 100 of file werapi.h.

101{
102 WerReportQueued = 1,
@ WerDisabledQueue
Definition: werapi.h:108
@ WerReportUploaded
Definition: werapi.h:103
@ WerReportFailed
Definition: werapi.h:105
@ WerReportDebug
Definition: werapi.h:104
@ WerReportCancelled
Definition: werapi.h:107
@ WerDisabled
Definition: werapi.h:106
@ WerCustomAction
Definition: werapi.h:110
@ WerReportQueued
Definition: werapi.h:102
@ WerReportAsync
Definition: werapi.h:109
enum _WER_SUBMIT_RESULT * PWER_SUBMIT_RESULT
enum _WER_SUBMIT_RESULT WER_SUBMIT_RESULT

Function Documentation

◆ WerAddExcludedApplication()

HRESULT WINAPI WerAddExcludedApplication ( PCWSTR  ,
BOOL   
)

◆ WerRegisterFile()

HRESULT WINAPI WerRegisterFile ( PCWSTR  file,
WER_REGISTER_FILE_TYPE  regfiletype,
DWORD  flags 
)

◆ WerRemoveExcludedApplication()

HRESULT WINAPI WerRemoveExcludedApplication ( PCWSTR  ,
BOOL   
)

◆ WerReportCloseHandle()

HRESULT WINAPI WerReportCloseHandle ( HREPORT  )

◆ WerReportCreate()

HRESULT WINAPI WerReportCreate ( PCWSTR  ,
WER_REPORT_TYPE  ,
PWER_REPORT_INFORMATION  ,
HREPORT  
)

◆ WerReportSetParameter()

HRESULT WINAPI WerReportSetParameter ( HREPORT  ,
DWORD  ,
PCWSTR  ,
PCWSTR   
)

◆ WerReportSubmit()

HRESULT WINAPI WerReportSubmit ( HREPORT  ,
WER_CONSENT  ,
DWORD  ,
PWER_SUBMIT_RESULT   
)