mirror of
https://github.com/reactos/reactos.git
synced 2024-08-11 13:48:01 +00:00
- Don't call MmLoadSystemImage with a NULL ModuleHandle. This could allow a simplification of the SystemLoadGdiDriverInformation function.
svn path=/trunk/; revision=36244
This commit is contained in:
parent
ffe9d022e2
commit
4b9642ee43
|
@ -1266,6 +1266,7 @@ SSI_DEF(SystemLoadGdiDriverInformation)
|
|||
KPROCESSOR_MODE PreviousMode = KeGetPreviousMode();
|
||||
UNICODE_STRING ImageName;
|
||||
PVOID ImageBase;
|
||||
PLDR_DATA_TABLE_ENTRY ModuleObject;
|
||||
ULONG_PTR EntryPoint;
|
||||
NTSTATUS Status;
|
||||
ULONG DirSize;
|
||||
|
@ -1287,7 +1288,7 @@ SSI_DEF(SystemLoadGdiDriverInformation)
|
|||
NULL,
|
||||
NULL,
|
||||
0,
|
||||
NULL,
|
||||
(PVOID)&ModuleObject,
|
||||
&ImageBase);
|
||||
if (!NT_SUCCESS(Status)) return Status;
|
||||
|
||||
|
|
Loading…
Reference in a new issue