mirror of
https://github.com/wine-mirror/wine
synced 2024-07-08 20:06:18 +00:00
wer: Add a stub for WerReportAddFile.
This commit is contained in:
parent
169533def2
commit
36e7fd09ee
|
@ -198,6 +198,29 @@ HRESULT WINAPI WerReportAddDump(HREPORT hReportHandle, HANDLE hProcess, HANDLE h
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* 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.@)
|
* WerReportCloseHandle (wer.@)
|
||||||
*
|
*
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
@ stdcall WerAddExcludedApplication(wstr long)
|
@ stdcall WerAddExcludedApplication(wstr long)
|
||||||
@ stdcall WerRemoveExcludedApplication(wstr long)
|
@ stdcall WerRemoveExcludedApplication(wstr long)
|
||||||
@ stdcall WerReportAddDump(ptr ptr ptr long ptr ptr long)
|
@ stdcall WerReportAddDump(ptr ptr ptr long ptr ptr long)
|
||||||
@ stub WerReportAddFile
|
@ stdcall WerReportAddFile(ptr wstr long long)
|
||||||
@ stdcall WerReportCloseHandle(ptr)
|
@ stdcall WerReportCloseHandle(ptr)
|
||||||
@ stdcall WerReportCreate(wstr long ptr ptr)
|
@ stdcall WerReportCreate(wstr long ptr ptr)
|
||||||
@ stdcall WerReportSetParameter(ptr long wstr wstr)
|
@ stdcall WerReportSetParameter(ptr long wstr wstr)
|
||||||
|
|
|
@ -70,6 +70,16 @@ typedef enum _WER_CONSENT
|
||||||
WerConsentMax
|
WerConsentMax
|
||||||
} WER_CONSENT;
|
} WER_CONSENT;
|
||||||
|
|
||||||
|
typedef enum _WER_FILE_TYPE
|
||||||
|
{
|
||||||
|
WerFileTypeMicrodump = 1,
|
||||||
|
WerFileTypeMinidump,
|
||||||
|
WerFileTypeHeapdump,
|
||||||
|
WerFileTypeUserDocument,
|
||||||
|
WerFileTypeOther,
|
||||||
|
WerFileTypeMax
|
||||||
|
} WER_FILE_TYPE;
|
||||||
|
|
||||||
typedef enum _WER_REGISTER_FILE_TYPE
|
typedef enum _WER_REGISTER_FILE_TYPE
|
||||||
{
|
{
|
||||||
WerRegFileTypeUserDocument = 1,
|
WerRegFileTypeUserDocument = 1,
|
||||||
|
@ -166,6 +176,7 @@ typedef struct _WER_EXCEPTION_INFORMATION
|
||||||
HRESULT WINAPI WerAddExcludedApplication(PCWSTR, BOOL);
|
HRESULT WINAPI WerAddExcludedApplication(PCWSTR, BOOL);
|
||||||
HRESULT WINAPI WerRegisterFile(PCWSTR file, WER_REGISTER_FILE_TYPE regfiletype, DWORD flags);
|
HRESULT WINAPI WerRegisterFile(PCWSTR file, WER_REGISTER_FILE_TYPE regfiletype, DWORD flags);
|
||||||
HRESULT WINAPI WerRemoveExcludedApplication(PCWSTR, BOOL);
|
HRESULT WINAPI WerRemoveExcludedApplication(PCWSTR, BOOL);
|
||||||
|
HRESULT WINAPI WerReportAddFile(HREPORT, PCWSTR, WER_FILE_TYPE, DWORD);
|
||||||
HRESULT WINAPI WerReportCloseHandle(HREPORT);
|
HRESULT WINAPI WerReportCloseHandle(HREPORT);
|
||||||
HRESULT WINAPI WerReportCreate(PCWSTR, WER_REPORT_TYPE, PWER_REPORT_INFORMATION, HREPORT*);
|
HRESULT WINAPI WerReportCreate(PCWSTR, WER_REPORT_TYPE, PWER_REPORT_INFORMATION, HREPORT*);
|
||||||
HRESULT WINAPI WerReportSetParameter(HREPORT, DWORD, PCWSTR, PCWSTR);
|
HRESULT WINAPI WerReportSetParameter(HREPORT, DWORD, PCWSTR, PCWSTR);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user