Author: janderwald
Date: Tue Oct 6 11:55:19 2009
New Revision: 43314
URL:
http://svn.reactos.org/svn/reactos?rev=43314&view=rev
Log:
- Fix creation of mixer pin
Modified:
trunk/reactos/drivers/wdm/audio/sysaudio/control.c
Modified: trunk/reactos/drivers/wdm/audio/sysaudio/control.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/sysaudio…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/sysaudio/control.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/sysaudio/control.c [iso-8859-1] Tue Oct 6 11:55:19
2009
@@ -227,7 +227,7 @@
/* Query pin data ranges */
Status = KsSynchronousIoControlDevice(Entry->FileObject, KernelMode,
IOCTL_KS_PROPERTY, (PVOID)PinRequest, sizeof(KSP_PIN), NULL, 0, &BytesReturned);
- if (Status != STATUS_BUFFER_TOO_SMALL)
+ if (Status != STATUS_MORE_ENTRIES)
{
/* Failed to data ranges */
return Status;