Make Rtl*Registry* functions case insensitive.

This commit is contained in:
Ivan Leo Puoti 2005-03-14 10:08:21 +00:00 committed by Alexandre Julliard
parent 04606af829
commit 9601b97cc3
1 changed files with 1 additions and 1 deletions

View File

@ -989,7 +989,7 @@ static NTSTATUS RTL_GetKeyHandle(ULONG RelativeTo, PCWSTR Path, PHKEY handle)
strcatW(KeyString.Buffer, Path);
KeyString.Length = len - sizeof(WCHAR);
KeyString.MaximumLength = len;
InitializeObjectAttributes(&regkey, &KeyString, 0, NULL, NULL);
InitializeObjectAttributes(&regkey, &KeyString, OBJ_CASE_INSENSITIVE, NULL, NULL);
status = NtOpenKey(handle, KEY_ALL_ACCESS, &regkey);
RtlFreeHeap(GetProcessHeap(), 0, KeyString.Buffer);
return status;