mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +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,
|
&DeviceNameU,
|
||||||
FILE_DEVICE_MOUSE,
|
FILE_DEVICE_MOUSE,
|
||||||
FILE_DEVICE_SECURE_OPEN,
|
FILE_DEVICE_SECURE_OPEN,
|
||||||
TRUE,
|
FALSE,
|
||||||
&Fdo);
|
&Fdo);
|
||||||
if (NT_SUCCESS(Status))
|
if (NT_SUCCESS(Status))
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
@ -625,7 +625,7 @@ ClassAddDevice(
|
||||||
NULL,
|
NULL,
|
||||||
Pdo->DeviceType,
|
Pdo->DeviceType,
|
||||||
Pdo->Characteristics & FILE_DEVICE_SECURE_OPEN ? FILE_DEVICE_SECURE_OPEN : 0,
|
Pdo->Characteristics & FILE_DEVICE_SECURE_OPEN ? FILE_DEVICE_SECURE_OPEN : 0,
|
||||||
TRUE,
|
FALSE,
|
||||||
&Fdo);
|
&Fdo);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue