Alexandre Julliard | e2abbb1 | 1995-03-19 17:39:39 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Instance data declaration |
| 3 | * |
| 4 | * Copyright 1995 Alexandre Julliard |
| 5 | */ |
| 6 | |
| 7 | #ifndef __WINE_INSTANCE_H |
| 8 | #define __WINE_INSTANCE_H |
| 9 | |
Jim Aston | 2e1cafa | 1999-03-14 16:35:05 +0000 | [diff] [blame] | 10 | #include "windef.h" |
Alexandre Julliard | e2abbb1 | 1995-03-19 17:39:39 +0000 | [diff] [blame] | 11 | |
| 12 | /* This structure is always located at offset 0 of the DGROUP segment */ |
| 13 | |
| 14 | typedef struct |
| 15 | { |
| 16 | WORD null; /* Always 0 */ |
Alexandre Julliard | d37eb36 | 1997-07-20 16:23:21 +0000 | [diff] [blame] | 17 | DWORD old_ss_sp WINE_PACKED; /* Stack pointer; used by SwitchTaskTo() */ |
Alexandre Julliard | e2abbb1 | 1995-03-19 17:39:39 +0000 | [diff] [blame] | 18 | WORD heap; /* Pointer to the local heap information (if any) */ |
| 19 | WORD atomtable; /* Pointer to the local atom table (if any) */ |
| 20 | WORD stacktop; /* Top of the stack */ |
| 21 | WORD stackmin; /* Lowest stack address used so far */ |
| 22 | WORD stackbottom; /* Bottom of the stack */ |
| 23 | } INSTANCEDATA; |
| 24 | |
| 25 | #endif /* __WINE_INSTANCE_H */ |