UsbDk: BZ#1136908/BZ#1101593 Fix unsuccessfull driver installation pop-ups
This patch fixes 2 issues from Bugzilla:
1. BZ#1136908 - Windows XP launches "Found New Hardware" dialog
when the device gets redirected after plugging
2. BZ#1101593 - Windows reports unsuccessful driver installation
after USB redirection
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
This commit is contained in:
parent
f31d25fde7
commit
35cb09f07a
1 changed files with 4 additions and 0 deletions
|
|
@ -183,6 +183,10 @@ NTSTATUS CUsbDkRedirectorStrategy::PNPPreProcess(PIRP Irp)
|
|||
{
|
||||
auto irpStack = IoGetCurrentIrpStackLocation(Irp);
|
||||
irpStack->Parameters.DeviceCapabilities.Capabilities->RawDeviceOK = 1;
|
||||
irpStack->Parameters.DeviceCapabilities.Capabilities->NoDisplayInUI = 1;
|
||||
irpStack->Parameters.DeviceCapabilities.Capabilities->Removable = 0;
|
||||
irpStack->Parameters.DeviceCapabilities.Capabilities->EjectSupported = 0;
|
||||
irpStack->Parameters.DeviceCapabilities.Capabilities->SilentInstall = 1;
|
||||
});
|
||||
default:
|
||||
return CUsbDkFilterStrategy::PNPPreProcess(Irp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue