mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
[WDMAUD_KERNEL]
-? Hey Arch, don't be so picky when something goes wrong. - Fix enumeration of wave out / in devices for Vmware adapter - Playback still hangs svn path=/trunk/; revision=41935
This commit is contained in:
parent
0067e2c1a5
commit
6d29129c8f
1 changed files with 3 additions and 6 deletions
|
@ -375,14 +375,11 @@ WdmAudControlDeviceType(
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
if (NT_SUCCESS(Status))
|
||||
DeviceInfo->DeviceCount = Result;
|
||||
else
|
||||
DeviceInfo->DeviceCount = 0;
|
||||
/* store result count */
|
||||
DeviceInfo->DeviceCount = Result;
|
||||
|
||||
DPRINT1("WdmAudControlDeviceType Status %x Devices %u\n", Status, DeviceInfo->DeviceCount);
|
||||
return SetIrpIoStatus(Irp, Status, sizeof(WDMAUD_DEVICE_INFO));
|
||||
return SetIrpIoStatus(Irp, STATUS_SUCCESS, sizeof(WDMAUD_DEVICE_INFO));
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
|
|
Loading…
Reference in a new issue