Author: janderwald
Date: Fri Aug 21 21:38:45 2009
New Revision: 42834
URL:
http://svn.reactos.org/svn/reactos?rev=42834&view=rev
Log:
- IOCTL_KS_WRITE_STREAM passes the data in the OutputBuffer, not InputBuffer
Modified:
trunk/reactos/drivers/ksfilter/ks/irp.c
Modified: trunk/reactos/drivers/ksfilter/ks/irp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/irp.c?…
==============================================================================
--- trunk/reactos/drivers/ksfilter/ks/irp.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/ksfilter/ks/irp.c [iso-8859-1] Fri Aug 21 21:38:45 2009
@@ -657,7 +657,7 @@
/* get current irp stack */
IoStack = IoGetCurrentIrpStackLocation(Irp);
- Length = IoStack->Parameters.DeviceIoControl.InputBufferLength;
+ Length = IoStack->Parameters.DeviceIoControl.OutputBufferLength;
if (Irp->RequestorMode == KernelMode || Irp->AssociatedIrp.SystemBuffer)
{