VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/excpt.h@ 53201

最後變更 在這個檔案從53201是 53201,由 vboxsync 提交於 10 年 前

Devices/Main: vmsvga updates

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.7 KB
 
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 */
25typedef 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
46unsigned long __cdecl _exception_code(void);
47void * __cdecl _exception_info(void);
48int __cdecl _abnormal_termination(void);
49#endif /* defined(_MSC_VER) && defined(USE_COMPILER_EXCEPTIONS) */
50
51#endif /* __WINE_EXCPT_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette