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
504931d8
Commit
504931d8
authored
Sep 25, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Sep 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wer: Add stub for WerReportAddDump.
parent
3373e1e5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
65 additions
and
1 deletion
+65
-1
main.c
dlls/wer/main.c
+29
-0
wer.spec
dlls/wer/wer.spec
+1
-1
werapi.h
include/werapi.h
+35
-0
No files found.
dlls/wer/main.c
View file @
504931d8
...
@@ -170,6 +170,35 @@ HRESULT WINAPI WerRemoveExcludedApplication(PCWSTR exeName, BOOL allUsers)
...
@@ -170,6 +170,35 @@ HRESULT WINAPI WerRemoveExcludedApplication(PCWSTR exeName, BOOL allUsers)
}
}
/***********************************************************************
/***********************************************************************
* WerReportAddDump (wer.@)
*
* Add a dump of dumpType to hReportHandle.
*
* PARAMS
* hReportHandle [i] error reporting handle to add the dump
* hProcess [i] handle to the regarding process
* hThread [o] handle to the regarding thread
* dumpType [i] type of the dump
* pExceptionParam [o] pointer to a WER_EXCEPTION_INFORMATION
* pDumpCustomOptions [o] pointer to a WER_DUMP_CUSTOM_OPTIONS
* dwFlags [i] flag to control the heap dump
*
* RETURNS
* Success: S_OK
* Failure: A HRESULT error code
*
*/
HRESULT
WINAPI
WerReportAddDump
(
HREPORT
hReportHandle
,
HANDLE
hProcess
,
HANDLE
hThread
,
WER_DUMP_TYPE
dumpType
,
PWER_EXCEPTION_INFORMATION
pExceptionParam
,
PWER_DUMP_CUSTOM_OPTIONS
pDumpCustomOptions
,
DWORD
dwFlags
)
{
FIXME
(
"(%p, %p, %p, %d, %p, %p, %u) :stub
\n
"
,
hReportHandle
,
hProcess
,
hThread
,
dumpType
,
pExceptionParam
,
pDumpCustomOptions
,
dwFlags
);
return
E_NOTIMPL
;
}
/***********************************************************************
* WerReportCloseHandle (wer.@)
* WerReportCloseHandle (wer.@)
*
*
* Close an error reporting handle and free associated resources
* Close an error reporting handle and free associated resources
...
...
dlls/wer/wer.spec
View file @
504931d8
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
@ stub WerpSvcReportFromMachineQueue
@ stub WerpSvcReportFromMachineQueue
@ stdcall WerAddExcludedApplication(wstr long)
@ stdcall WerAddExcludedApplication(wstr long)
@ stdcall WerRemoveExcludedApplication(wstr long)
@ stdcall WerRemoveExcludedApplication(wstr long)
@ st
ub WerReportAddDump
@ st
dcall WerReportAddDump(ptr ptr ptr long ptr ptr long)
@ stub WerReportAddFile
@ stub WerReportAddFile
@ stdcall WerReportCloseHandle(ptr)
@ stdcall WerReportCloseHandle(ptr)
@ stdcall WerReportCreate(wstr long ptr ptr)
@ stdcall WerReportCreate(wstr long ptr ptr)
...
...
include/werapi.h
View file @
504931d8
...
@@ -54,6 +54,9 @@ extern "C" {
...
@@ -54,6 +54,9 @@ extern "C" {
#define WER_SUBMIT_ARCHIVE_PARAMETERS_ONLY 0x1000
#define WER_SUBMIT_ARCHIVE_PARAMETERS_ONLY 0x1000
#define WER_SUBMIT_REPORT_MACHINE_ID 0x2000
#define WER_SUBMIT_REPORT_MACHINE_ID 0x2000
#define WER_MAX_PREFERRED_MODULES 128
#define WER_MAX_PREFERRED_MODULES_BUFFER 256
/* #### */
/* #### */
typedef
HANDLE
HREPORT
;
typedef
HANDLE
HREPORT
;
...
@@ -110,6 +113,38 @@ typedef enum _WER_SUBMIT_RESULT
...
@@ -110,6 +113,38 @@ typedef enum _WER_SUBMIT_RESULT
WerCustomAction
WerCustomAction
}
WER_SUBMIT_RESULT
,
*
PWER_SUBMIT_RESULT
;
}
WER_SUBMIT_RESULT
,
*
PWER_SUBMIT_RESULT
;
typedef
enum
_WER_DUMP_TYPE
{
WerDumpTypeMicroDump
=
1
,
WerDumpTypeMiniDump
,
WerDumpTypeHeapDump
,
WerDumpTypeMax
}
WER_DUMP_TYPE
;
/* #### */
typedef
struct
_WER_DUMP_CUSTOM_OPTIONS
{
DWORD
dwSize
;
DWORD
dwMask
;
DWORD
dwDumpFlags
;
BOOL
bOnlyThisThread
;
DWORD
dwExceptionThreadFlags
;
DWORD
dwOtherThreadFlags
;
DWORD
dwExceptionThreadExFlags
;
DWORD
dwOtherThreadExFlags
;
DWORD
dwPreferredModuleFlags
;
DWORD
dwOtherModuleFlags
;
WCHAR
wzPreferredModuleList
[
WER_MAX_PREFERRED_MODULES_BUFFER
];
}
WER_DUMP_CUSTOM_OPTIONS
,
*
PWER_DUMP_CUSTOM_OPTIONS
;
typedef
struct
_WER_EXCEPTION_INFORMATION
{
PEXCEPTION_POINTERS
pExceptionPointers
;
BOOL
bClientPointers
;
}
WER_EXCEPTION_INFORMATION
,
*
PWER_EXCEPTION_INFORMATION
;
/* #### */
/* #### */
HRESULT
WINAPI
WerAddExcludedApplication
(
PCWSTR
,
BOOL
);
HRESULT
WINAPI
WerAddExcludedApplication
(
PCWSTR
,
BOOL
);
...
...
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