mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 12:04:51 +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,
|
&DeviceNameU,
|
||||||
FILE_DEVICE_KEYBOARD,
|
FILE_DEVICE_KEYBOARD,
|
||||||
FILE_DEVICE_SECURE_OPEN,
|
FILE_DEVICE_SECURE_OPEN,
|
||||||
TRUE,
|
FALSE,
|
||||||
&Fdo);
|
&Fdo);
|
||||||
if (NT_SUCCESS(Status))
|
if (NT_SUCCESS(Status))
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
@ -649,7 +649,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