| 1 | /*
|
|---|
| 2 | * Copyright (C) 2002 Peter Hunnisett
|
|---|
| 3 | *
|
|---|
| 4 | * This library is free software; you can redistribute it and/or
|
|---|
| 5 | * modify it under the terms of the GNU Lesser General Public
|
|---|
| 6 | * License as published by the Free Software Foundation; either
|
|---|
| 7 | * version 2.1 of the License, or (at your option) any later version.
|
|---|
| 8 | *
|
|---|
| 9 | * This library is distributed in the hope that it will be useful,
|
|---|
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|---|
| 12 | * Lesser General Public License for more details.
|
|---|
| 13 | *
|
|---|
| 14 | * You should have received a copy of the GNU Lesser General Public
|
|---|
| 15 | * License along with this library; if not, write to the Free Software
|
|---|
| 16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|---|
| 17 | */
|
|---|
| 18 |
|
|---|
| 19 | #ifndef __WINE_EXCPT_H
|
|---|
| 20 | #define __WINE_EXCPT_H
|
|---|
| 21 |
|
|---|
| 22 | /*
|
|---|
| 23 | * Return values from the actual exception handlers
|
|---|
| 24 | */
|
|---|
| 25 |
|
|---|
| 26 | #undef ExceptionContinueExecution
|
|---|
| 27 | #undef ExceptionContinueSearch
|
|---|
| 28 | #undef ExceptionNestedException
|
|---|
| 29 | #undef ExceptionCollidedUnwind
|
|---|
| 30 |
|
|---|
| 31 | typedef enum _EXCEPTION_DISPOSITION
|
|---|
| 32 | {
|
|---|
| 33 | ExceptionContinueExecution,
|
|---|
| 34 | ExceptionContinueSearch,
|
|---|
| 35 | ExceptionNestedException,
|
|---|
| 36 | ExceptionCollidedUnwind
|
|---|
| 37 | } EXCEPTION_DISPOSITION;
|
|---|
| 38 |
|
|---|
| 39 | /*
|
|---|
| 40 | * Return values from filters in except() and from UnhandledExceptionFilter
|
|---|
| 41 | */
|
|---|
| 42 | #define EXCEPTION_EXECUTE_HANDLER 1
|
|---|
| 43 | #define EXCEPTION_CONTINUE_SEARCH 0
|
|---|
| 44 | #define EXCEPTION_CONTINUE_EXECUTION -1
|
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 | #endif /* __WINE_EXCPT_H */
|
|---|