mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
- CreateClassDeviceObject/ClassAddDevice: Again do not create device with exclusive access.
svn path=/trunk/; revision=41055
This commit is contained in:
parent
56cc203023
commit
1b775222e7
1 changed files with 2 additions and 2 deletions
|
@ -331,7 +331,7 @@ CreateClassDeviceObject(
|
|||
&DeviceNameU,
|
||||
FILE_DEVICE_MOUSE,
|
||||
FILE_DEVICE_SECURE_OPEN,
|
||||
TRUE,
|
||||
FALSE,
|
||||
&Fdo);
|
||||
if (NT_SUCCESS(Status))
|
||||
goto cleanup;
|
||||
|
@ -625,7 +625,7 @@ ClassAddDevice(
|
|||
NULL,
|
||||
Pdo->DeviceType,
|
||||
Pdo->Characteristics & FILE_DEVICE_SECURE_OPEN ? FILE_DEVICE_SECURE_OPEN : 0,
|
||||
TRUE,
|
||||
FALSE,
|
||||
&Fdo);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue