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
36e7fd09
Commit
36e7fd09
authored
Jul 25, 2012
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Jul 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wer: Add a stub for WerReportAddFile.
parent
169533de
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
1 deletion
+35
-1
main.c
dlls/wer/main.c
+23
-0
wer.spec
dlls/wer/wer.spec
+1
-1
werapi.h
include/werapi.h
+11
-0
No files found.
dlls/wer/main.c
View file @
36e7fd09
...
...
@@ -199,6 +199,29 @@ HRESULT WINAPI WerReportAddDump(HREPORT hReportHandle, HANDLE hProcess, HANDLE h
}
/***********************************************************************
* WerReportAddFile (wer.@)
*
* Add File to a error report handle.
*
* PARAMS
* hreport [i] error reporting handle to add the file
* path [i] path to the file to add
* type [i] type of the file to add
* flags [i] flags for the file
*
* RETURNS
* Success: S_OK
* Failure: A HRESULT error code
*
*/
HRESULT
WINAPI
WerReportAddFile
(
HREPORT
hreport
,
PCWSTR
path
,
WER_FILE_TYPE
type
,
DWORD
flags
)
{
FIXME
(
"(%p, %s, %d, 0x%x) :stub
\n
"
,
hreport
,
debugstr_w
(
path
),
type
,
flags
);
return
S_OK
;
}
/***********************************************************************
* WerReportCloseHandle (wer.@)
*
* Close an error reporting handle and free associated resources
...
...
dlls/wer/wer.spec
View file @
36e7fd09
...
...
@@ -64,7 +64,7 @@
@ stdcall WerAddExcludedApplication(wstr long)
@ stdcall WerRemoveExcludedApplication(wstr long)
@ stdcall WerReportAddDump(ptr ptr ptr long ptr ptr long)
@ st
ub WerReportAddFile
@ st
dcall WerReportAddFile(ptr wstr long long)
@ stdcall WerReportCloseHandle(ptr)
@ stdcall WerReportCreate(wstr long ptr ptr)
@ stdcall WerReportSetParameter(ptr long wstr wstr)
...
...
include/werapi.h
View file @
36e7fd09
...
...
@@ -70,6 +70,16 @@ typedef enum _WER_CONSENT
WerConsentMax
}
WER_CONSENT
;
typedef
enum
_WER_FILE_TYPE
{
WerFileTypeMicrodump
=
1
,
WerFileTypeMinidump
,
WerFileTypeHeapdump
,
WerFileTypeUserDocument
,
WerFileTypeOther
,
WerFileTypeMax
}
WER_FILE_TYPE
;
typedef
enum
_WER_REGISTER_FILE_TYPE
{
WerRegFileTypeUserDocument
=
1
,
...
...
@@ -166,6 +176,7 @@ typedef struct _WER_EXCEPTION_INFORMATION
HRESULT
WINAPI
WerAddExcludedApplication
(
PCWSTR
,
BOOL
);
HRESULT
WINAPI
WerRegisterFile
(
PCWSTR
file
,
WER_REGISTER_FILE_TYPE
regfiletype
,
DWORD
flags
);
HRESULT
WINAPI
WerRemoveExcludedApplication
(
PCWSTR
,
BOOL
);
HRESULT
WINAPI
WerReportAddFile
(
HREPORT
,
PCWSTR
,
WER_FILE_TYPE
,
DWORD
);
HRESULT
WINAPI
WerReportCloseHandle
(
HREPORT
);
HRESULT
WINAPI
WerReportCreate
(
PCWSTR
,
WER_REPORT_TYPE
,
PWER_REPORT_INFORMATION
,
HREPORT
*
);
HRESULT
WINAPI
WerReportSetParameter
(
HREPORT
,
DWORD
,
PCWSTR
,
PCWSTR
);
...
...
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