Some 64 fixes

svn path=/trunk/; revision=22275
This commit is contained in:
Hervé Poussineau 2006-06-07 17:33:57 +00:00
parent 9a844e2247
commit 47b12f6d7d
3 changed files with 6 additions and 6 deletions

View file

@ -20,9 +20,9 @@ DeviceIoControl(
IN PDEVICE_OBJECT DeviceObject,
IN ULONG CtlCode,
IN PVOID InputBuffer OPTIONAL,
IN ULONG InputBufferSize,
IN ULONG_PTR InputBufferSize,
IN OUT PVOID OutputBuffer OPTIONAL,
IN OUT PULONG OutputBufferSize)
IN OUT PULONG_PTR OutputBufferSize)
{
KEVENT Event;
PIRP Irp;
@ -106,7 +106,7 @@ ReadBytes(
IN PDEVICE_OBJECT LowerDevice,
OUT PUCHAR Buffer,
IN ULONG BufferSize,
OUT PULONG FilledBytes)
OUT PULONG_PTR FilledBytes)
{
PIRP Irp;
IO_STATUS_BLOCK ioStatus;
@ -160,7 +160,7 @@ SermouseDetectLegacyDevice(
ULONG Command;
SERIAL_TIMEOUTS Timeouts;
SERIAL_LINE_CONTROL LCR;
ULONG i, Count = 0;
ULONG_PTR i, Count = 0;
UCHAR Buffer[16];
SERMOUSE_MOUSE_TYPE MouseType = mtNone;
NTSTATUS Status;

View file

@ -139,7 +139,7 @@ SermousePnp(
{
ULONG MinorFunction;
PIO_STACK_LOCATION Stack;
ULONG Information = 0;
ULONG_PTR Information = 0;
NTSTATUS Status;
Stack = IoGetCurrentIrpStackLocation(Irp);

View file

@ -54,7 +54,7 @@ typedef enum
typedef struct _SERMOUSE_DRIVER_EXTENSION
{
ULONG NumberOfButtons;
USHORT NumberOfButtons;
} SERMOUSE_DRIVER_EXTENSION, *PSERMOUSE_DRIVER_EXTENSION;
typedef struct _SERMOUSE_DEVICE_EXTENSION