mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:53:07 +00:00
Translate EXCEPTION_XXX defines into EXCEPTION_DISPOSITION enum values.
svn path=/trunk/; revision=11576
This commit is contained in:
parent
31e89ab427
commit
5a1530f454
1 changed files with 8 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: create.c,v 1.87 2004/07/07 16:32:02 navaraf Exp $
|
/* $Id: create.c,v 1.88 2004/11/07 15:58:41 blight Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* PROJECT: ReactOS system libraries
|
||||||
|
@ -305,7 +305,13 @@ _except_handler(EXCEPTION_RECORD *ExceptionRecord,
|
||||||
ExitProcess(ExceptionRecord->ExceptionCode);
|
ExitProcess(ExceptionRecord->ExceptionCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ExceptionDisposition;
|
/* translate EXCEPTION_XXX defines into EXCEPTION_DISPOSITION enum values */
|
||||||
|
if (ExceptionDisposition == EXCEPTION_CONTINUE_EXECUTION)
|
||||||
|
return ExceptionContinueExecution;
|
||||||
|
else if (ExceptionDisposition == EXCEPTION_CONTINUE_SEARCH)
|
||||||
|
return ExceptionContinueSearch;
|
||||||
|
|
||||||
|
return -1; /* unknown return from UnhandledExceptionFilter */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue