mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 03:05:40 +00:00
[KBDCLASS]
* 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=61878
This commit is contained in:
parent
1f5cc0b90b
commit
6b89580cf4
5 changed files with 16 additions and 6 deletions
|
@ -2,6 +2,7 @@
|
|||
add_library(kbdclass SHARED
|
||||
kbdclass.c
|
||||
misc.c
|
||||
guid.c
|
||||
kbdclass.rc)
|
||||
|
||||
set_module_type(kbdclass kernelmodedriver)
|
||||
|
|
8
reactos/drivers/input/kbdclass/guid.c
Normal file
8
reactos/drivers/input/kbdclass/guid.c
Normal file
|
@ -0,0 +1,8 @@
|
|||
/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
|
||||
|
||||
#define STDAPICALLTYPE __stdcall
|
||||
#include <wdm.h>
|
||||
#include <initguid.h>
|
||||
#include <kbdmou.h>
|
||||
|
||||
/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */
|
|
@ -7,9 +7,13 @@
|
|||
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
||||
*/
|
||||
|
||||
#define INITGUID
|
||||
#include "kbdclass.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <pseh/pseh2.h>
|
||||
#include <kbdmou.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>
|
||||
|
||||
#define MAX_PATH 260
|
||||
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
|
||||
#include "kbdclass.h"
|
||||
|
||||
#include <debug.h>
|
||||
|
||||
static IO_COMPLETION_ROUTINE ForwardIrpAndWaitCompletion;
|
||||
|
||||
static NTSTATUS NTAPI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue