Author: akhaldi
Date: Wed Oct 22 16:43:19 2014
New Revision: 64892
URL:
http://svn.reactos.org/svn/reactos?rev=64892&view=rev
Log:
[KERNEL32]
* Zap NLS_RegEnumSubKey.
Modified:
trunk/reactos/dll/win32/kernel32/winnls/string/lang.c
Modified: trunk/reactos/dll/win32/kernel32/winnls/string/lang.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/winnls/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/winnls/string/lang.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/winnls/string/lang.c [iso-8859-1] Wed Oct 22 16:43:19
2014
@@ -1853,29 +1853,6 @@
hkey = 0;
return hkey;
-}
-
-static BOOL NLS_RegEnumSubKey(HANDLE hKey, UINT ulIndex, LPWSTR szKeyName,
- ULONG keyNameSize)
-{
- BYTE buffer[80];
- KEY_BASIC_INFORMATION *info = (KEY_BASIC_INFORMATION *)buffer;
- DWORD dwLen;
-
- if (NtEnumerateKey( hKey, ulIndex, KeyBasicInformation, buffer,
- sizeof(buffer), &dwLen) != STATUS_SUCCESS ||
- info->NameLength > keyNameSize)
- {
- return FALSE;
- }
-
- TRACE("info->Name %s info->NameLength %d\n",
debugstr_w(info->Name), info->NameLength);
-
- memcpy( szKeyName, info->Name, info->NameLength);
- szKeyName[info->NameLength / sizeof(WCHAR)] = '\0';
-
- TRACE("returning %s\n", debugstr_w(szKeyName));
- return TRUE;
}
static BOOL NLS_RegEnumValue(HANDLE hKey, UINT ulIndex,