New file msvcrt/excpt.h. Move some stuff out of winnt.h into it.

This commit is contained in:
Peter Hunnisett 2002-02-25 20:10:35 +00:00 committed by Alexandre Julliard
parent d0a06ec7a5
commit 73ab649ced
23 changed files with 46 additions and 18 deletions

View File

@ -18,6 +18,7 @@
#include "wine/exception.h"
#include "debugger.h"
#include "expr.h"
#include "msvcrt/excpt.h"
extern FILE * yyin;

View File

@ -16,6 +16,7 @@
#include "wincon.h"
#include "wingdi.h"
#include "winuser.h"
#include "msvcrt/excpt.h"
#include "winreg.h"

View File

@ -16,6 +16,7 @@
#include "msvcrt.h"
#include "msvcrt/setjmp.h"
#include "msvcrt/excpt.h"
#include "wine/debug.h"

View File

@ -16,6 +16,7 @@
#include "winnt.h"
#include "ntddk.h"
#include "wtypes.h"
#include "msvcrt/excpt.h"
DECLARE_DEBUG_CHANNEL(tid);

View File

@ -18,6 +18,7 @@
#include "miscemu.h"
#include "wine/server.h"
#include "debugtools.h"
#include "msvcrt/excpt.h"
DEFAULT_DEBUG_CHANNEL(seh);

View File

@ -21,6 +21,7 @@
#include "ntddk.h"
#include "winreg.h"
#include "ntdll_misc.h"
#include "msvcrt/excpt.h"
DEFAULT_DEBUG_CHANNEL(ntdll);

View File

@ -17,6 +17,7 @@
#include "wine_gl.h"
#include "x11drv.h"
#include "x11font.h"
#include "msvcrt/excpt.h"
#include "wgl.h"
#include "opengl_ext.h"

View File

@ -22,6 +22,8 @@
#include "wine/winbase16.h"
#include "wine/winuser16.h"
#include "msvcrt/excpt.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(resource);

View File

@ -34,6 +34,7 @@
#include "dosvm.h"
#include "stackframe.h"
#include "debugtools.h"
#include "msvcrt/excpt.h"
DEFAULT_DEBUG_CHANNEL(int);
DECLARE_DEBUG_CHANNEL(module);

View File

@ -35,6 +35,7 @@
#include "ntddk.h"
#include "options.h"
#include "wine/server.h"
#include "msvcrt/excpt.h"
#include "debugtools.h"

View File

@ -58,6 +58,7 @@ INSTALLED_INCLUDES = \
msvcrt/direct.h \
msvcrt/dos.h \
msvcrt/eh.h \
msvcrt/excpt.h \
msvcrt/fcntl.h \
msvcrt/io.h \
msvcrt/locale.h \

24
include/msvcrt/excpt.h Normal file
View File

@ -0,0 +1,24 @@
#ifndef __WINE_EXCPT_H
#define __WINE_EXCPT_H
/*
* Return values from the actual exception handlers
*/
typedef enum _EXCEPTION_DISPOSITION
{
ExceptionContinueExecution,
ExceptionContinueSearch,
ExceptionNestedException,
ExceptionCollidedUnwind
} EXCEPTION_DISPOSITION;
/*
* Return values from filters in except() and from UnhandledExceptionFilter
*/
#define EXCEPTION_EXECUTE_HANDLER 1
#define EXCEPTION_CONTINUE_SEARCH 0
#define EXCEPTION_CONTINUE_EXECUTION -1
#endif /* __WINE_EXCPT_H */

View File

@ -10,7 +10,7 @@
#else /* RC_INVOKED && !NOWINRES */
/* All the basic includes */
/* #include "excpt.h" */
#include "msvcrt/excpt.h"
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"

View File

@ -2219,23 +2219,6 @@ __DEFINE_SET_SEG(gs)
#define MAXIMUM_SUSPEND_COUNT 127
/*
* Return values from the actual exception handlers
*/
#define ExceptionContinueExecution 0
#define ExceptionContinueSearch 1
#define ExceptionNestedException 2
#define ExceptionCollidedUnwind 3
/*
* Return values from filters in except() and from UnhandledExceptionFilter
*/
#define EXCEPTION_EXECUTE_HANDLER 1
#define EXCEPTION_CONTINUE_SEARCH 0
#define EXCEPTION_CONTINUE_EXECUTION -1
/*
* From OS/2 2.0 exception handling
* Win32 seems to use the same flags as ExceptionFlags in an EXCEPTION_RECORD

View File

@ -23,6 +23,7 @@
#include "debugtools.h"
#include "winerror.h"
#include "winnls.h"
#include "msvcrt/excpt.h"
DEFAULT_DEBUG_CHANNEL(resource);

View File

@ -25,6 +25,7 @@
#include "module.h"
#include "debugtools.h"
#include "winerror.h"
#include "msvcrt/excpt.h"
DEFAULT_DEBUG_CHANNEL(global);

View File

@ -15,6 +15,7 @@
#include "wine/unicode.h"
#include "winerror.h"
#include "winnls.h"
#include "msvcrt/excpt.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(string);

View File

@ -30,6 +30,7 @@
#include "file.h"
#include "global.h"
#include "wine/server.h"
#include "msvcrt/excpt.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(virtual);

View File

@ -15,6 +15,7 @@
#include "stackframe.h"
#include "debugtools.h"
#include "wine/exception.h"
#include "msvcrt/excpt.h"
DEFAULT_DEBUG_CHANNEL(snoop);

View File

@ -29,6 +29,7 @@
#include "wine/exception.h"
#include "debugtools.h"
#include "options.h"
#include "msvcrt/excpt.h"
DEFAULT_DEBUG_CHANNEL(console);

View File

@ -33,6 +33,7 @@
#include "stackframe.h"
#include "wine/server.h"
#include "debugtools.h"
#include "msvcrt/excpt.h"
DEFAULT_DEBUG_CHANNEL(seh);

View File

@ -14,6 +14,7 @@
#include "winbase.h"
#include "winerror.h"
#include "wine/exception.h"
#include "msvcrt/excpt.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(win32);

View File

@ -46,6 +46,7 @@
#include "input.h"
#include "message.h"
#include "winerror.h"
#include "msvcrt/excpt.h"
DECLARE_DEBUG_CHANNEL(cursor);
DECLARE_DEBUG_CHANNEL(icon);