[MOUCLASS]

* 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=61879
This commit is contained in:
Amine Khaldi 2014-01-29 10:54:59 +00:00
parent 6b89580cf4
commit 379fe87636
5 changed files with 16 additions and 7 deletions

View file

@ -2,6 +2,7 @@
add_library(mouclass SHARED
misc.c
mouclass.c
guid.c
mouclass.rc)
set_module_type(mouclass kernelmodedriver)

View file

@ -0,0 +1,7 @@
/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
#include <ntdef.h>
#include <initguid.h>
#include <ntddmou.h>
/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */

View file

@ -9,6 +9,8 @@
#include "mouclass.h"
#include <debug.h>
static IO_COMPLETION_ROUTINE ForwardIrpAndWaitCompletion;
static NTSTATUS NTAPI

View file

@ -7,9 +7,13 @@
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
*/
#define INITGUID
#include "mouclass.h"
#include <stdio.h>
#include <kbdmou.h>
#include <pseh/pseh2.h>
#include <debug.h>
static DRIVER_UNLOAD DriverUnload;
static DRIVER_DISPATCH ClassCreate;
static DRIVER_DISPATCH ClassClose;

View file

@ -1,10 +1,5 @@
#include <ntifs.h>
#include <kbdmou.h>
#include <ntddkbd.h>
#include <stdio.h>
#include <pseh/pseh2.h>
#include <debug.h>
#include <ntddmou.h>
#define MAX_PATH 260