+IoGetAttachedDevice()
[reactos.git] / ntoskrnl / io / device.c
index 36b4a09..27ee41a 100644 (file)
@@ -162,6 +162,7 @@ IoDetachDevice(PDEVICE_OBJECT TargetDevice)
    DPRINT("IoDetachDevice(TargetDevice %x) - UNIMPLEMENTED\n", TargetDevice);
 }
 
+#endif /* LIBCAPTIVE */
 
 PDEVICE_OBJECT
 STDCALL
@@ -181,6 +182,8 @@ IoGetAttachedDevice(PDEVICE_OBJECT DeviceObject)
    return(Current);
 }
 
+#ifndef LIBCAPTIVE
+
 PDEVICE_OBJECT
 STDCALL
 IoGetAttachedDeviceReference(PDEVICE_OBJECT DeviceObject)
@@ -563,6 +566,7 @@ IoAttachDevice(PDEVICE_OBJECT SourceDevice,
   UNIMPLEMENTED;
 }
 
+#endif /* LIBCAPTIVE */
 
 NTSTATUS STDCALL
 IopCreateDevice(PVOID ObjectBody,
@@ -582,8 +586,6 @@ IopCreateDevice(PVOID ObjectBody,
    return(STATUS_SUCCESS);
 }
 
-#endif /* LIBCAPTIVE */
-
 NTSTATUS STDCALL
 IoCreateDevice(PDRIVER_OBJECT DriverObject,
               ULONG DeviceExtensionSize,