mirror of
https://github.com/reactos/reactos.git
synced 2024-07-03 19:24:20 +00:00
![Johannes Anderwald](/assets/img/avatar_default.png)
- Partly implement mouse read completion - Implement read initiation - Implement MouHid_Create, MouHid_Close svn path=/branches/usb-bringup/; revision=54768
43 lines
779 B
C
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);
|