Changeset 21387 for trunk/include
- Timestamp:
- Jul 7, 2010, 11:38:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/excpt.h
r21382 r21387 10 10 #define __EXCPT_H__ 11 11 12 #include "winnt.h"12 #include <windows.h> 13 13 14 14 #ifdef __cplusplus … … 41 41 PCONTEXT pContext, PVOID pVoid); 42 42 43 #define GetExceptionCode() (__seh_frame.Pointers.ExceptionRecord->ExceptionCode) 44 #define GetExceptionInformation() (&__seh_frame.Pointers) 43 #define _exception_code() (__seh_frame.Pointers.ExceptionRecord->ExceptionCode) 44 #define _exception_info() (&__seh_frame.Pointers) 45 46 #define GetExceptionCode _exception_code 47 #define GetExceptionInformation _exception_info 45 48 46 49 #define __try \ … … 51 54 if (__seh_frame.state == 0) \ 52 55 { \ 53 __label__ __seh_label_filter; \54 __label__ __seh_label_except; \55 \56 56 /* install exception handler */ \ 57 57 __asm__ ("\n.extern ___seh_handler\n" \ … … 112 112 113 113 #endif /* __EXCPT_H__ */ 114
Note:
See TracChangeset
for help on using the changeset viewer.