- IOCTL_KS_WRITE_STREAM passes the data in the OutputBuffer, not InputBuffer
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Fri, 21 Aug 2009 19:38:45 +0000 (19:38 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Fri, 21 Aug 2009 19:38:45 +0000 (19:38 +0000)
svn path=/trunk/; revision=42834

reactos/drivers/ksfilter/ks/irp.c

index 22023db..a4dd162 100644 (file)
@@ -657,7 +657,7 @@ KsProbeStreamIrp(
     /* get current irp stack */
     IoStack = IoGetCurrentIrpStackLocation(Irp);
 
-    Length = IoStack->Parameters.DeviceIoControl.InputBufferLength;
+    Length = IoStack->Parameters.DeviceIoControl.OutputBufferLength;
 
     if (Irp->RequestorMode == KernelMode || Irp->AssociatedIrp.SystemBuffer)
     {