mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
- CreateClassDeviceObject/ClassAddDevice: Do not create KeyboardClass device with exclusive access as it will prevent key loggers from working.
svn path=/trunk/; revision=41054
This commit is contained in:
parent
f92ef3f38f
commit
56cc203023
1 changed files with 2 additions and 2 deletions
|
@ -354,7 +354,7 @@ CreateClassDeviceObject(
|
|||
&DeviceNameU,
|
||||
FILE_DEVICE_KEYBOARD,
|
||||
FILE_DEVICE_SECURE_OPEN,
|
||||
TRUE,
|
||||
FALSE,
|
||||
&Fdo);
|
||||
if (NT_SUCCESS(Status))
|
||||
goto cleanup;
|
||||
|
@ -649,7 +649,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