Author: akhaldi
Date: Wed Jan 29 10:54:59 2014
New Revision: 61879
URL:
http://svn.reactos.org/svn/reactos?rev=61879&view=rev
Log:
[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
Added:
trunk/reactos/drivers/input/mouclass/guid.c (with props)
Modified:
trunk/reactos/drivers/input/mouclass/CMakeLists.txt
trunk/reactos/drivers/input/mouclass/misc.c
trunk/reactos/drivers/input/mouclass/mouclass.c
trunk/reactos/drivers/input/mouclass/mouclass.h
Modified: trunk/reactos/drivers/input/mouclass/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/mouclass/CMa…
==============================================================================
--- trunk/reactos/drivers/input/mouclass/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/drivers/input/mouclass/CMakeLists.txt [iso-8859-1] Wed Jan 29 10:54:59
2014
@@ -2,6 +2,7 @@
add_library(mouclass SHARED
misc.c
mouclass.c
+ guid.c
mouclass.rc)
set_module_type(mouclass kernelmodedriver)
Added: trunk/reactos/drivers/input/mouclass/guid.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/mouclass/gui…
==============================================================================
--- trunk/reactos/drivers/input/mouclass/guid.c (added)
+++ trunk/reactos/drivers/input/mouclass/guid.c [iso-8859-1] Wed Jan 29 10:54:59 2014
@@ -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 */
Propchange: trunk/reactos/drivers/input/mouclass/guid.c
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/drivers/input/mouclass/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/mouclass/mis…
==============================================================================
--- trunk/reactos/drivers/input/mouclass/misc.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/input/mouclass/misc.c [iso-8859-1] Wed Jan 29 10:54:59 2014
@@ -8,6 +8,8 @@
*/
#include "mouclass.h"
+
+#include <debug.h>
static IO_COMPLETION_ROUTINE ForwardIrpAndWaitCompletion;
Modified: trunk/reactos/drivers/input/mouclass/mouclass.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/mouclass/mou…
==============================================================================
--- trunk/reactos/drivers/input/mouclass/mouclass.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/input/mouclass/mouclass.c [iso-8859-1] Wed Jan 29 10:54:59 2014
@@ -7,8 +7,12 @@
* PROGRAMMERS: Hervé Poussineau (hpoussin(a)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;
Modified: trunk/reactos/drivers/input/mouclass/mouclass.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/mouclass/mou…
==============================================================================
--- trunk/reactos/drivers/input/mouclass/mouclass.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/input/mouclass/mouclass.h [iso-8859-1] Wed Jan 29 10:54:59 2014
@@ -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