source: trunk/src/kernel32/exceptutil.h@ 2141

Last change on this file since 2141 was 2141, checked in by sandervl, 26 years ago

EB's GetThreadContext update

File size: 899 bytes
Line 
1/* $Id: exceptutil.h,v 1.5 1999-12-19 17:49:38 sandervl Exp $ */
2
3/*
4 * Exception + misc functions for OS/2
5 * Copyright 1998 Sander van Leeuwen
6 * Project Odin Software License can be found in LICENSE.TXT
7 */
8#ifndef __EXCEPT_H__
9#define __EXCEPT_H__
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15//SvL: Replace original startup code exception handler
16#ifndef WIN32_TIBSEL
17void ReplaceExceptionHandler(void);
18void ChangeTIBStack();
19#endif
20void __cdecl SetExceptionChain(DWORD);
21
22extern "C" PVOID QueryExceptionChain();
23
24void DisableFPUExceptions();
25ULONG GetDllEntryPoint();
26
27void OS2SetExceptionHandler(void *exceptframe);
28void OS2UnsetExceptionHandler(void *exceptframe);
29void SetOS2ExceptionChain(ULONG val);
30
31ULONG getEAX();
32ULONG getEBX();
33USHORT getSS();
34USHORT getDS();
35USHORT getCS();
36USHORT getSS();
37USHORT getES();
38USHORT getFS();
39USHORT getGS();
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif
Note: See TracBrowser for help on using the repository browser.