mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[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:
parent
6b89580cf4
commit
379fe87636
5 changed files with 16 additions and 7 deletions
|
@ -2,6 +2,7 @@
|
|||
add_library(mouclass SHARED
|
||||
misc.c
|
||||
mouclass.c
|
||||
guid.c
|
||||
mouclass.rc)
|
||||
|
||||
set_module_type(mouclass kernelmodedriver)
|
||||
|
|
7
reactos/drivers/input/mouclass/guid.c
Normal file
7
reactos/drivers/input/mouclass/guid.c
Normal 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 */
|
|
@ -9,6 +9,8 @@
|
|||
|
||||
#include "mouclass.h"
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
static IO_COMPLETION_ROUTINE ForwardIrpAndWaitCompletion;
|
||||
|
||||
static NTSTATUS NTAPI
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue