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
{
else
{
/* Continue, go back to previous context */
- ZwContinue(&Context, FALSE);
+ Status = ZwContinue(&Context, FALSE);
}
}
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);