mirror of
https://github.com/momo5502/hypervisor.git
synced 2025-09-04 16:07:25 +00:00
Fix formatting
This commit is contained in:
@@ -9,8 +9,7 @@ driver_device::driver_device(const std::string& driver_device)
|
||||
nullptr,
|
||||
OPEN_EXISTING,
|
||||
NULL,
|
||||
nullptr
|
||||
);
|
||||
nullptr);
|
||||
|
||||
if (!this->device_)
|
||||
{
|
||||
@@ -35,7 +34,7 @@ bool driver_device::send(const DWORD ioctl_code, const data& input, data& output
|
||||
static_cast<DWORD>(output.size()),
|
||||
&size_returned,
|
||||
nullptr
|
||||
) != FALSE;
|
||||
) != FALSE;
|
||||
|
||||
if (success && size_returned < output.size())
|
||||
{
|
||||
|
@@ -2,7 +2,6 @@
|
||||
#include <conio.h>
|
||||
|
||||
#include "std_include.hpp"
|
||||
#include "finally.hpp"
|
||||
#include "driver.hpp"
|
||||
#include "driver_device.hpp"
|
||||
|
||||
|
@@ -46,4 +46,4 @@ native_handle::operator HANDLE() const
|
||||
native_handle::operator bool() const
|
||||
{
|
||||
return this->handle_ != INVALID_HANDLE_VALUE;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user