1 // Licensed under the Apache License, Version 2.0
2 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4 // All files in the project carrying such notice may not be copied, modified, or distributed
5 // except according to those terms.
6 //! The declarations of the compiler-dependent intrinsics, support functions, and keywords which
7 //! implement the structured exception handling extensions.
8 ENUM!{enum EXCEPTION_DISPOSITION {
9     ExceptionContinueExecution,
10     ExceptionContinueSearch,
11     ExceptionNestedException,
12     ExceptionCollidedUnwind,
13 }}
14 // While there are functions defined here in `excpt.h`, they are actually intrinsics which have
15 // special black magic in the msvc compiler. Thus bindings cannot be provided for them.
16 pub const EXCEPTION_EXECUTE_HANDLER: i32 = 1;
17 pub const EXCEPTION_CONTINUE_SEARCH: i32 = 0;
18 pub const EXCEPTION_CONTINUE_EXECUTION: i32 = -1;
19