From f135f18b58cd6e7d6704a437c183df9806fb1d25 Mon Sep 17 00:00:00 2001 From: Austin English Date: Sun, 4 Mar 2012 14:41:18 -0800 Subject: [PATCH] kernel32: Add a stub for WerRegisterRuntimeExceptionModule. --- dlls/kernel32/kernel32.spec | 1 + dlls/kernel32/wer.c | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index e6baa38b84b..d93315531ea 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -1244,6 +1244,7 @@ @ stdcall WaitNamedPipeA (str long) @ stdcall WaitNamedPipeW (wstr long) @ stdcall WerRegisterFile(wstr long long) +@ stdcall WerRegisterRuntimeExceptionModule(wstr ptr) @ stdcall WideCharToMultiByte(long long wstr long ptr long ptr ptr) @ stdcall WinExec(str long) @ stdcall Wow64EnableWow64FsRedirection(long) diff --git a/dlls/kernel32/wer.c b/dlls/kernel32/wer.c index d5e27b6ee7a..a131ad049f5 100644 --- a/dlls/kernel32/wer.c +++ b/dlls/kernel32/wer.c @@ -39,3 +39,15 @@ HRESULT WINAPI WerRegisterFile(PCWSTR file, WER_REGISTER_FILE_TYPE regfiletype, FIXME("(%s, %d, %d) stub!\n", debugstr_w(file), regfiletype, flags); return E_NOTIMPL; } + +/*********************************************************************** + * WerRegisterRuntimeExceptionModule (KERNEL32.@) + * + * Register a custom runtime exception handler. + */ + +HRESULT WINAPI WerRegisterRuntimeExceptionModule(PCWSTR callbackdll, PVOID context) +{ + FIXME("(%s, %p) stub!\n", debugstr_w(callbackdll), context); + return S_OK; +}