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); } /*