|
Last change
on this file since 2004 was 955, checked in by sandervl, 26 years ago |
|
Backup copy of old kernel32
|
|
File size:
762 bytes
|
| Line | |
|---|
| 1 | /* $Id: exceptutil.h,v 1.1 1999-09-15 23:32:54 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
|
|---|
| 12 | extern "C" {
|
|---|
| 13 | #endif
|
|---|
| 14 |
|
|---|
| 15 | //SvL: Replace original startup code exception handler
|
|---|
| 16 | #ifndef WIN32_TIBSEL
|
|---|
| 17 | void ReplaceExceptionHandler(void);
|
|---|
| 18 | void ChangeTIBStack();
|
|---|
| 19 | #endif
|
|---|
| 20 | void __cdecl SetExceptionChain(DWORD);
|
|---|
| 21 |
|
|---|
| 22 | void DisableFPUExceptions();
|
|---|
| 23 | ULONG GetDllEntryPoint();
|
|---|
| 24 |
|
|---|
| 25 | void OS2SetExceptionHandler(void *exceptframe);
|
|---|
| 26 | void OS2UnsetExceptionHandler(void *exceptframe);
|
|---|
| 27 | void SetOS2ExceptionChain(ULONG val);
|
|---|
| 28 |
|
|---|
| 29 | ULONG getEAX();
|
|---|
| 30 | ULONG getEBX();
|
|---|
| 31 | USHORT getSS();
|
|---|
| 32 |
|
|---|
| 33 | #ifdef __cplusplus
|
|---|
| 34 | }
|
|---|
| 35 | #endif
|
|---|
| 36 |
|
|---|
| 37 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.