[ros-diffs] [hpoussin] 35534: Calling IoSynchronousInvalidateDeviceRelations with type TargetDeviceRelation returns success. Spotted by Alex

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Fri Aug 22 21:06:25 CEST 2008


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.c?rev=35534&r1=35533&r2=35534&view=diff
==============================================================================
--- 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;
     }
 }



More information about the Ros-diffs mailing list