From c32fd82fbf9439fdbfd00f853d22e08bcef78247 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Tue, 10 May 2005 09:34:20 +0000 Subject: [PATCH] Implement IoInvalidateDeviceRelations svn path=/trunk/; revision=15201 --- reactos/ntoskrnl/io/pnpmgr.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/reactos/ntoskrnl/io/pnpmgr.c b/reactos/ntoskrnl/io/pnpmgr.c index 5e024386605..a8fcc3e4111 100644 --- a/reactos/ntoskrnl/io/pnpmgr.c +++ b/reactos/ntoskrnl/io/pnpmgr.c @@ -27,8 +27,15 @@ PDRIVER_OBJECT IopRootDriverObject; /* FUNCTIONS *****************************************************************/ +PDEVICE_NODE FASTCALL +IopGetDeviceNode( + PDEVICE_OBJECT DeviceObject) +{ + return DeviceObject->DeviceObjectExtension->DeviceNode; +} + /* - * @unimplemented + * @implemented */ VOID STDCALL @@ -36,14 +43,7 @@ IoInvalidateDeviceRelations( IN PDEVICE_OBJECT DeviceObject, IN DEVICE_RELATION_TYPE Type) { - CHECKPOINT1; -} - -PDEVICE_NODE FASTCALL -IopGetDeviceNode( - PDEVICE_OBJECT DeviceObject) -{ - return DeviceObject->DeviceObjectExtension->DeviceNode; + IopInvalidateDeviceRelations(IopGetDeviceNode(DeviceObject), Type); } /*