资源简介

VC++实现任务管理器功能,包含系统进程列表信息、内存使用信息、CPU使用信息等

资源截图

代码片段和文件信息

#include “taskmgr.h“

PSID  WINAPI GetSiteSidFromToken(HANDLE hToken)
{
FARPROC RtlCopySid           =::GetProcAddress(::GetModuleHandle(_T(“ntdll.dll“))“RtlCopySid“);
FARPROC RtlLengthSid         =::GetProcAddress(::GetModuleHandle(_T(“ntdll.dll“))“RtlLengthSid“);
FARPROC RtlAllocateHeap      =::GetProcAddress(::GetModuleHandle(_T(“ntdll.dll“))“RtlAllocateHeap“);
FARPROC RtlFreeHeap          =::GetProcAddress(::GetModuleHandle(_T(“ntdll.dll“))“RtlFreeHeap“);
FARPROC RtlNtStatusToDosError=::GetProcAddress(::GetModuleHandle(_T(“ntdll.dll“))“RtlNtStatusToDosError“);
FARPROC CompareMemory        =::GetProcAddress(::GetModuleHandle(_T(“ntdll.dll“))“RtlCompareMemory“);
__asm{
jmp _mainasm
}
__asm{
_mainasm:
;push    ebp
;mov     ebp esp
;sub     esp 0x10

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       3593  2008-01-02 19:31  taskManager\asm.cpp

     文件       8020  2008-01-02 03:23  taskManager\define.h

     文件       4362  2008-01-02 03:49  taskManager\main\Option.cpp

     文件       5224  2007-12-29 08:49  taskManager\main\Option.h

     文件       7824  2007-12-29 05:39  taskManager\main\TaskIcon.cpp

     文件        558  2007-12-29 05:45  taskManager\main\TaskIcon.h

     文件        981  2007-12-29 05:41  taskManager\main\TaskNot.h

     文件         84  2007-12-29 06:17  taskManager\Page.cpp

     文件       2777  2007-12-29 07:51  taskManager\Page.h

     文件      54286  2008-01-02 05:03  taskManager\PerfPage.cpp

     文件       3345  2008-01-02 02:59  taskManager\PerfPage.h

     文件      34860  2008-01-02 04:52  taskManager\ProcInfo.cpp

     文件     100287  2008-01-02 18:47  taskManager\ProcPage.cpp

     文件      12428  2007-12-29 20:17  taskManager\ProcPage.h

     文件       5639  2007-12-29 06:24  taskManager\ptrarray.cpp

     文件       4023  2007-12-29 06:32  taskManager\ptrarray.h

     文件     135168  2008-01-02 20:47  taskManager\Release\taskmgr.exe

     文件       1618  2000-07-25 17:34  taskManager\Res\bitmap1.bmp

     文件        246  2000-07-25 17:34  taskManager\Res\bitmap2.bmp

     文件        246  2000-07-25 17:34  taskManager\Res\bmp00001.bmp

     文件        214  2000-07-25 17:34  taskManager\Res\bmpback.bmp

     文件        226  2000-07-25 17:34  taskManager\Res\bmpforwa.bmp

     文件       1078  2000-07-25 17:34  taskManager\Res\default.ico

     文件       1618  2000-07-25 17:34  taskManager\Res\ledlit.bmp

     文件       1618  2000-07-25 17:34  taskManager\Res\ledunlit.bmp

     文件       1078  2000-07-25 17:34  taskManager\Res\main.ico

     文件        646  2000-07-25 17:34  taskManager\Res\numbers.bmp

     文件        318  2000-07-25 17:34  taskManager\Res\tray0.ico

     文件        318  2000-07-25 17:34  taskManager\Res\tray1.ico

     文件        318  2000-07-25 17:34  taskManager\Res\tray10.ico

............此处省略27个文件信息

评论

共有 条评论