wer: Add stub for WerReportAddDump.
This commit is contained in:
parent
3373e1e587
commit
504931d861
|
@ -169,6 +169,35 @@ HRESULT WINAPI WerRemoveExcludedApplication(PCWSTR exeName, BOOL allUsers)
|
||||||
return E_ACCESSDENIED;
|
return E_ACCESSDENIED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* 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.@)
|
||||||
*
|
*
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
@ stub WerpSvcReportFromMachineQueue
|
@ stub WerpSvcReportFromMachineQueue
|
||||||
@ stdcall WerAddExcludedApplication(wstr long)
|
@ stdcall WerAddExcludedApplication(wstr long)
|
||||||
@ stdcall WerRemoveExcludedApplication(wstr long)
|
@ stdcall WerRemoveExcludedApplication(wstr long)
|
||||||
@ stub WerReportAddDump
|
@ stdcall 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)
|
||||||
|
|
|
@ -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
|
||||||
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);
|
||||||
|
|
Loading…
Reference in New Issue