mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[SHELL32] Enable Network Connection Rename (#5073)
CORE-18750 - Add Network Connection pidl type 0x99; - Add binary comparison to pidl memory range.
This commit is contained in:
parent
5c8ec78b71
commit
39d5f1bf54
2 changed files with 6 additions and 1 deletions
|
@ -379,6 +379,7 @@ BOOL pcheck( LPCITEMIDLIST pidl )
|
|||
case PT_YAGUID:
|
||||
case PT_IESPECIAL2:
|
||||
case PT_SHARE:
|
||||
case 0x99: /* Network Connection pidl type */
|
||||
break;
|
||||
default:
|
||||
ERR("unknown IDLIST %p [%p] size=%u type=%x\n",
|
||||
|
|
|
@ -521,9 +521,13 @@ BOOL _ILHACKCompareSimpleIds(LPCITEMIDLIST pidltemp1, LPCITEMIDLIST pidltemp2)
|
|||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((pidltemp1->mkid.cb != pidltemp2->mkid.cb) ||
|
||||
!RtlEqualMemory((BYTE*)&pidltemp1->mkid, (BYTE*)&pidltemp2->mkid, pidltemp1->mkid.cb))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue