mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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",
|
||||
|
|
|
@ -522,7 +522,11 @@ BOOL _ILHACKCompareSimpleIds(LPCITEMIDLIST pidltemp1, LPCITEMIDLIST pidltemp2)
|
|||
}
|
||||
else
|
||||
{
|
||||
return FALSE;
|
||||
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