mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 19:26:16 +00:00
- Set SurpriseRemovalOK flag when IRP_MN_QUERY_CAPABILITIES was handled successfully
- CORE-6447 svn path=/trunk/; revision=57796
This commit is contained in:
@@ -1686,10 +1686,13 @@ HidPnp(
|
||||
Status = Irp->IoStatus.Status;
|
||||
}
|
||||
|
||||
//
|
||||
// don't need to safely remove
|
||||
//
|
||||
IoStack->Parameters.DeviceCapabilities.Capabilities->SurpriseRemovalOK = TRUE;
|
||||
if (NT_SUCCESS(Status) && IoStack->Parameters.DeviceCapabilities.Capabilities != NULL)
|
||||
{
|
||||
//
|
||||
// don't need to safely remove
|
||||
//
|
||||
IoStack->Parameters.DeviceCapabilities.Capabilities->SurpriseRemovalOK = TRUE;
|
||||
}
|
||||
|
||||
//
|
||||
// done
|
||||
|
||||
Reference in New Issue
Block a user