ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

column.h
Go to the documentation of this file.
00001 /*
00002  *  ReactOS Task Manager
00003  *
00004  *  column.h
00005  *
00006  *  Copyright (C) 1999 - 2001  Brian Palmer  <brianp@reactos.org>
00007  *
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 2.1 of the License, or (at your option) any later version.
00012  *
00013  * This library is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with this library; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00021  */
00022 
00023 #pragma once
00024 
00025 #define COLUMN_IMAGENAME            0
00026 #define COLUMN_PID                  1
00027 #define COLUMN_USERNAME             2
00028 #define COLUMN_SESSIONID            3
00029 #define COLUMN_CPUUSAGE             4
00030 #define COLUMN_CPUTIME              5
00031 #define COLUMN_MEMORYUSAGE          6
00032 #define COLUMN_PEAKMEMORYUSAGE      7
00033 #define COLUMN_MEMORYUSAGEDELTA     8
00034 #define COLUMN_PAGEFAULTS           9
00035 #define COLUMN_PAGEFAULTSDELTA      10
00036 #define COLUMN_VIRTUALMEMORYSIZE    11
00037 #define COLUMN_PAGEDPOOL            12
00038 #define COLUMN_NONPAGEDPOOL         13
00039 #define COLUMN_BASEPRIORITY         14
00040 #define COLUMN_HANDLECOUNT          15
00041 #define COLUMN_THREADCOUNT          16
00042 #define COLUMN_USEROBJECTS          17
00043 #define COLUMN_GDIOBJECTS           18
00044 #define COLUMN_IOREADS              19
00045 #define COLUMN_IOWRITES             20
00046 #define COLUMN_IOOTHER              21
00047 #define COLUMN_IOREADBYTES          22
00048 #define COLUMN_IOWRITEBYTES         23
00049 #define COLUMN_IOOTHERBYTES         24
00050 #define COLUMN_NMAX                 25
00051 
00052 /*
00053  * temporary fix:
00054  * Some macro IDS_* have different name from IDC_*
00055  * It would be better to unify thone name one day
00056  */
00057 #define IDS_TAB_CPUUSAGE            IDS_TAB_CPU
00058 #define IDS_TAB_MEMORYUSAGE         IDS_TAB_MEMUSAGE
00059 #define IDS_TAB_PEAKMEMORYUSAGE     IDS_TAB_PEAKMEMUSAGE
00060 #define IDS_TAB_MEMORYUSAGEDELTA    IDS_TAB_MEMDELTA
00061 #define IDS_TAB_PAGEFAULTS          IDS_TAB_PAGEFAULT
00062 #define IDS_TAB_PAGEFAULTSDELTA     IDS_TAB_PFDELTA
00063 #define IDS_TAB_VIRTUALMEMORYSIZE   IDS_TAB_VMSIZE
00064 #define IDS_TAB_NONPAGEDPOOL        IDS_TAB_NPPOOL
00065 #define IDS_TAB_BASEPRIORITY        IDS_TAB_BASEPRI
00066 #define IDS_TAB_HANDLECOUNT         IDS_TAB_HANDLES
00067 #define IDS_TAB_THREADCOUNT         IDS_TAB_THREADS
00068 #define IDS_TAB_USEROBJECTS         IDS_TAB_USERPBJECTS
00069 #define IDS_TAB_IOWRITEBYTES        IDS_TAB_IOWRITESBYTES
00070 
00071 typedef struct {
00072     DWORD   dwIdsName;
00073     DWORD   dwIdcCtrl;
00074     int     size;
00075     BOOL    bDefaults;
00076 } PresetColumnEntry;
00077 
00078 
00079 extern    UINT    ColumnDataHints[COLUMN_NMAX];
00080 extern const PresetColumnEntry ColumnPresets[COLUMN_NMAX];
00081 
00082 #define Column_ImageName            Columns[COLUMN_IMAGENAME]
00083 #define Column_PID                  Columns[COLUMN_PID]
00084 #define Column_CPUUsage             Columns[COLUMN_CPUUSAGE]
00085 #define Column_CPUTime              Columns[COLUMN_CPUTIME]
00086 #define Column_MemoryUsage          Columns[COLUMN_MEMORYUSAGE]
00087 #define Column_MemoryUsageDelta     Columns[COLUMN_MEMORYUSAGEDELTA]
00088 #define Column_PeakMemoryUsage      Columns[COLUMN_PEAKMEMORYUSAGE]
00089 #define Column_PageFaults           Columns[COLUMN_PAGEFAULTS]
00090 #define Column_USERObjects          Columns[COLUMN_USEROBJECTS]
00091 #define Column_IOReads              Columns[COLUMN_IOREADS]
00092 #define Column_IOReadBytes          Columns[COLUMN_IOREADBYTES]
00093 #define Column_SessionID            Columns[COLUMN_SESSIONID]
00094 #define Column_UserName             Columns[COLUMN_USERNAME]
00095 #define Column_PageFaultsDelta      Columns[COLUMN_PAGEFAULTSDELTA]
00096 #define Column_VirtualMemorySize    Columns[COLUMN_VIRTUALMEMORYSIZE]
00097 #define Column_PagedPool            Columns[COLUMN_PAGEDPOOL]
00098 #define Column_NonPagedPool         Columns[COLUMN_NONPAGEDPOOL]
00099 #define Column_BasePriority         Columns[COLUMN_BASEPRIORITY]
00100 #define Column_HandleCount          Columns[COLUMN_HANDLECOUNT]
00101 #define Column_ThreadCount          Columns[COLUMN_THREADCOUNT]
00102 #define Column_GDIObjects           Columns[COLUMN_GDIOBJECTS]
00103 #define Column_IOWrites             Columns[COLUMN_IOWRITES]
00104 #define Column_IOWriteBytes         Columns[COLUMN_IOWRITEBYTES]
00105 #define Column_IOOther              Columns[COLUMN_IOOTHER]
00106 #define Column_IOOtherBytes         Columns[COLUMN_IOOTHERBYTES]
00107 
00108 void ProcessPage_OnViewSelectColumns(void);
00109 void AddColumns(void);
00110 void SaveColumnSettings(void);
00111 void UpdateColumnDataHints(void);

Generated on Sun May 27 2012 04:17:45 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.