add hid.dll to the build system
Modified: trunk/reactos/bootdata/packages/reactos.dff
Modified: trunk/reactos/lib/directory.xml
Modified: trunk/reactos/lib/hid/hid.c
Added: trunk/reactos/lib/hid/hid.xml
Deleted: trunk/reactos/lib/hid/internal.h
Added: trunk/reactos/lib/hid/precomp.h
Modified: trunk/reactos/lib/hid/stubs.c
_____
Modified: trunk/reactos/bootdata/packages/reactos.dff
--- trunk/reactos/bootdata/packages/reactos.dff 2005-09-27 14:27:14 UTC
(rev 18125)
+++ trunk/reactos/bootdata/packages/reactos.dff 2005-09-27 15:50:49 UTC
(rev 18126)
@@ -88,6 +88,7 @@
lib\gdi32\gdi32.dll 1
lib\gdiplus\gdiplus.dll 1
lib\glu32\glu32.dll 1
+lib\hid\hid.dll 1
lib\imagehlp\imagehlp.dll 1
lib\imm32\imm32.dll 1
lib\iphlpapi\iphlpapi.dll 1
_____
Modified: trunk/reactos/lib/directory.xml
--- trunk/reactos/lib/directory.xml 2005-09-27 14:27:14 UTC (rev
18125)
+++ trunk/reactos/lib/directory.xml 2005-09-27 15:50:49 UTC (rev
18126)
@@ -92,6 +92,9 @@
<directory name="glu32">
<xi:include href="glu32/glu32.xml" />
</directory>
+<directory name="hid">
+ <xi:include href="hid/hid.xml" />
+</directory>
<directory name="imagehlp">
<xi:include href="imagehlp/imagehlp.xml" />
</directory>
Property changes on: trunk/reactos/lib/hid
___________________________________________________________________
Name: svn:ignore
- *.coff
*.dll
*.d
*.a
*.o
*.sym
*.map
*.tmp
+ *.coff
*.dll
*.d
*.a
*.o
*.sym
*.map
*.tmp
GNUmakefile
_____
Modified: trunk/reactos/lib/hid/hid.c
--- trunk/reactos/lib/hid/hid.c 2005-09-27 14:27:14 UTC (rev 18125)
+++ trunk/reactos/lib/hid/hid.c 2005-09-27 15:50:49 UTC (rev 18126)
@@ -1,6 +1,6 @@
/*
* ReactOS Hid User Library
- * Copyright (C) 2004 ReactOS Team
+ * Copyright (C) 2004-2005 ReactOS Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -21,15 +21,12 @@
* PROJECT: ReactOS Hid User Library
* FILE: lib/hid/hid.c
* PURPOSE: ReactOS Hid User Library
+ * PROGRAMMER: Thomas Weidenmueller <w3seek(a)reactos.com>
*
* UPDATE HISTORY:
* 07/12/2004 Created
*/
-#include <windows.h>
-#include <ddk/hidusage.h>
-#include <ddk/hidclass.h>
-#include <ddk/hidpi.h>
-#include "internal.h"
+#include <precomp.h>
HINSTANCE hDllInstance;
_____
Added: trunk/reactos/lib/hid/hid.xml
--- trunk/reactos/lib/hid/hid.xml 2005-09-27 14:27:14 UTC (rev
18125)
+++ trunk/reactos/lib/hid/hid.xml 2005-09-27 15:50:49 UTC (rev
18126)
@@ -0,0 +1,16 @@
+<module name="hid" type="win32dll"
baseaddress="${BASEADDRESS_HID}"
installbase="system32" installname="hid.dll">
+ <importlibrary definition="hid.def" />
+ <include base="hid">.</include>
+ <define name="UNICODE" />
+ <define name="_UNICODE" />
+ <define name="__USE_W32API" />
+ <define name="_WIN32_IE">0x0500</define>
+ <define name="_WIN32_WINNT">0x0600</define>
+ <define name="WINVER">0x0600</define>
+ <library>ntdll</library>
+ <library>kernel32</library>
+ <file>hid.c</file>
+ <file>stubs.c</file>
+ <file>hid.rc</file>
+ <pch>precomp.h</pch>
+</module>
Property changes on: trunk/reactos/lib/hid/hid.xml
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Deleted: trunk/reactos/lib/hid/internal.h
--- trunk/reactos/lib/hid/internal.h 2005-09-27 14:27:14 UTC (rev
18125)
+++ trunk/reactos/lib/hid/internal.h 2005-09-27 15:50:49 UTC (rev
18126)
@@ -1,9 +0,0 @@
-#ifndef __HIDINTERNAL_H
-#define __HIDINTERNAL_H
-
-extern HINSTANCE hDllInstance;
-extern const GUID HidClassGuid;
-
-#endif /* __HIDINTERNAL_H */
-
-/* EOF */
_____
Copied: trunk/reactos/lib/hid/precomp.h (from rev 18125,
trunk/reactos/lib/hid/internal.h)
--- trunk/reactos/lib/hid/internal.h 2005-09-27 14:27:14 UTC (rev
18125)
+++ trunk/reactos/lib/hid/precomp.h 2005-09-27 15:50:49 UTC (rev
18126)
@@ -0,0 +1,18 @@
+#include <ddk/ntddk.h>
+#include <windows.h>
+
+#define _HIDPI_
+#define _HIDPI_NO_FUNCTION_MACROS_
+#include <ddk/hidusage.h>
+#include <ddk/hidclass.h>
+#include <ddk/hidpi.h>
+
+extern HINSTANCE hDllInstance;
+extern const GUID HidClassGuid;
+
+#ifndef UNIMPLEMENTED
+#define UNIMPLEMENTED \
+ DbgPrint("HID: %s at %s:%d is
UNIMPLEMENTED!\n",__FUNCTION__,__FILE__,__LINE__)
+#endif
+
+/* EOF */
_____
Modified: trunk/reactos/lib/hid/stubs.c
--- trunk/reactos/lib/hid/stubs.c 2005-09-27 14:27:14 UTC (rev
18125)
+++ trunk/reactos/lib/hid/stubs.c 2005-09-27 15:50:49 UTC (rev
18126)
@@ -9,14 +9,8 @@
* UPDATE HISTORY:
* 07/12/2004 Created
*/
-#include <windows.h>
-#include <ddk/hidpi.h>
-#include "internal.h"
+#include <precomp.h>
-#define UNIMPLEMENTED \
- DbgPrint("HID: %s at %s:%d is
UNIMPLEMENTED!\n",__FUNCTION__,__FILE__,__LINE__)
-
-
/*
* @unimplemented
*/