1
0
mirror of https://github.com/momo5502/hypervisor.git synced 2025-07-11 05:31:56 +00:00

More cleanup and hypervisor progress

This commit is contained in:
momo5502
2022-03-27 10:48:24 +02:00
parent 6ce3597bd3
commit 8fcaaf5cbf
22 changed files with 324 additions and 60 deletions

View File

@ -6,7 +6,7 @@ class driver
public:
driver(const std::filesystem::path& driver_file, const std::string& service_name);
~driver();
driver(const driver&) = delete;
driver& operator=(const driver&) = delete;

View File

@ -6,7 +6,7 @@ class driver_device
public:
driver_device(const std::string& driver_device);
~driver_device() = default;
driver_device(const driver_device&) = delete;
driver_device& operator=(const driver_device&) = delete;

View File

@ -52,4 +52,4 @@ namespace utils
return final_action<typename std::remove_cv<typename std::remove_reference<F>::type>::type>(
std::forward<F>(f));
}
}
}

View File

@ -6,7 +6,7 @@ public:
native_handle();
native_handle(HANDLE handle);
~native_handle();
native_handle(const native_handle&) = delete;
native_handle& operator=(const native_handle&) = delete;

View File

@ -6,7 +6,7 @@ public:
service_handle();
service_handle(SC_HANDLE handle);
~service_handle();
service_handle(const service_handle&) = delete;
service_handle& operator=(const service_handle&) = delete;

View File

@ -7,4 +7,4 @@
#include <Windows.h>
#include <Shlwapi.h>
#pragma comment(lib, "Shlwapi.lib")
#pragma comment(lib, "Shlwapi.lib")