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
de5e0cbb
Commit
de5e0cbb
authored
Nov 01, 2010
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Nov 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wer: Add stubs for WerReportCreate + WerReportCloseHandle.
parent
678fbc17
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
2 deletions
+60
-2
main.c
dlls/wer/main.c
+58
-0
wer.spec
dlls/wer/wer.spec
+2
-2
No files found.
dlls/wer/main.c
View file @
de5e0cbb
...
...
@@ -22,6 +22,7 @@
#include "windef.h"
#include "winbase.h"
#include "werapi.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
wer
);
...
...
@@ -69,3 +70,60 @@ HRESULT WINAPI WerRemoveExcludedApplication(PCWSTR exeName, BOOL allUsers)
FIXME
(
"(%s, %d) :stub
\n
"
,
debugstr_w
(
exeName
),
allUsers
);
return
E_NOTIMPL
;
}
/***********************************************************************
* WerReportCloseHandle (wer.@)
*
* Close an error reporting handle and free associated resources
*
* PARAMS
* hreport [i] error reporting handle to close
*
* RETURNS
* Success: S_OK
* Failure: A HRESULT error code
*
*/
HRESULT
WINAPI
WerReportCloseHandle
(
HREPORT
hreport
)
{
FIXME
(
"(%p) :stub
\n
"
,
hreport
);
return
E_NOTIMPL
;
}
/***********************************************************************
* WerReportCreate (wer.@)
*
* Create an error report in memory and return a related HANDLE
*
* PARAMS
* eventtype [i] a name for the event type
* reporttype [i] what type of report should be created
* reportinfo [i] NULL or a ptr to a struct with some detailed information
* phandle [o] ptr, where the resulting handle should be saved
*
* RETURNS
* Success: S_OK
* Failure: A HRESULT error code
*
* NOTES
* The event type must be registered at microsoft. Predefined types are
* "APPCRASH" as the default on Windows, "Crash32" and "Crash64"
*
*/
HRESULT
WINAPI
WerReportCreate
(
PCWSTR
eventtype
,
WER_REPORT_TYPE
reporttype
,
PWER_REPORT_INFORMATION
reportinfo
,
HREPORT
*
phandle
)
{
FIXME
(
"(%s, %d, %p, %p) :stub
\n
"
,
debugstr_w
(
eventtype
),
reporttype
,
reportinfo
,
phandle
);
if
(
reportinfo
)
{
TRACE
(
".wzFriendlyEventName: %s
\n
"
,
debugstr_w
(
reportinfo
->
wzFriendlyEventName
));
TRACE
(
".wzApplicationName: %s
\n
"
,
debugstr_w
(
reportinfo
->
wzApplicationName
));
}
if
(
phandle
)
*
phandle
=
NULL
;
if
(
!
eventtype
||
!
eventtype
[
0
]
||
!
phandle
)
{
return
E_INVALIDARG
;
}
return
E_NOTIMPL
;
}
dlls/wer/wer.spec
View file @
de5e0cbb
...
...
@@ -65,8 +65,8 @@
@ stdcall WerRemoveExcludedApplication(wstr long)
@ stub WerReportAddDump
@ stub WerReportAddFile
@ st
ub WerReportCloseHandle
@ st
ub WerReportCreate
@ st
dcall WerReportCloseHandle(ptr)
@ st
dcall WerReportCreate(wstr long ptr ptr)
@ stub WerReportSetParameter
@ stub WerReportSetUIOption
@ stub WerReportSubmit
...
...
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