mirror of
https://github.com/tnodir/fort
synced 2024-11-15 14:26:38 +00:00
DriverLoader: Fix fort_driver_path() for Win7.
This commit is contained in:
parent
37eabb4dde
commit
bc9ed49435
@ -54,7 +54,7 @@ FORT_API NTSTATUS fort_driver_path(PDRIVER_OBJECT driver, PUNICODE_STRING regPat
|
|||||||
UNICODE_STRING valueName;
|
UNICODE_STRING valueName;
|
||||||
RtlInitUnicodeString(&valueName, L"ImagePath");
|
RtlInitUnicodeString(&valueName, L"ImagePath");
|
||||||
|
|
||||||
status = fortdl_reg_value(regKey, &valueName, outPath);
|
status = fort_reg_value(regKey, &valueName, outPath);
|
||||||
|
|
||||||
ZwClose(regKey);
|
ZwClose(regKey);
|
||||||
#else
|
#else
|
||||||
|
@ -21,6 +21,12 @@ void ExFreePoolWithTag(PVOID p, ULONG tag)
|
|||||||
HeapFree(GetProcessHeap(), 0, p);
|
HeapFree(GetProcessHeap(), 0, p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PVOID ExAllocatePool(PVOID flags, SIZE_T size)
|
||||||
|
{
|
||||||
|
UNUSED(flags);
|
||||||
|
return HeapAlloc(GetProcessHeap(), 0, size);
|
||||||
|
}
|
||||||
|
|
||||||
void ExFreePool(PVOID p)
|
void ExFreePool(PVOID p)
|
||||||
{
|
{
|
||||||
UNUSED(p);
|
UNUSED(p);
|
||||||
|
Loading…
Reference in New Issue
Block a user