- CreateClassDeviceObject/ClassAddDevice: Again do not create device with exclusive access.

svn path=/trunk/; revision=41055
This commit is contained in:
Michael Martin 2009-05-23 02:02:48 +00:00
parent 56cc203023
commit 1b775222e7

View file

@ -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))
{