ntoskrnl.exe: Be more verbose in MmGetSystemRoutineAddress
André Hentschel
nerv at dawncrow.de
Fri Feb 25 10:50:44 CST 2011
To see if we maybe need to take more modules into account, or if we need to implement some stubs
---
dlls/ntoskrnl.exe/ntoskrnl.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 4f70b98..27c5f7a 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -1523,7 +1523,10 @@ PVOID WINAPI MmGetSystemRoutineAddress(PUNICODE_STRING SystemRoutineName)
RtlFreeAnsiString( &routineNameA );
}
- TRACE( "%s -> %p\n", debugstr_us(SystemRoutineName), pFunc );
+ if (pFunc)
+ TRACE( "%s -> %p\n", debugstr_us(SystemRoutineName), pFunc );
+ else
+ FIXME( "%s not found\n", debugstr_us(SystemRoutineName) );
return pFunc;
}
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list