mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 01:41:13 +08:00
Fixed the return value for the root key in GetMaxValueNameLength().
svn path=/trunk/; revision=2484
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: RegistryKey.cpp,v 1.4 2001/01/13 23:54:40 narnaoud Exp $
|
||||
/* $Id: RegistryKey.cpp,v 1.5 2002/01/04 22:07:38 hbirr Exp $
|
||||
*
|
||||
* regexpl - Console Registry Explorer
|
||||
*
|
||||
@@ -385,6 +385,8 @@ LONG CRegistryKey::GetMaxValueDataSize(DWORD& rdwMaxValueDataBuferSize)
|
||||
|
||||
LONG CRegistryKey::GetMaxValueNameLength(DWORD& rdwMaxValueNameBuferSize)
|
||||
{
|
||||
rdwMaxValueNameBuferSize = 0;
|
||||
|
||||
if (!m_hKey)
|
||||
return 0; // the root key abstraction has only subkeys (hives)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user