add hid.dll to the build system

svn path=/trunk/; revision=18126
This commit is contained in:
Thomas Bluemel 2005-09-27 15:50:49 +00:00
parent e521cf2597
commit 514a32bcff
7 changed files with 42 additions and 22 deletions

View file

@ -88,6 +88,7 @@ lib\freetype\freetype.dll 1
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

View file

@ -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>

View file

@ -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@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;

16
reactos/lib/hid/hid.xml Normal file
View file

@ -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>

View file

@ -1,9 +0,0 @@
#ifndef __HIDINTERNAL_H
#define __HIDINTERNAL_H
extern HINSTANCE hDllInstance;
extern const GUID HidClassGuid;
#endif /* __HIDINTERNAL_H */
/* EOF */

18
reactos/lib/hid/precomp.h Normal file
View file

@ -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 */

View file

@ -9,13 +9,7 @@
* UPDATE HISTORY:
* 07/12/2004 Created
*/
#include <windows.h>
#include <ddk/hidpi.h>
#include "internal.h"
#define UNIMPLEMENTED \
DbgPrint("HID: %s at %s:%d is UNIMPLEMENTED!\n",__FUNCTION__,__FILE__,__LINE__)
#include <precomp.h>
/*
* @unimplemented