reactos/drivers/hid/mouhid/mouhid.h
Johannes Anderwald 05c20641db - Link to hal
- Implement mouse button change detection
- Implement support routine for dispatching mouse input data
- Allocate mdl for input report, not yet used

svn path=/branches/usb-bringup/; revision=54767
2011-12-27 00:46:10 +00:00

35 lines
679 B
C

#pragma once
#define _HIDPI_NO_FUNCTION_MACROS_
#include <ntddk.h>
#include <hidclass.h>
#include <hidpddi.h>
#include <hidpi.h>
#include <debug.h>
#include <ntddmou.h>
#include <kbdmou.h>
typedef struct
{
PDEVICE_OBJECT NextDeviceObject;
PIRP Irp;
KEVENT Event;
PDEVICE_OBJECT ClassDeviceObject;
PVOID ClassService;
USHORT MouseIdentifier;
USHORT WheelUsagePage;
USHORT UsageListLength;
PUSAGE CurrentUsageList;
PUSAGE PreviousUsageList;
PUSAGE BreakUsageList;
PUSAGE MakeUsageList;
PVOID PreparsedData;
PMDL ReportMDL;
PUCHAR Report;
ULONG ReportLength;
}MOUHID_DEVICE_EXTENSION, *PMOUHID_DEVICE_EXTENSION;