- IOCTL_KS_WRITE_STREAM passes the data in the OutputBuffer, not InputBuffer

svn path=/trunk/; revision=42834
This commit is contained in:
Johannes Anderwald 2009-08-21 19:38:45 +00:00
parent 6f2463f07d
commit 5ad980f439

View 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)
{