[DEVMGR] Hackfix CORE-5643
authorEric Kohl <eric.kohl@reactos.org>
Fri, 5 Oct 2018 13:09:27 +0000 (15:09 +0200)
committerEric Kohl <eric.kohl@reactos.org>
Fri, 5 Oct 2018 13:09:27 +0000 (15:09 +0200)
dll/win32/devmgr/devmgmt/DeviceView.cpp

index 4be0c2e..690609c 100644 (file)
@@ -1206,6 +1206,11 @@ CDeviceView::RefreshDeviceList()
 
         // create a new device node and add it to the list
         DeviceNode = new CDeviceNode(DeviceInfoData.DevInst, &m_ImageListData);
 
         // create a new device node and add it to the list
         DeviceNode = new CDeviceNode(DeviceInfoData.DevInst, &m_ImageListData);
+        /* FIXME: Start of Hack for CORE-5643 */
+        if (!DeviceNode->IsInstalled())
+            continue;
+        /* FIXME: End of Hack for CORE-5643 */
+
         if (DeviceNode->SetupNode())
         {
             m_DeviceNodeList.AddTail(DeviceNode);
         if (DeviceNode->SetupNode())
         {
             m_DeviceNodeList.AddTail(DeviceNode);