aboutsummaryrefslogtreecommitdiff
path: root/hidapi/windows/ddk_build
diff options
context:
space:
mode:
Diffstat (limited to 'hidapi/windows/ddk_build')
-rw-r--r--hidapi/windows/ddk_build/.gitignore2
-rw-r--r--hidapi/windows/ddk_build/hidapi.def17
-rw-r--r--hidapi/windows/ddk_build/makefile49
-rw-r--r--hidapi/windows/ddk_build/sources23
4 files changed, 91 insertions, 0 deletions
diff --git a/hidapi/windows/ddk_build/.gitignore b/hidapi/windows/ddk_build/.gitignore
new file mode 100644
index 0000000..823ff0b
--- /dev/null
+++ b/hidapi/windows/ddk_build/.gitignore
@@ -0,0 +1,2 @@
+*.log
+obj*_*_* \ No newline at end of file
diff --git a/hidapi/windows/ddk_build/hidapi.def b/hidapi/windows/ddk_build/hidapi.def
new file mode 100644
index 0000000..05e35af
--- /dev/null
+++ b/hidapi/windows/ddk_build/hidapi.def
@@ -0,0 +1,17 @@
+LIBRARY hidapi
+EXPORTS
+ hid_open @1
+ hid_write @2
+ hid_read @3
+ hid_close @4
+ hid_get_product_string @5
+ hid_get_manufacturer_string @6
+ hid_get_serial_number_string @7
+ hid_get_indexed_string @8
+ hid_error @9
+ hid_set_nonblocking @10
+ hid_enumerate @11
+ hid_open_path @12
+ hid_send_feature_report @13
+ hid_get_feature_report @14
+ \ No newline at end of file
diff --git a/hidapi/windows/ddk_build/makefile b/hidapi/windows/ddk_build/makefile
new file mode 100644
index 0000000..637f712
--- /dev/null
+++ b/hidapi/windows/ddk_build/makefile
@@ -0,0 +1,49 @@
+#############################################################################
+#
+# Copyright (C) Microsoft Corporation 1995, 1996
+# All Rights Reserved.
+#
+# MAKEFILE for HID directory
+#
+#############################################################################
+
+!IFDEF WIN95_BUILD
+
+ROOT=..\..\..\..
+
+VERSIONLIST = debug retail
+IS_32 = TRUE
+IS_SDK = TRUE
+IS_PRIVATE = TRUE
+IS_SDK = TRUE
+IS_DDK = TRUE
+WIN32 = TRUE
+COMMONMKFILE = hidapi.mk
+
+!include $(ROOT)\dev\master.mk
+
+
+!ELSE
+
+#
+# DO NOT EDIT THIS FILE!!! Edit .\sources. if you want to add a new source
+# file to this component. This file merely indirects to the real make file
+# that is shared by all the driver components of the Windows NT DDK
+#
+
+!IF DEFINED(_NT_TARGET_VERSION)
+! IF $(_NT_TARGET_VERSION)>=0x501
+! INCLUDE $(NTMAKEENV)\makefile.def
+! ELSE
+# Only warn once per directory
+! INCLUDE $(NTMAKEENV)\makefile.plt
+! IF "$(BUILD_PASS)"=="PASS1"
+! message BUILDMSG: Warning : The sample "$(MAKEDIR)" is not valid for the current OS target.
+! ENDIF
+! ENDIF
+!ELSE
+! INCLUDE $(NTMAKEENV)\makefile.def
+!ENDIF
+
+!ENDIF
+
diff --git a/hidapi/windows/ddk_build/sources b/hidapi/windows/ddk_build/sources
new file mode 100644
index 0000000..7f06a09
--- /dev/null
+++ b/hidapi/windows/ddk_build/sources
@@ -0,0 +1,23 @@
+TARGETNAME=hidapi
+TARGETTYPE=DYNLINK
+UMTYPE=console
+UMENTRY=main
+
+MSC_WARNING_LEVEL=/W3 /WX
+
+TARGETLIBS=$(SDK_LIB_PATH)\hid.lib \
+ $(SDK_LIB_PATH)\setupapi.lib \
+ $(SDK_LIB_PATH)\kernel32.lib \
+ $(SDK_LIB_PATH)\comdlg32.lib
+
+USE_MSVCRT=1
+
+INCLUDES= ..\..\hidapi
+SOURCES= ..\hid.c \
+
+
+TARGET_DESTINATION=retail
+
+MUI=0
+MUI_COMMENT="HID Interface DLL"
+