[10370] | 1 | // $Id: exitlist.h,v 1.6 2003-12-30 14:35:51 sandervl Exp $
|
---|
[2643] | 2 | /*
|
---|
| 3 | * Win32 dll exit list invocation orders
|
---|
| 4 | *
|
---|
| 5 | * NOTE: Dlls should try to clean up their mess inside registered
|
---|
| 6 | * LibMain functions (RegisterLxDll) instead of exitlist handlers.
|
---|
| 7 | *
|
---|
| 8 | * Copyright 2000 Sander van Leeuwen
|
---|
| 9 | *
|
---|
| 10 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
| 11 | */
|
---|
| 12 |
|
---|
| 13 | #ifndef __EXITLIST_H__
|
---|
| 14 | #define __EXITLIST_H__
|
---|
| 15 |
|
---|
| 16 | //Order of application dlls (i.e. Opera)
|
---|
| 17 | #define EXITLIST_APPDLL 0x00007000
|
---|
| 18 | #define EXITLIST_APPDLL_LVL2 0x00007100
|
---|
| 19 | #define EXITLIST_APPDLL_LVL3 0x00007200
|
---|
| 20 | #define EXITLIST_APPDLL_LVL4 0x00007300
|
---|
| 21 | #define EXITLIST_APPDLL_LVL5 0x00007400
|
---|
| 22 | #define EXITLIST_APPDLL_LVL6 0x00007500
|
---|
| 23 | #define EXITLIST_APPDLL_LVL7 0x00007600
|
---|
| 24 | #define EXITLIST_APPDLL_LVL8 0x00007700
|
---|
| 25 |
|
---|
| 26 | //Order of dlls that are not part of the win32 core (example: glut & opengl)
|
---|
| 27 | #define EXITLIST_NONCOREDLL 0x00008000
|
---|
| 28 | #define EXITLIST_NONCOREDLL_LVL2 0x00008100
|
---|
| 29 | #define EXITLIST_NONCOREDLL_LVL3 0x00008200
|
---|
| 30 | #define EXITLIST_NONCOREDLL_LVL4 0x00008300
|
---|
| 31 | #define EXITLIST_NONCOREDLL_LVL5 0x00008400
|
---|
| 32 | #define EXITLIST_NONCOREDLL_LVL6 0x00008500
|
---|
| 33 | #define EXITLIST_NONCOREDLL_LVL7 0x00008600
|
---|
| 34 | #define EXITLIST_NONCOREDLL_LVL8 0x00008700
|
---|
| 35 |
|
---|
| 36 | //Order of non-critical system dlls (i.e. comctl32 & comdlg32)
|
---|
| 37 | #define EXITLIST_NONCRITDLL 0x00009000
|
---|
| 38 |
|
---|
| 39 | //Order of USER32 & GDI32
|
---|
[10370] | 40 | #define EXITLIST_USER32 0x00009A00
|
---|
| 41 | #define EXITLIST_GDI32 0x00009B00
|
---|
[2643] | 42 |
|
---|
| 43 | //Order of Kernel32
|
---|
[10370] | 44 | #define EXITLIST_KERNEL32 0x00009C00
|
---|
[2643] | 45 |
|
---|
[4871] | 46 | //Order of WGSS50
|
---|
[10370] | 47 | #define EXITLIST_WGSS50 0x00009D00
|
---|
[4871] | 48 |
|
---|
[2643] | 49 | //Order of odincrt.dll (should always be invoked last!)
|
---|
[10370] | 50 | #define EXITLIST_ODINCRT 0x00009E00
|
---|
| 51 | #define EXITLIST_ODINPROF 0x00009E00
|
---|
[2643] | 52 |
|
---|
[10370] | 53 | #define EXITLIST_FT2LIB 0x00009F00
|
---|
| 54 |
|
---|
[9969] | 55 | #endif //__EXITLIST_H__
|
---|