c语言 任务管理器 实现代码
部分代码 struct { INT Format; INT Width; } ColumnDefaults[NUM_COLUMN] = { { LVCFMT_LEFT, 0x6B }, // COL_IMAGENAME { LVCFMT_RIGHT, 50 }, // COL_PID //#ifdef _HYDRA_ { LVCFMT_LEFT, 0x6B }, // COL_USERNAME { LVCFMT_RIGHT, 70 }, // COL_SESSIONID //#endif { LVCFMT_RIGHT, 35}, // COL_CPU { LVCFMT_RIGHT, 70 }, // COL_CPUTIME { LVCFMT_RIGHT, 70 }, // COL_MEMUSAGE { LVCFMT_RIGHT, 100 }, // COL_MEMPEAK { LVCFMT_RIG HT, 70 }, // COL_MEMUSAGEDIFF { LVCFMT_RIGHT, 70 }, // COL_PAGEFAULTS { LVCFMT_RIGHT, 70 }, // COL_PAGEFAULTSDIFF { LVCFMT_RIGHT, 70 }, // COL_COMMITCHARGE { LVCFMT_RIGHT, 70 }, // COL_PAGEDPOOL { LVCFMT_RIGHT, 70 }, // COL_NONPAGEDPOOL { LVCFMT_RIGHT, 60 }, // COL_BASEPRIORITY { LVCFMT_RIGHT, 60 }, // COL_HANDLECOUNT { LVCFMT_RIGHT, 60 }, // COL_THREADCOUNT { LVCFMT_RIGHT, 60 }, // COL_USEROBJECTS { LVCFMT_RIGHT, 60 }, // COL_GDIOBJECTS { LVCFMT_RIGHT, 70 }, // COL_READOPERCOUNT { LVCFMT_RIGHT, 70 }, // COL_WRITEOPERCOUNT { LVCFMT_RIGHT, 70 }, // COL_OTHEROPERCOUNT { LVCFMT_RIGHT, 70 }, // COL_READXFERCOUNT { LVCFMT_RIGHT, 70 }, // COL_WRITEXFERCOUNT { LVCFMT_RIGHT, 70 } // COL_OTHERXFERCOUNT };
文件列表
任务管理器.rar
(预估有个50文件)
[ch]taskmgr
Release
taskmgr.exe
132KB
taskmgr.cpp
73KB
Page.cpp
84B
PerfPage.cpp
53KB
ProcInfo.cpp
34KB
ptrarray.h
4KB
ptrarray.cpp
6KB
TaskPage.h
6KB
用户评论