Reactos

[PCIX] Add 2 OBJ_KERNEL_HANDLE

Match Zw*() uses.

CORE-10207

authored by

Serge Gautherie and committed by
George Bișoc
abe8f0ab 4bf32102

+2 -2
+1 -1
drivers/bus/pcix/init.c
··· 733 733 /* Open the PCI key */ 734 734 InitializeObjectAttributes(&ObjectAttributes, 735 735 RegistryPath, 736 - OBJ_CASE_INSENSITIVE, 736 + OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE, 737 737 NULL, 738 738 NULL); 739 739 Status = ZwOpenKey(&KeyHandle, KEY_QUERY_VALUE, &ObjectAttributes);
+1 -1
drivers/bus/pcix/utils.c
··· 177 177 RtlInitUnicodeString(&KeyString, KeyName); 178 178 InitializeObjectAttributes(&ObjectAttributes, 179 179 &KeyString, 180 - OBJ_CASE_INSENSITIVE, 180 + OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE, 181 181 RootKey, 182 182 NULL); 183 183