mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-08-22 06:54:42 +00:00
general SDK improvements
This commit is contained in:
parent
856ec8f34f
commit
1823c024fd
12 changed files with 244 additions and 170 deletions
|
|
@ -478,7 +478,7 @@ SetupDriverName(_Inout_updates_bytes_all_(BufferLength) PCHAR DriverLocation,
|
|||
// Setup path name to driver file.
|
||||
//
|
||||
if (FAILED(
|
||||
StringCbCat(DriverLocation, BufferLength, "\\" DRIVER_NAME ".sys")))
|
||||
StringCbCat(DriverLocation, BufferLength, "\\" VMM_DRIVER_NAME ".sys")))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
|
@ -489,7 +489,7 @@ SetupDriverName(_Inout_updates_bytes_all_(BufferLength) PCHAR DriverLocation,
|
|||
if ((FileHandle = CreateFile(DriverLocation, GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL)) ==
|
||||
INVALID_HANDLE_VALUE)
|
||||
{
|
||||
ShowMessages("%s.sys is not loaded.\n", DRIVER_NAME);
|
||||
ShowMessages("%s.sys is not loaded.\n", VMM_DRIVER_NAME);
|
||||
|
||||
//
|
||||
// Indicate failure.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue