mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
[MKHIVE] wcsicmp -> _wcsicmp, should fix buildbot build
svn path=/trunk/; revision=47021
This commit is contained in:
parent
98acf217f9
commit
3bb199b692
1 changed files with 6 additions and 6 deletions
|
@ -53,32 +53,32 @@
|
||||||
static BOOL
|
static BOOL
|
||||||
GetRootKey (PWCHAR Name)
|
GetRootKey (PWCHAR Name)
|
||||||
{
|
{
|
||||||
if (!wcsicmp (Name, L"HKCR"))
|
if (!_wcsicmp (Name, L"HKCR"))
|
||||||
{
|
{
|
||||||
wcscpy (Name, L"\\Registry\\Machine\\SOFTWARE\\Classes\\");
|
wcscpy (Name, L"\\Registry\\Machine\\SOFTWARE\\Classes\\");
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!wcsicmp (Name, L"HKCU"))
|
if (!_wcsicmp (Name, L"HKCU"))
|
||||||
{
|
{
|
||||||
wcscpy (Name, L"\\Registry\\User\\.DEFAULT\\");
|
wcscpy (Name, L"\\Registry\\User\\.DEFAULT\\");
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!wcsicmp (Name, L"HKLM"))
|
if (!_wcsicmp (Name, L"HKLM"))
|
||||||
{
|
{
|
||||||
wcscpy (Name, L"\\Registry\\Machine\\");
|
wcscpy (Name, L"\\Registry\\Machine\\");
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!wcsicmp (Name, L"HKU"))
|
if (!_wcsicmp (Name, L"HKU"))
|
||||||
{
|
{
|
||||||
wcscpy (Name, L"\\Registry\\User\\");
|
wcscpy (Name, L"\\Registry\\User\\");
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
if (!wcsicmp (Name, L"HKR"))
|
if (!_wcsicmp (Name, L"HKR"))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@ AppendMultiSzValue (
|
||||||
len = wcslen (Strings) + 1;
|
len = wcslen (Strings) + 1;
|
||||||
|
|
||||||
for (p = Buffer; *p != 0; p += wcslen (p) + 1)
|
for (p = Buffer; *p != 0; p += wcslen (p) + 1)
|
||||||
if (!wcsicmp (p, Strings))
|
if (!_wcsicmp (p, Strings))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (*p == 0) /* not found, need to append it */
|
if (*p == 0) /* not found, need to append it */
|
||||||
|
|
Loading…
Reference in a new issue