mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
Return valid status
svn path=/trunk/; revision=17860
This commit is contained in:
parent
86ce7ba5ab
commit
184ae2cb27
1 changed files with 4 additions and 4 deletions
|
@ -39,10 +39,10 @@ RtlRaiseException(PEXCEPTION_RECORD ExceptionRecord)
|
|||
Context.ContextFlags = CONTEXT_FULL;
|
||||
|
||||
/* Check if we're being debugged (user-mode only) */
|
||||
if (!RtlpCheckForActiveDebugger())
|
||||
if (!RtlpCheckForActiveDebugger(TRUE))
|
||||
{
|
||||
/* Raise an exception immediately */
|
||||
ZwRaiseException(ExceptionRecord, &Context, TRUE);
|
||||
Status = ZwRaiseException(ExceptionRecord, &Context, TRUE);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -55,7 +55,7 @@ RtlRaiseException(PEXCEPTION_RECORD ExceptionRecord)
|
|||
else
|
||||
{
|
||||
/* Continue, go back to previous context */
|
||||
ZwContinue(&Context, FALSE);
|
||||
Status = ZwContinue(&Context, FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -91,7 +91,7 @@ RtlRaiseStatus(NTSTATUS Status)
|
|||
Context.ContextFlags = CONTEXT_FULL;
|
||||
|
||||
/* Check if we're being debugged (user-mode only) */
|
||||
if (!RtlpCheckForActiveDebugger())
|
||||
if (!RtlpCheckForActiveDebugger(TRUE))
|
||||
{
|
||||
/* Raise an exception immediately */
|
||||
ZwRaiseException(&ExceptionRecord, &Context, TRUE);
|
||||
|
|
Loading…
Reference in a new issue