Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d7ed7549
Commit
d7ed7549
authored
Nov 01, 2010
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Nov 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add WerReportSetParameter + WerReportSubmit.
parent
5858af90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
0 deletions
+56
-0
werapi.h
include/werapi.h
+56
-0
No files found.
include/werapi.h
View file @
d7ed7549
...
...
@@ -25,9 +25,48 @@
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
/* #### */
typedef
HANDLE
HREPORT
;
typedef
enum
_WER_CONSENT
{
WerConsentNotAsked
=
1
,
WerConsentApproved
,
WerConsentDenied
,
WerConsentAlwaysPrompt
,
WerConsentMax
}
WER_CONSENT
;
typedef
enum
_WER_REGISTER_FILE_TYPE
{
WerRegFileTypeUserDocument
=
1
,
...
...
@@ -58,11 +97,28 @@ typedef enum _WER_REPORT_TYPE
WerReportInvalid
}
WER_REPORT_TYPE
;
typedef
enum
_WER_SUBMIT_RESULT
{
WerReportQueued
=
1
,
WerReportUploaded
,
WerReportDebug
,
WerReportFailed
,
WerDisabled
,
WerReportCancelled
,
WerDisabledQueue
,
WerReportAsync
,
WerCustomAction
}
WER_SUBMIT_RESULT
,
*
PWER_SUBMIT_RESULT
;
/* #### */
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
);
#ifdef __cplusplus
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment