Skip to content

Commit

Permalink
refactor(drv): delete some useless defination.
Browse files Browse the repository at this point in the history
  • Loading branch information
i1tao committed Jul 17, 2024
1 parent 8217a58 commit 0c645cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 65 deletions.
8 changes: 4 additions & 4 deletions imgui.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ Size=550,680
Collapsed=0

[Window][进程(Process)]
Pos=60,60
Pos=62,267
Size=417,192
Collapsed=0

[Window][内核模块(Kernel module)]
Pos=60,60
Pos=46,239
Size=601,192
Collapsed=0

[Window][Commands]
Pos=60,60
Pos=108,198
Size=117,72
Collapsed=0

Expand All @@ -42,5 +42,5 @@ Column 4 Width=45
Column 5 Width=90

[Docking][Data]
DockSpace ID=0x8B93E3BD Window=0xA787BDB4 Pos=472,281 Size=1328,693 CentralNode=1
DockSpace ID=0x8B93E3BD Window=0xA787BDB4 Pos=296,217 Size=1328,693 CentralNode=1

61 changes: 0 additions & 61 deletions src/WinsecArkDrv/ps/process.hpp
Original file line number Diff line number Diff line change
@@ -1,67 +1,6 @@
#pragma once
#include <Veil.h>
#include <ntstrsafe.h>
#if TRUE

//typedef struct _SYSTEM_PROCESS_INFORMATION
//{
// ULONG NextEntryOffset;
// ULONG NumberOfThreads;
// LARGE_INTEGER SpareLi1;
// LARGE_INTEGER SpareLi2;
// LARGE_INTEGER SpareLi3;
// LARGE_INTEGER CreateTime;
// LARGE_INTEGER UserTime;
// LARGE_INTEGER KernelTime;
// UNICODE_STRING ImageName;
// KPRIORITY BasePriority;
// HANDLE UniqueProcessId;
// HANDLE InheritedFromUniqueProcessId;
// ULONG HandleCount;
// ULONG SessionId;
// ULONG_PTR PageDirectoryBase;
// SIZE_T PeakVirtualSize;
// SIZE_T VirtualSize;
// ULONG PageFaultCount;
// SIZE_T PeakWorkingSetSize;
// SIZE_T WorkingSetSize;
// SIZE_T QuotaPeakPagedPoolUsage;
// SIZE_T QuotaPagedPoolUsage;
// SIZE_T QuotaPeakNonPagedPoolUsage;
// SIZE_T QuotaNonPagedPoolUsage;
// SIZE_T PagefileUsage;
// SIZE_T PeakPagefileUsage;
// SIZE_T PrivatePageCount;
// LARGE_INTEGER ReadOperationCount;
// LARGE_INTEGER WriteOperationCount;
// LARGE_INTEGER OtherOperationCount;
// LARGE_INTEGER ReadTransferCount;
// LARGE_INTEGER WriteTransferCount;
// LARGE_INTEGER OtherTransferCount;
//} SYSTEM_PROCESS_INFORMATION, * PSYSTEM_PROCESS_INFORMATION;
//
//extern "C" NTSTATUS NTAPI ZwQuerySystemInformation(
// DWORD32 systemInformationClass,
// PVOID systemInformation,
// ULONG systemInformationLength,
// PULONG returnLength);
//
//
//extern "C" NTKERNELAPI NTSTATUS NTAPI ZwQueryInformationProcess(
// __in HANDLE ProcessHandle,
// __in PROCESSINFOCLASS ProcessInformationClass,
// __out_bcount(ProcessInformationLength) PVOID ProcessInformation,
// __in ULONG ProcessInformationLength,
// __out_opt PULONG ReturnLength
//
//);
//extern "C" NTSTATUS
//NTAPI
//PsTerminateProcess(IN PEPROCESS Process, IN NTSTATUS ExitStatus);
//
//extern "C" NTKERNELAPI NTSTATUS PsSuspendProcess(PEPROCESS proc);
//extern "C" NTKERNELAPI NTSTATUS PsResumeProcess(PEPROCESS proc);
#endif

namespace Ark::Controller::Process
{
Expand Down

0 comments on commit 0c645cb

Please sign in to comment.