- Fix typos and debug messages.

svn path=/trunk/; revision=31417
This commit is contained in:
Aleksey Bragin
2007-12-23 19:20:10 +00:00
parent a6ca74e2cf
commit 2fa730f845

View File

@@ -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
{