mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:33:01 +00:00
RegSetValueExA: lpData can be NULL.
This fixes three failures of the WINE regression tests. svn path=/trunk/; revision=11614
This commit is contained in:
parent
2fada79f2e
commit
7ac73dbbc4
1 changed files with 1 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: reg.c,v 1.61 2004/10/10 10:43:23 ekohl Exp $
|
/* $Id: reg.c,v 1.62 2004/11/11 11:21:30 ekohl Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* PROJECT: ReactOS system libraries
|
||||||
|
@ -3112,12 +3112,6 @@ RegSetValueExA (HKEY hKey,
|
||||||
LPBYTE pData;
|
LPBYTE pData;
|
||||||
DWORD DataSize;
|
DWORD DataSize;
|
||||||
|
|
||||||
if (lpData == NULL)
|
|
||||||
{
|
|
||||||
SetLastError (ERROR_INVALID_PARAMETER);
|
|
||||||
return ERROR_INVALID_PARAMETER;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (lpValueName != NULL &&
|
if (lpValueName != NULL &&
|
||||||
strlen(lpValueName) != 0)
|
strlen(lpValueName) != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue