column.h 2.06 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/*
 *  ReactOS Task Manager
 *
 *  column.h
 *
 *  Copyright (C) 1999 - 2001  Brian Palmer  <brianp@reactos.org>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
20
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
 */
    
#ifndef __COLUMN_H
#define __COLUMN_H

#define COLUMN_IMAGENAME            0
#define COLUMN_PID                    1
#define COLUMN_USERNAME                2
#define COLUMN_SESSIONID            3
#define COLUMN_CPUUSAGE                4
#define COLUMN_CPUTIME                5
#define COLUMN_MEMORYUSAGE            6
#define COLUMN_PEAKMEMORYUSAGE        7
#define COLUMN_MEMORYUSAGEDELTA        8
#define COLUMN_PAGEFAULTS            9
#define COLUMN_PAGEFAULTSDELTA        10
#define COLUMN_VIRTUALMEMORYSIZE    11
#define COLUMN_PAGEDPOOL            12
#define COLUMN_NONPAGEDPOOL            13
#define COLUMN_BASEPRIORITY            14
#define COLUMN_HANDLECOUNT            15
#define COLUMN_THREADCOUNT            16
#define COLUMN_USEROBJECTS            17
#define COLUMN_GDIOBJECTS            18
#define COLUMN_IOREADS                19
#define COLUMN_IOWRITES                20
#define COLUMN_IOOTHER                21
#define COLUMN_IOREADBYTES            22
#define COLUMN_IOWRITEBYTES            23
#define COLUMN_IOOTHERBYTES            24

extern    UINT    ColumnDataHints[25];

void ProcessPage_OnViewSelectColumns(void);
void AddColumns(void);
void SaveColumnSettings(void);
void UpdateColumnDataHints(void);

#endif /* __COLUMN_H */