Replace STATUS_UNSUCCESSFUL by STATUS_TOO_MANY_NAMES
Modified: trunk/reactos/drivers/input/kbdclass/kbdclass.c
Modified: trunk/reactos/drivers/input/mouclass/mouclass.c
_____
Modified: trunk/reactos/drivers/input/kbdclass/kbdclass.c
--- trunk/reactos/drivers/input/kbdclass/kbdclass.c 2006-01-01
20:59:39 UTC (rev 20525)
+++ trunk/reactos/drivers/input/kbdclass/kbdclass.c 2006-01-02
11:32:03 UTC (rev 20526)
@@ -312,8 +312,8 @@
}
DeviceId++;
}
- DPRINT("Too much devices starting with '\\Device\\%wZ'\n",
&DriverExtension->DeviceBaseName);
- Status = STATUS_UNSUCCESSFUL;
+ DPRINT("Too many devices starting with '\\Device\\%wZ'\n",
&DriverExtension->DeviceBaseName);
+ Status = STATUS_TOO_MANY_NAMES;
cleanup:
if (!NT_SUCCESS(Status))
{
_____
Modified: trunk/reactos/drivers/input/mouclass/mouclass.c
--- trunk/reactos/drivers/input/mouclass/mouclass.c 2006-01-01
20:59:39 UTC (rev 20525)
+++ trunk/reactos/drivers/input/mouclass/mouclass.c 2006-01-02
11:32:03 UTC (rev 20526)
@@ -307,8 +307,8 @@
}
DeviceId++;
}
- DPRINT("Too much devices starting with '\\Device\\%wZ'\n",
&DriverExtension->DeviceBaseName);
- Status = STATUS_UNSUCCESSFUL;
+ DPRINT("Too many devices starting with '\\Device\\%wZ'\n",
&DriverExtension->DeviceBaseName);
+ Status = STATUS_TOO_MANY_NAMES;
cleanup:
if (!NT_SUCCESS(Status))
{
Show replies by date