mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
Some debug macro changes.
svn path=/trunk/; revision=3610
This commit is contained in:
parent
c5384d5b78
commit
fc9c5cf9a4
1 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: device.c,v 1.48 2002/09/08 10:23:24 chorns Exp $
|
||||
/* $Id: device.c,v 1.49 2002/10/03 19:22:27 robd Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -22,6 +22,7 @@
|
|||
#include <roscfg.h>
|
||||
|
||||
#define NDEBUG
|
||||
//#define DBG
|
||||
#include <internal/debug.h>
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
@ -155,7 +156,8 @@ VOID
|
|||
STDCALL
|
||||
IoDetachDevice(PDEVICE_OBJECT TargetDevice)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
// UNIMPLEMENTED;
|
||||
DPRINT("IoDetachDevice(TargetDevice %x) - UNIMPLEMENTED\n", TargetDevice);
|
||||
}
|
||||
|
||||
|
||||
|
@ -645,6 +647,7 @@ IoCreateDevice(PDRIVER_OBJECT DriverObject,
|
|||
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT("IoCreateDevice() ObCreateObject failed, status: 0x%08X\n", Status);
|
||||
return(Status);
|
||||
}
|
||||
|
||||
|
@ -670,6 +673,7 @@ IoCreateDevice(PDRIVER_OBJECT DriverObject,
|
|||
if (DeviceExtensionSize > 0 && CreatedDeviceObject->DeviceExtension == NULL)
|
||||
{
|
||||
ExFreePool(CreatedDeviceObject);
|
||||
DPRINT("IoCreateDevice() ExAllocatePoolWithTag failed, returning: 0x%08X\n", STATUS_INSUFFICIENT_RESOURCES);
|
||||
return(STATUS_INSUFFICIENT_RESOURCES);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue