reactos/drivers/hid/mouhid/mouhid.h
Johannes Anderwald d4bb27774a [USB-BRINGUP]
- Partly implement mouse read completion
- Implement read initiation
- Implement MouHid_Create, MouHid_Close

svn path=/branches/usb-bringup/; revision=54768
2011-12-27 02:35:03 +00:00

43 lines
779 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;
PFILE_OBJECT FileObject;
}MOUHID_DEVICE_EXTENSION, *PMOUHID_DEVICE_EXTENSION;
NTSTATUS
MouHid_InitiateRead(
IN PDEVICE_OBJECT DeviceObject);