Author: hpoussin
Date: Fri Aug 22 14:06:25 2008
New Revision: 35534
URL:
http://svn.reactos.org/svn/reactos?rev=35534&view=rev
Log:
Calling IoSynchronousInvalidateDeviceRelations with type TargetDeviceRelation returns
success.
Spotted by Alex
Modified:
trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c [iso-8859-1] Fri Aug 22 14:06:25 2008
@@ -3400,8 +3400,11 @@
case PowerRelations:
/* Not handled yet */
return STATUS_NOT_IMPLEMENTED;
+ case TargetDeviceRelation:
+ /* Nothing to do */
+ return STATUS_SUCCESS;
default:
- /* Ejection relations and target relations are not supported */
+ /* Ejection relations are not supported */
return STATUS_NOT_SUPPORTED;
}
}