VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/msvcrt/eh.h@ 19678

Last change on this file since 19678 was 19678, checked in by vboxsync, 16 years ago

opengl: update wine to 1.1.21, add d3d9.dll to build list

  • Property svn:eol-style set to native
File size: 2.1 KB
Line 
1/*
2 * C++ exception handling facility
3 *
4 * Copyright 2000 Francois Gouget.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20/*
21 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
22 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
23 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
24 * a choice of LGPL license versions is made available with the language indicating
25 * that LGPLv2 or any later version may be used, or where a choice of which version
26 * of the LGPL is applied is otherwise unspecified.
27 */
28
29#ifndef __WINE_EH_H
30#define __WINE_EH_H
31
32#include <crtdefs.h>
33
34#if !defined(__cplusplus) && !defined(__WINE_MSVCRT_TEST)
35#error "eh.h is meant only for C++ applications"
36#endif
37
38#include <pshpack8.h>
39
40struct _EXCEPTION_POINTERS;
41
42typedef void (__cdecl *terminate_handler)(void);
43typedef void (__cdecl *terminate_function)(void);
44typedef void (__cdecl *unexpected_handler)(void);
45typedef void (__cdecl *unexpected_function)(void);
46typedef void (__cdecl *_se_translator_function)(unsigned int code, struct _EXCEPTION_POINTERS *info);
47
48terminate_function __cdecl set_terminate(terminate_function func);
49unexpected_function __cdecl set_unexpected(unexpected_function func);
50_se_translator_function __cdecl set_se_translator(_se_translator_function func);
51
52void __cdecl terminate(void);
53void __cdecl unexpected(void);
54
55#include <poppack.h>
56
57#endif /* __WINE_EH_H */
Note: See TracBrowser for help on using the repository browser.

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