Ported the ReactOS taskmgr written by Brian Palmer.
[wine.git] / programs / taskmgr / column.h
blob7525c7b52c41b03ac47ac0be63aa4de9e093be7a
1 /*
2 * ReactOS Task Manager
4 * column.h
6 * Copyright (C) 1999 - 2001 Brian Palmer <brianp@reactos.org>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #ifndef __COLUMN_H
24 #define __COLUMN_H
26 #define COLUMN_IMAGENAME 0
27 #define COLUMN_PID 1
28 #define COLUMN_USERNAME 2
29 #define COLUMN_SESSIONID 3
30 #define COLUMN_CPUUSAGE 4
31 #define COLUMN_CPUTIME 5
32 #define COLUMN_MEMORYUSAGE 6
33 #define COLUMN_PEAKMEMORYUSAGE 7
34 #define COLUMN_MEMORYUSAGEDELTA 8
35 #define COLUMN_PAGEFAULTS 9
36 #define COLUMN_PAGEFAULTSDELTA 10
37 #define COLUMN_VIRTUALMEMORYSIZE 11
38 #define COLUMN_PAGEDPOOL 12
39 #define COLUMN_NONPAGEDPOOL 13
40 #define COLUMN_BASEPRIORITY 14
41 #define COLUMN_HANDLECOUNT 15
42 #define COLUMN_THREADCOUNT 16
43 #define COLUMN_USEROBJECTS 17
44 #define COLUMN_GDIOBJECTS 18
45 #define COLUMN_IOREADS 19
46 #define COLUMN_IOWRITES 20
47 #define COLUMN_IOOTHER 21
48 #define COLUMN_IOREADBYTES 22
49 #define COLUMN_IOWRITEBYTES 23
50 #define COLUMN_IOOTHERBYTES 24
52 extern UINT ColumnDataHints[25];
54 void ProcessPage_OnViewSelectColumns(void);
55 void AddColumns(void);
56 void SaveColumnSettings(void);
57 void UpdateColumnDataHints(void);
59 #endif /* __COLUMN_H */