hidclass.sys: Disable the keyboard device interface on removal.
Instead of enabling it. Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ab8f8258a5
commit
9a56ba0336
|
@ -466,7 +466,7 @@ static NTSTATUS pdo_pnp(DEVICE_OBJECT *device, IRP *irp)
|
|||
if (ext->u.pdo.is_mouse)
|
||||
IoSetDeviceInterfaceState(&ext->u.pdo.mouse_link_name, FALSE);
|
||||
if (ext->u.pdo.is_keyboard)
|
||||
IoSetDeviceInterfaceState(&ext->u.pdo.keyboard_link_name, TRUE);
|
||||
IoSetDeviceInterfaceState(&ext->u.pdo.keyboard_link_name, FALSE);
|
||||
|
||||
if (ext->u.pdo.thread)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue