Author: tkreuzer
Date: Sun Jun 21 04:36:29 2009
New Revision: 41500
URL:
http://svn.reactos.org/svn/reactos?rev=41500&view=rev
Log:
Pass ULONG* to MiniQueryInformation for the number of written bytes instead of ULONG_PTR*
Modified:
branches/ros-amd64-bringup/reactos/drivers/network/ndis/ndis/miniport.c
Modified: branches/ros-amd64-bringup/reactos/drivers/network/ndis/ndis/miniport.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/drive…
==============================================================================
--- branches/ros-amd64-bringup/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1]
Sun Jun 21 04:36:29 2009
@@ -2053,6 +2053,7 @@
PLOGICAL_ADAPTER Adapter = (PLOGICAL_ADAPTER)DeviceObject->DeviceExtension;
PIO_STACK_LOCATION Stack = IoGetCurrentIrpStackLocation(Irp);
NDIS_STATUS Status = STATUS_NOT_SUPPORTED;
+ ULONG Written;
Irp->IoStatus.Information = 0;
@@ -2065,7 +2066,8 @@
*(PNDIS_OID)Irp->AssociatedIrp.SystemBuffer,
Stack->Parameters.DeviceIoControl.OutputBufferLength,
MmGetSystemAddressForMdl(Irp->MdlAddress),
- &Irp->IoStatus.Information);
+ &Written);
+ Irp->IoStatus.Information = Written;
break;
default: