Commit 34d365c1 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

ndis.sys: Enable compilation with long types.

parent 11eb69cb
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = ndis.sys MODULE = ndis.sys
IMPORTS = advapi32 ntoskrnl iphlpapi IMPORTS = advapi32 ntoskrnl iphlpapi
......
...@@ -88,7 +88,7 @@ static void query_global_stats(IRP *irp, const MIB_IF_ROW2 *netdev) ...@@ -88,7 +88,7 @@ static void query_global_stats(IRP *irp, const MIB_IF_ROW2 *netdev)
} }
default: default:
FIXME( "Unsupported OID %x\n", oid ); FIXME( "Unsupported OID %lx\n", oid );
irp->IoStatus.u.Status = STATUS_INVALID_PARAMETER; irp->IoStatus.u.Status = STATUS_INVALID_PARAMETER;
break; break;
} }
...@@ -100,7 +100,7 @@ static NTSTATUS WINAPI ndis_ioctl(DEVICE_OBJECT *device, IRP *irp) ...@@ -100,7 +100,7 @@ static NTSTATUS WINAPI ndis_ioctl(DEVICE_OBJECT *device, IRP *irp)
MIB_IF_ROW2 *netdev = device->DeviceExtension; MIB_IF_ROW2 *netdev = device->DeviceExtension;
NTSTATUS status; NTSTATUS status;
TRACE( "ioctl %x insize %u outsize %u\n", TRACE( "ioctl %lx insize %lu outsize %lu\n",
irpsp->Parameters.DeviceIoControl.IoControlCode, irpsp->Parameters.DeviceIoControl.IoControlCode,
irpsp->Parameters.DeviceIoControl.InputBufferLength, irpsp->Parameters.DeviceIoControl.InputBufferLength,
irpsp->Parameters.DeviceIoControl.OutputBufferLength ); irpsp->Parameters.DeviceIoControl.OutputBufferLength );
...@@ -111,7 +111,7 @@ static NTSTATUS WINAPI ndis_ioctl(DEVICE_OBJECT *device, IRP *irp) ...@@ -111,7 +111,7 @@ static NTSTATUS WINAPI ndis_ioctl(DEVICE_OBJECT *device, IRP *irp)
query_global_stats(irp, netdev); query_global_stats(irp, netdev);
break; break;
default: default:
FIXME( "ioctl %x not supported\n", irpsp->Parameters.DeviceIoControl.IoControlCode ); FIXME( "ioctl %lx not supported\n", irpsp->Parameters.DeviceIoControl.IoControlCode );
irp->IoStatus.u.Status = STATUS_NOT_SUPPORTED; irp->IoStatus.u.Status = STATUS_NOT_SUPPORTED;
break; break;
} }
...@@ -153,7 +153,7 @@ static int add_device(DRIVER_OBJECT *driver, const WCHAR *guidstrW, MIB_IF_ROW2 ...@@ -153,7 +153,7 @@ static int add_device(DRIVER_OBJECT *driver, const WCHAR *guidstrW, MIB_IF_ROW2
status = IoCreateSymbolicLink( &link, &name ); status = IoCreateSymbolicLink( &link, &name );
if (status) if (status)
{ {
FIXME( "failed to create device error %x\n", status ); FIXME( "failed to create device error %lx\n", status );
return 0; return 0;
} }
...@@ -200,7 +200,7 @@ NTSTATUS WINAPI DriverEntry(DRIVER_OBJECT *driver, UNICODE_STRING *path) ...@@ -200,7 +200,7 @@ NTSTATUS WINAPI DriverEntry(DRIVER_OBJECT *driver, UNICODE_STRING *path)
NDIS_STATUS WINAPI NdisAllocateMemoryWithTag(void **address, UINT length, ULONG tag) NDIS_STATUS WINAPI NdisAllocateMemoryWithTag(void **address, UINT length, ULONG tag)
{ {
FIXME("(%p, %u, %u): stub\n", address, length, tag); FIXME("(%p, %u, %lu): stub\n", address, length, tag);
return NDIS_STATUS_FAILURE; return NDIS_STATUS_FAILURE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment