mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:45:50 +00:00
[DRIVERS] Add some missing OBJ_KERNEL_HANDLE (#4493)
Match Zw*() uses. CORE-10207
This commit is contained in:
parent
b414e1e4d7
commit
46db6573ab
8 changed files with 9 additions and 14 deletions
|
@ -238,7 +238,7 @@ FsRecRegisterFs(IN PDRIVER_OBJECT DriverObject,
|
|||
RtlInitUnicodeString(&DeviceName, FsName);
|
||||
InitializeObjectAttributes(&ObjectAttributes,
|
||||
&DeviceName,
|
||||
OBJ_CASE_INSENSITIVE,
|
||||
OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE,
|
||||
0,
|
||||
NULL);
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ RegTGetKeyHandle(
|
|||
InitializeObjectAttributes(
|
||||
&ObjectAttributes,
|
||||
&NameString,
|
||||
OBJ_CASE_INSENSITIVE,
|
||||
OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE,
|
||||
hRootKey,
|
||||
NULL
|
||||
);
|
||||
|
@ -276,4 +276,3 @@ RegTGetStringValue(
|
|||
}
|
||||
return retval;
|
||||
} // end RegTGetStringValue()
|
||||
|
||||
|
|
|
@ -649,7 +649,7 @@ UDFDismountDevice(
|
|||
|
||||
InitializeObjectAttributes ( &ObjectAttributes,
|
||||
unicodeCdRomDeviceName,
|
||||
OBJ_CASE_INSENSITIVE,
|
||||
OBJ_CASE_INSENSITIVE | OBJ_KERNEL_HANDLE,
|
||||
NULL,
|
||||
NULL );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue