mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
- CreateClassDeviceObject/ClassAddDevice: Again do not create device with exclusive access.
svn path=/trunk/; revision=41055
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user