mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Pass ULONG* to MiniQueryInformation for the number of written bytes instead of ULONG_PTR*
svn path=/branches/ros-amd64-bringup/; revision=41500
This commit is contained in:
@@ -2053,6 +2053,7 @@ NdisIDeviceIoControl(
|
||||
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 @@ NdisIDeviceIoControl(
|
||||
*(PNDIS_OID)Irp->AssociatedIrp.SystemBuffer,
|
||||
Stack->Parameters.DeviceIoControl.OutputBufferLength,
|
||||
MmGetSystemAddressForMdl(Irp->MdlAddress),
|
||||
&Irp->IoStatus.Information);
|
||||
&Written);
|
||||
Irp->IoStatus.Information = Written;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user