[USB-BRINGUP]
[reactos.git] / drivers / hid / mouhid / mouhid.h
index 0cd8320..39231f5 100644 (file)
 
 typedef struct
 {
+    //
+    // lower device object
+    //
     PDEVICE_OBJECT NextDeviceObject;
+
+    //
+    // irp which is used for reading input reports
+    //
     PIRP Irp;
+
+    //
+    // event 
+    //
     KEVENT Event;
+
+    //
+    // device object for class callback
+    //
     PDEVICE_OBJECT ClassDeviceObject;
+
+    //
+    // class callback
+    //
     PVOID ClassService;
+
+    //
+    // mouse type
+    //
     USHORT MouseIdentifier;
+
+    //
+    // wheel usage page
+    //
     USHORT WheelUsagePage;
 
+    //
+    // usage list length
+    //
     USHORT UsageListLength;
+
+    //
+    // current usage list length
+    //
     PUSAGE CurrentUsageList;
+
+    //
+    // previous usage list
+    //
     PUSAGE PreviousUsageList;
+
+    //
+    // removed usage item list
+    //
     PUSAGE BreakUsageList;
+
+    //
+    // new item usage list
+    //
     PUSAGE MakeUsageList;
+
+    //
+    // preparsed data
+    //
     PVOID PreparsedData;
 
+    //
+    // mdl for reading input report
+    //
     PMDL ReportMDL;
+
+    //
+    // input report buffer
+    //
     PUCHAR Report;
-    ULONG ReportLength;
 
+    //
+    // input report length
+    //
+    ULONG ReportLength;
 
+    //
+    // file object the device is reading reports from
+    //
     PFILE_OBJECT FileObject;
 
 }MOUHID_DEVICE_EXTENSION, *PMOUHID_DEVICE_EXTENSION;