Implement IoInvalidateDeviceRelations
Modified: trunk/reactos/ntoskrnl/io/pnpmgr.c

Modified: trunk/reactos/ntoskrnl/io/pnpmgr.c
--- trunk/reactos/ntoskrnl/io/pnpmgr.c	2005-05-10 08:15:08 UTC (rev 15200)
+++ trunk/reactos/ntoskrnl/io/pnpmgr.c	2005-05-10 09:34:20 UTC (rev 15201)
@@ -27,8 +27,15 @@
 
 /* FUNCTIONS *****************************************************************/
 
+PDEVICE_NODE FASTCALL
+IopGetDeviceNode(
+  PDEVICE_OBJECT DeviceObject)
+{
+  return DeviceObject->DeviceObjectExtension->DeviceNode;
+}
+
 /*
- * @unimplemented
+ * @implemented
  */
 VOID
 STDCALL
@@ -36,16 +43,9 @@
   IN PDEVICE_OBJECT DeviceObject,
   IN DEVICE_RELATION_TYPE Type)
 {
-  CHECKPOINT1;
+  IopInvalidateDeviceRelations(IopGetDeviceNode(DeviceObject), Type);
 }
 
-PDEVICE_NODE FASTCALL
-IopGetDeviceNode(
-  PDEVICE_OBJECT DeviceObject)
-{
-  return DeviceObject->DeviceObjectExtension->DeviceNode;
-}
-
 /*
  * @unimplemented
  */