atl100: Added AtlGetPerUserRegistration stub implementation.
[wine] / include / excpt.h
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, 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 typedef enum _EXCEPTION_DISPOSITION
26 {
27   ExceptionContinueExecution,
28   ExceptionContinueSearch,
29   ExceptionNestedException,
30   ExceptionCollidedUnwind
31 } EXCEPTION_DISPOSITION;
32
33 /*
34  * Return values from filters in except() and from UnhandledExceptionFilter
35  */
36 #define EXCEPTION_EXECUTE_HANDLER        1
37 #define EXCEPTION_CONTINUE_SEARCH        0
38 #define EXCEPTION_CONTINUE_EXECUTION    -1
39
40
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
45
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) */
50
51 #endif /* __WINE_EXCPT_H */