[SERMOUSE]

* Do not include debug.h from within the main header.
* Improve the GUIDs situation.
* Remove one time inclusions from the main header and put them back where they belong.
CORE-7716

svn path=/trunk/; revision=61880
This commit is contained in:
Amine Khaldi
2014-01-29 10:56:25 +00:00
parent 379fe87636
commit 0bf31251ea
8 changed files with 17 additions and 5 deletions
@@ -8,6 +8,8 @@
#include "sermouse.h"
#include <debug.h>
NTSTATUS NTAPI
SermouseCreate(
IN PDEVICE_OBJECT DeviceObject,
+3
View File
@@ -10,6 +10,9 @@
#include "sermouse.h"
#include <ntifs.h>
#include <debug.h>
/* Most of this file is ripped from reactos/drivers/bus/serenum/detect.c */
static NTSTATUS
+2
View File
@@ -8,6 +8,8 @@
#include "sermouse.h"
#include <debug.h>
NTSTATUS NTAPI
SermouseAddDevice(
IN PDRIVER_OBJECT DriverObject,
@@ -8,6 +8,8 @@
#include "sermouse.h"
#include <debug.h>
NTSTATUS NTAPI
SermouseInternalDeviceControl(
IN PDEVICE_OBJECT DeviceObject,
+2
View File
@@ -8,6 +8,8 @@
#include "sermouse.h"
#include <debug.h>
static IO_COMPLETION_ROUTINE ForwardIrpAndWaitCompletion;
static NTSTATUS NTAPI
@@ -10,6 +10,8 @@
#include "sermouse.h"
#include <debug.h>
static NTSTATUS
SermouseDeviceIoControl(
IN PDEVICE_OBJECT DeviceObject,
+2 -1
View File
@@ -6,9 +6,10 @@
* PROGRAMMERS: Copyright 2005-2006 Hervé Poussineau ([email protected])
*/
#define INITGUID
#include "sermouse.h"
#include <debug.h>
static DRIVER_UNLOAD DriverUnload;
static DRIVER_DISPATCH IrpStub;
DRIVER_INITIALIZE DriverEntry;
+2 -4
View File
@@ -1,8 +1,6 @@
#include <ntifs.h>
#include <kbdmou.h>
#include <ntddk.h>
#include <ntddser.h>
#include <ntddmou.h>
#include <debug.h>
#include <kbdmou.h>
#define SERMOUSE_TAG 'uoMS'