#include "kmanager.h" kernelmode::KManager::KManager( LPCWSTR DriverName, std::shared_ptr ThreadPool, std::shared_ptr ReportInterface) { this->driver_interface = std::make_unique(DriverName, ReportInterface); this->thread_pool = ThreadPool; } void kernelmode::KManager::RunNmiCallbacks() { this->thread_pool->QueueJob( [ this ]() { this->driver_interface->RunNmiCallbacks(); } ); } void kernelmode::KManager::VerifySystemModules() { this->thread_pool->QueueJob( [ this ]() { this->driver_interface->VerifySystemModules(); } ); } void kernelmode::KManager::MonitorCallbackReports() { this->thread_pool->QueueJob( [ this ]() { this->driver_interface->QueryReportQueue(); } ); }