mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 20:43:18 +00:00
- RegEnumValueW should fill in *lpcbData if lpData == NULL.
svn path=/trunk/; revision=10215
This commit is contained in:
parent
6a793b2703
commit
9ec9ff807a
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: reg.c,v 1.52 2004/07/17 17:24:45 navaraf Exp $
|
||||
/* $Id: reg.c,v 1.53 2004/07/18 23:52:30 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -1451,6 +1451,7 @@ RegEnumValueW (HKEY hKey,
|
|||
*lpcbValueName = (DWORD)(ValueInfo->Basic.NameLength / sizeof(WCHAR));
|
||||
lpValueName[*lpcbValueName] = 0;
|
||||
}
|
||||
*lpcbData = (DWORD)ValueInfo->Full.DataLength;
|
||||
}
|
||||
|
||||
if (ErrorCode == ERROR_SUCCESS && lpType != NULL)
|
||||
|
|
Loading…
Reference in a new issue