From 973ecf7e61b59e44e304403c3f475ddeec275a9b Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 28 Mar 2010 19:02:07 +0000 Subject: [PATCH] [NTOSKRNL] - Add a missing OBJ_CASE_INSENSITIVE attribute so IopIsAcpiComputer doesn't always fail svn path=/trunk/; revision=46517 --- reactos/ntoskrnl/io/pnpmgr/pnpmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c b/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c index cd0859b261b..0871047c33a 100644 --- a/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c +++ b/reactos/ntoskrnl/io/pnpmgr/pnpmgr.c @@ -2629,7 +2629,7 @@ IopIsAcpiComputer(VOID) NTSTATUS Status; BOOLEAN ret = FALSE; - InitializeObjectAttributes(&ObjectAttributes, &MultiKeyPathU, OBJ_KERNEL_HANDLE, NULL, NULL); + InitializeObjectAttributes(&ObjectAttributes, &MultiKeyPathU, OBJ_KERNEL_HANDLE | OBJ_CASE_INSENSITIVE, NULL, NULL); Status = ZwOpenKey(&hDevicesKey, KEY_ENUMERATE_SUB_KEYS, &ObjectAttributes); if (!NT_SUCCESS(Status)) {