source: trunk/include/exitlist.h@ 2643

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

exitlist order defines

File size: 1.6 KB
Line 
1// $Id: exitlist.h,v 1.1 2000-02-05 01:49:05 sandervl Exp $
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
40#define EXITLIST_USER32 0x00009D00
41#define EXITLIST_GDI32 0x00009D00
42
43//Order of Kernel32
44#define EXITLIST_KERNEL32 0x00009E00
45
46//Order of odincrt.dll (should always be invoked last!)
47#define EXITLIST_ODINCRT 0x00009F00
48
49#endif //__EXITLIST_H__
Note: See TracBrowser for help on using the repository browser.