Replace STATUS_UNSUCCESSFUL by STATUS_TOO_MANY_NAMES

svn path=/trunk/; revision=20526
This commit is contained in:
Hervé Poussineau 2006-01-02 11:32:03 +00:00
parent 0d16ca8f32
commit 6402246022
2 changed files with 4 additions and 4 deletions

View file

@ -312,8 +312,8 @@ CreateClassDeviceObject(
}
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))
{

View file

@ -307,8 +307,8 @@ CreateClassDeviceObject(
}
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))
{