if (PciInterface)
{
/* Currently this driver only supports the legacy HAL interface */
- UNIMPLEMENTED;
- while (TRUE);
+ UNIMPLEMENTED_DBGBREAK();
}
else
{
}
/* Dereference the device object because we took a reference earlier */
- ObfDereferenceObject(AttachedDevice);
+ ObDereferenceObject(AttachedDevice);
}
else
{
/* Failure path, dereference the device object and set failure code */
- if (AttachedDevice) ObfDereferenceObject(AttachedDevice);
+ if (AttachedDevice) ObDereferenceObject(AttachedDevice);
ExFreePoolWithTag(PciInterface, 0);
Status = STATUS_INSUFFICIENT_RESOURCES;
}