mirror of
https://github.com/reactos/reactos.git
synced 2026-07-07 09:40:21 +08:00
- Fix typos and debug messages.
svn path=/trunk/; revision=31417
This commit is contained in:
@@ -225,7 +225,7 @@ EngLoadImage (LPWSTR DriverName)
|
||||
/* the driver was not loaded before, so let's do that */
|
||||
Status = ZwSetSystemInformation(SystemLoadGdiDriverInformation, &GdiDriverInfo, sizeof(SYSTEM_GDI_DRIVER_INFORMATION));
|
||||
if (!NT_SUCCESS(Status)) {
|
||||
DPRINT1("ZwSetSystemInformation faild with status 0x%lx\n", Status);
|
||||
DPRINT1("ZwSetSystemInformation failed with Status 0x%lx\n", Status);
|
||||
}
|
||||
else {
|
||||
hImageHandle = (HANDLE)GdiDriverInfo.ImageAddress;
|
||||
@@ -269,15 +269,15 @@ EngUnloadImage ( IN HANDLE hModule )
|
||||
{
|
||||
NTSTATUS Status;
|
||||
|
||||
DPRINT1("hModule=%x\n", hModule);
|
||||
DPRINT("hModule 0x%x\n", hModule);
|
||||
|
||||
Status = ZwSetSystemInformation(SystemUnloadGdiDriverInformation,
|
||||
&hModule, sizeof(HANDLE));
|
||||
|
||||
if(!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("%s: ZwSetSystemInformation failed with status %x.",
|
||||
__FUNCTION__, Status);
|
||||
DPRINT1("ZwSetSystemInformation failed with status 0x%08X\n",
|
||||
Status);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user