https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f9739601b380b9bd8ab43d8fa87c940c65517d94

commit f9739601b380b9bd8ab43d8fa87c940c65517d94
Author:     Eric Kohl <eric.k...@reactos.org>
AuthorDate: Fri Oct 5 15:09:27 2018 +0200
Commit:     Eric Kohl <eric.k...@reactos.org>
CommitDate: Fri Oct 5 15:09:27 2018 +0200

    [DEVMGR] Hackfix CORE-5643
---
 dll/win32/devmgr/devmgmt/DeviceView.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dll/win32/devmgr/devmgmt/DeviceView.cpp 
b/dll/win32/devmgr/devmgmt/DeviceView.cpp
index 4be0c2e75f..690609c73c 100644
--- a/dll/win32/devmgr/devmgmt/DeviceView.cpp
+++ b/dll/win32/devmgr/devmgmt/DeviceView.cpp
@@ -1206,6 +1206,11 @@ CDeviceView::RefreshDeviceList()
 
         // 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);

Reply via email to