cleaned some code

merge-requests/1/merge
xerox 4 years ago
parent e1588b5960
commit 498006baec

@ -79,7 +79,7 @@ namespace nasa
uintptr_t out_buffer[2] = { sizeof(out_buffer) };
unsigned long returned = NULL;
if (!DeviceIoControl(
return DeviceIoControl(
drv_handle,
UNMAP_PHYSICAL_MEMORY,
reinterpret_cast<LPVOID>(&in_buffer),
@ -87,9 +87,6 @@ namespace nasa
reinterpret_cast<LPVOID>(out_buffer),
sizeof(out_buffer),
&returned, NULL
))
return false;
return out_buffer[0];
);
}
}
Loading…
Cancel
Save