mirror of
https://github.com/reactos/reactos.git
synced 2025-02-21 16:04:57 +00:00
[DRWTSN32] Recognize EXCEPTION_WINE_STUB (#2514)
DrWtsn32.exe recognizes several standard exception codes, and prints their names in the crash log. However, EXCEPTION_WINE_STUB is not in this list, and as such it is treated as an unknown error and printed as "--". Having this error code given a name at the start of the crash dump is useful, as it allows me to identify calls to unimplemented issues more readily.
This commit is contained in:
parent
21362c8e86
commit
3c48ec9992
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <udmihelp.h>
|
||||
#include <winreg.h>
|
||||
#include <reactos/buildno.h>
|
||||
#include <reactos/stubs.h>
|
||||
|
||||
static const char* Exception2Str(DWORD code)
|
||||
{
|
||||
|
@ -36,6 +37,7 @@ static const char* Exception2Str(DWORD code)
|
|||
case EXCEPTION_INVALID_DISPOSITION: return "EXCEPTION_INVALID_DISPOSITION";
|
||||
case EXCEPTION_GUARD_PAGE: return "EXCEPTION_GUARD_PAGE";
|
||||
case EXCEPTION_INVALID_HANDLE: return "EXCEPTION_INVALID_HANDLE";
|
||||
case EXCEPTION_WINE_STUB: return "EXCEPTION_WINE_STUB";
|
||||
}
|
||||
|
||||
return "--";
|
||||
|
|
Loading…
Reference in a new issue