On Fri, Jul 8, 2016 at 6:18 AM, <gedmurphy@svn.reactos.org> wrote:

+        if (OpenPacket->InternalFlags & IOP_USE_TOP_LEVEL_DEVICE_HINT)
+        {
+            // FIXME: Verify our device object is good to use
+            ASSERT(DirectOpen == FALSE);
         }

You probably want to take a look at IopCheckTopDeviceHint

Best regards,
Alex Ionescu