1 typedef struct _DEVICE_EXTENSION
{
3 PDEVICE_OBJECT DeviceObject
;
6 ULONG InputDataCount
[2];
7 MOUSE_INPUT_DATA MouseInputData
[2][MOUSE_BUFFER_SIZE
];
9 unsigned char MouseBuffer
[8];
11 unsigned char MouseType
;
12 unsigned char MouseModel
;
13 unsigned char ack
, acking
;
16 UINT MouseBufferPosition
;
20 ULONG PreviousButtons
;
23 CLASS_INFORMATION ClassInformation
;
25 PKINTERRUPT MouseInterrupt
;
27 } DEVICE_EXTENSION
, *PDEVICE_EXTENSION
;