mirror-ac/user/um/ummanager.cpp

24 lines
461 B
C++
Raw Normal View History

2023-08-15 14:02:17 +02:00
#include "ummanager.h"
#include "../common.h"
#include "process.h"
2023-08-16 11:28:46 +02:00
#include "../um/imports.h"
2023-08-15 14:02:17 +02:00
#include <TlHelp32.h>
2023-08-16 11:28:46 +02:00
usermode::Manager::Manager( std::string ProcessName )
2023-08-15 14:02:17 +02:00
{
this->process_name = ProcessName;
2023-08-16 11:28:46 +02:00
this->process = std::make_unique<Process>( 4, ProcessName );
}
usermode::Manager::~Manager()
{
}
void usermode::Manager::ValidateProcessThreads()
{
this->process->thread_pool->QueueJob( [ this ]() {this->process->ValidateProcessThreads(); } );
2023-08-15 14:02:17 +02:00
}