hidclass.sys: Minidriver handling for IRP_MN_REMOVE_DEVICE finished the IRP.
Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ef2e53f981
commit
4163642b99
|
@ -256,8 +256,7 @@ NTSTATUS WINAPI HID_PNP_Dispatch(DEVICE_OBJECT *device, IRP *irp)
|
|||
case IRP_MN_REMOVE_DEVICE:
|
||||
{
|
||||
HID_DeleteDevice(&minidriver->minidriver, device);
|
||||
minidriver->PNPDispatch(device, irp);
|
||||
break;
|
||||
return minidriver->PNPDispatch(device, irp);
|
||||
}
|
||||
default:
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue