reactos/drivers/usb/nt4compat/usbdrv/mouse.h
Cameron Gutman c2d0d784c7 [USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!

svn path=/branches/usb-bringup-trunk/; revision=55018
2012-01-20 20:58:46 +00:00

31 lines
756 B
C

#ifndef __MOUSE_H__
#define __MOUSE_H__
#include "kbdmou.h"
typedef struct _MOUSE_DRVR_EXTENSION
{
PUSB_INTERFACE_DESC pif_desc;
PUSB_DEV_MANAGER dev_mgr;
signed char mouse_data[8];
UCHAR btn_old;
struct _MOUSE_DEVICE_EXTENSION *device_ext; // back pointer
} MOUSE_DRVR_EXTENSION, *PMOUSE_DRVR_EXTENSION;
typedef struct _MOUSE_DEVICE_EXTENSION
{
DEVEXT_HEADER hdr; // mandatory header
PMOUSE_DRVR_EXTENSION DriverExtension;
CONNECT_DATA ConnectData;
PDEVICE_OBJECT Fdo;
} MOUSE_DEVICE_EXTENSION, *PMOUSE_DEVICE_EXTENSION;
BOOLEAN
mouse_driver_init(PUSB_DEV_MANAGER dev_mgr, PUSB_DRIVER pdriver);
BOOLEAN
mouse_driver_destroy(PUSB_DEV_MANAGER dev_mgr, PUSB_DRIVER pdriver);
#endif