projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd588d8
)
[DEVMGR]
author
Eric Kohl
<eric.kohl@reactos.org>
Sun, 19 Feb 2017 19:13:41 +0000
(19:13 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Sun, 19 Feb 2017 19:13:41 +0000
(19:13 +0000)
Hide "HTREE\ROOT\0" from the device tree.
CORE-12670 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=73851
reactos/dll/win32/devmgr/devmgmt/DeviceNode.cpp
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/devmgr/devmgmt/DeviceNode.cpp
b/reactos/dll/win32/devmgr/devmgmt/DeviceNode.cpp
index
70566a7
..
bcd471d
100644
(file)
--- a/
reactos/dll/win32/devmgr/devmgmt/DeviceNode.cpp
+++ b/
reactos/dll/win32/devmgr/devmgmt/DeviceNode.cpp
@@
-68,7
+68,7
@@
CDeviceNode::SetupNode()
m_DeviceId,
ulLength + 1,
0);
- if (cr != CR_SUCCESS)
+ if (cr != CR_SUCCESS
|| wcscmp(m_DeviceId, L"HTREE\\ROOT\\0") == 0
)
{
delete[] m_DeviceId;
m_DeviceId = NULL;