Make Rtl*Registry* functions case insensitive.
This commit is contained in:
parent
04606af829
commit
9601b97cc3
|
@ -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(®key, &KeyString, 0, NULL, NULL);
|
||||
InitializeObjectAttributes(®key, &KeyString, OBJ_CASE_INSENSITIVE, NULL, NULL);
|
||||
status = NtOpenKey(handle, KEY_ALL_ACCESS, ®key);
|
||||
RtlFreeHeap(GetProcessHeap(), 0, KeyString.Buffer);
|
||||
return status;
|
||||
|
|
Loading…
Reference in New Issue