ntoskrnl.exe: Use LoadLibraryW for MmGetSystemRoutineAddress.
This commit is contained in:
parent
f58c48b85e
commit
42c0ec8a1f
1 changed files with 1 additions and 2 deletions
|
@ -3319,8 +3319,7 @@ PVOID WINAPI MmGetSystemRoutineAddress(PUNICODE_STRING SystemRoutineName)
|
|||
pFunc = GetProcAddress( hMod, routineNameA.Buffer );
|
||||
if (!pFunc)
|
||||
{
|
||||
hMod = GetModuleHandleW( halW );
|
||||
|
||||
hMod = LoadLibraryW( halW );
|
||||
if (hMod) pFunc = GetProcAddress( hMod, routineNameA.Buffer );
|
||||
}
|
||||
RtlFreeAnsiString( &routineNameA );
|
||||
|
|
Loading…
Add table
Reference in a new issue