[I8042PRT]
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 25 Dec 2013 10:25:08 +0000 (10:25 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 25 Dec 2013 10:25:08 +0000 (10:25 +0000)
* A better way of handling GUIDs thanks to Timo.
CORE-7716

svn path=/trunk/; revision=61394

reactos/drivers/input/i8042prt/CMakeLists.txt
reactos/drivers/input/i8042prt/guid.c [new file with mode: 0644]
reactos/drivers/input/i8042prt/i8042prt.h

index 86557ff..917e7f2 100644 (file)
@@ -9,6 +9,7 @@ add_library(i8042prt SHARED
     ps2pp.c
     readwrite.c
     registry.c
+    guid.c
     i8042prt.rc)
 
 set_module_type(i8042prt kernelmodedriver)
diff --git a/reactos/drivers/input/i8042prt/guid.c b/reactos/drivers/input/i8042prt/guid.c
new file mode 100644 (file)
index 0000000..f6ebc0c
--- /dev/null
@@ -0,0 +1,7 @@
+/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
+
+#include <wdm.h>
+#include <initguid.h>
+#include <poclass.h>
+
+/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */
index 0821121..8001d43 100644 (file)
@@ -1,6 +1,4 @@
 
-#define INITGUID
-
 #include <ntifs.h>
 #include <kbdmou.h>
 #include <ntdd8042.h>