shell32: Convert source files to utf-8.
[wine/multimedia.git] / include / excpt.h
blob3369f3b15471e222dfc697fb964dc913740bc3c0
1 /*
2 * Copyright (C) 2002 Peter Hunnisett
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.
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.
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_EXCPT_H
20 #define __WINE_EXCPT_H
23 * Return values from the actual exception handlers
25 typedef enum _EXCEPTION_DISPOSITION
27 ExceptionContinueExecution,
28 ExceptionContinueSearch,
29 ExceptionNestedException,
30 ExceptionCollidedUnwind
31 } EXCEPTION_DISPOSITION;
34 * Return values from filters in except() and from UnhandledExceptionFilter
36 #define EXCEPTION_EXECUTE_HANDLER 1
37 #define EXCEPTION_CONTINUE_SEARCH 0
38 #define EXCEPTION_CONTINUE_EXECUTION -1
41 #if defined(_MSC_VER) && defined(USE_COMPILER_EXCEPTIONS)
42 #define GetExceptionCode _exception_code
43 #define GetExceptionInformation (struct _EXCEPTION_POINTERS *)_exception_info
44 #define AbnormalTermination _abnormal_termination
46 unsigned long __cdecl _exception_code(void);
47 void * __cdecl _exception_info(void);
48 int __cdecl _abnormal_termination(void);
49 #endif /* defined(_MSC_VER) && defined(USE_COMPILER_EXCEPTIONS) */
51 #endif /* __WINE_EXCPT_H */