|
|
|
@ -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];
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|