mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[DEVMGR]
Hide "HTREE\ROOT\0" from the device tree. CORE-12670 #resolve #comment Thanks a lot! svn path=/trunk/; revision=73851
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user