mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 18:18:29 +00:00
[ADVAPI32]
sync RegpApplyRestrictions to wine 1.1.40 svn path=/trunk/; revision=46219
This commit is contained in:
parent
96ae173fea
commit
c1e3362f03
1 changed files with 2 additions and 2 deletions
|
@ -1916,9 +1916,9 @@ RegpApplyRestrictions(DWORD dwFlags,
|
||||||
{
|
{
|
||||||
DWORD cbExpect = 0;
|
DWORD cbExpect = 0;
|
||||||
|
|
||||||
if ((dwFlags & RRF_RT_DWORD) == RRF_RT_DWORD)
|
if ((dwFlags & RRF_RT_ANY) == RRF_RT_DWORD)
|
||||||
cbExpect = 4;
|
cbExpect = 4;
|
||||||
else if ((dwFlags & RRF_RT_QWORD) == RRF_RT_QWORD)
|
else if ((dwFlags & RRF_RT_ANY) == RRF_RT_QWORD)
|
||||||
cbExpect = 8;
|
cbExpect = 8;
|
||||||
|
|
||||||
if (cbExpect && cbData != cbExpect)
|
if (cbExpect && cbData != cbExpect)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue