usb 1.7.2-prebuild

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/.github/workflows/prebuild.yml +62 -0
  2. package/.gitmodules +3 -0
  3. package/LICENSE +7 -0
  4. package/Readme.md +339 -0
  5. package/binding.gyp +90 -0
  6. package/libusb/.gitattributes +11 -0
  7. package/libusb/.private/README.txt +5 -0
  8. package/libusb/.private/bd.cmd +89 -0
  9. package/libusb/.private/bm.sh +54 -0
  10. package/libusb/.private/bwince.cmd +57 -0
  11. package/libusb/.private/post-rewrite.sh +28 -0
  12. package/libusb/.private/pre-commit.sh +42 -0
  13. package/libusb/.private/wbs.txt +61 -0
  14. package/libusb/.private/wbs_wince.txt +42 -0
  15. package/libusb/AUTHORS +78 -0
  16. package/libusb/COPYING +504 -0
  17. package/libusb/ChangeLog +211 -0
  18. package/libusb/INSTALL +234 -0
  19. package/libusb/INSTALL_WIN.txt +73 -0
  20. package/libusb/Makefile.am +28 -0
  21. package/libusb/NEWS +2 -0
  22. package/libusb/PORTING +94 -0
  23. package/libusb/README +28 -0
  24. package/libusb/README.git +41 -0
  25. package/libusb/TODO +2 -0
  26. package/libusb/Xcode/common.xcconfig +49 -0
  27. package/libusb/Xcode/debug.xcconfig +29 -0
  28. package/libusb/Xcode/libusb.xcconfig +21 -0
  29. package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +1 -0
  30. package/libusb/Xcode/libusb_debug.xcconfig +21 -0
  31. package/libusb/Xcode/libusb_release.xcconfig +21 -0
  32. package/libusb/Xcode/release.xcconfig +30 -0
  33. package/libusb/android/README +114 -0
  34. package/libusb/android/jni/Android.mk +23 -0
  35. package/libusb/android/jni/Application.mk +24 -0
  36. package/libusb/android/jni/examples.mk +134 -0
  37. package/libusb/android/jni/libusb.mk +54 -0
  38. package/libusb/android/jni/tests.mk +56 -0
  39. package/libusb/autogen.sh +8 -0
  40. package/libusb/bootstrap.sh +19 -0
  41. package/libusb/configure.ac +304 -0
  42. package/libusb/doc/Makefile.am +9 -0
  43. package/libusb/doc/doxygen.cfg.in +1288 -0
  44. package/libusb/doc/libusb.png +0 -0
  45. package/libusb/examples/Makefile.am +19 -0
  46. package/libusb/examples/dpfp.c +506 -0
  47. package/libusb/examples/dpfp_threaded.c +544 -0
  48. package/libusb/examples/ezusb.c +831 -0
  49. package/libusb/examples/ezusb.h +120 -0
  50. package/libusb/examples/fxload.c +287 -0
  51. package/libusb/examples/getopt/getopt.c +1060 -0
  52. package/libusb/examples/getopt/getopt.h +180 -0
  53. package/libusb/examples/getopt/getopt1.c +188 -0
  54. package/libusb/examples/hotplugtest.c +104 -0
  55. package/libusb/examples/listdevs.c +71 -0
  56. package/libusb/examples/sam3u_benchmark.c +193 -0
  57. package/libusb/examples/xusb.c +1129 -0
  58. package/libusb/libusb/Makefile.am +75 -0
  59. package/libusb/libusb/core.c +2342 -0
  60. package/libusb/libusb/descriptor.c +1199 -0
  61. package/libusb/libusb/hotplug.c +327 -0
  62. package/libusb/libusb/hotplug.h +82 -0
  63. package/libusb/libusb/io.c +2631 -0
  64. package/libusb/libusb/libusb-1.0.def +166 -0
  65. package/libusb/libusb/libusb-1.0.rc +61 -0
  66. package/libusb/libusb/libusb.h +1998 -0
  67. package/libusb/libusb/libusbi.h +1040 -0
  68. package/libusb/libusb/os/darwin_usb.c +2009 -0
  69. package/libusb/libusb/os/darwin_usb.h +162 -0
  70. package/libusb/libusb/os/linux_netlink.c +369 -0
  71. package/libusb/libusb/os/linux_udev.c +307 -0
  72. package/libusb/libusb/os/linux_usbfs.c +2695 -0
  73. package/libusb/libusb/os/linux_usbfs.h +192 -0
  74. package/libusb/libusb/os/netbsd_usb.c +738 -0
  75. package/libusb/libusb/os/openbsd_usb.c +832 -0
  76. package/libusb/libusb/os/poll_posix.c +51 -0
  77. package/libusb/libusb/os/poll_posix.h +11 -0
  78. package/libusb/libusb/os/poll_windows.c +796 -0
  79. package/libusb/libusb/os/poll_windows.h +131 -0
  80. package/libusb/libusb/os/threads_posix.c +82 -0
  81. package/libusb/libusb/os/threads_posix.h +50 -0
  82. package/libusb/libusb/os/threads_windows.c +212 -0
  83. package/libusb/libusb/os/threads_windows.h +87 -0
  84. package/libusb/libusb/os/wince_usb.c +1032 -0
  85. package/libusb/libusb/os/wince_usb.h +131 -0
  86. package/libusb/libusb/os/windows_common.h +108 -0
  87. package/libusb/libusb/os/windows_usb.c +5347 -0
  88. package/libusb/libusb/os/windows_usb.h +971 -0
  89. package/libusb/libusb/strerror.c +199 -0
  90. package/libusb/libusb/sync.c +307 -0
  91. package/libusb/libusb/version.h +18 -0
  92. package/libusb/libusb/version_nano.h +1 -0
  93. package/libusb/libusb-1.0.pc.in +11 -0
  94. package/libusb/msvc/config.h +50 -0
  95. package/libusb/msvc/ddk_build.cmd +175 -0
  96. package/libusb/msvc/errno.h +102 -0
  97. package/libusb/msvc/fxload_2010.vcxproj +170 -0
  98. package/libusb/msvc/fxload_2010.vcxproj.filters +25 -0
  99. package/libusb/msvc/fxload_2012.vcxproj +174 -0
  100. package/libusb/msvc/fxload_2012.vcxproj.filters +25 -0
  101. package/libusb/msvc/fxload_2013.vcxproj +174 -0
  102. package/libusb/msvc/fxload_sources +23 -0
  103. package/libusb/msvc/getopt_2005.vcproj +288 -0
  104. package/libusb/msvc/getopt_2010.vcxproj +131 -0
  105. package/libusb/msvc/getopt_2010.vcxproj.filters +26 -0
  106. package/libusb/msvc/getopt_2012.vcxproj +136 -0
  107. package/libusb/msvc/getopt_2012.vcxproj.filters +26 -0
  108. package/libusb/msvc/getopt_2013.vcxproj +136 -0
  109. package/libusb/msvc/getopt_sources +20 -0
  110. package/libusb/msvc/hotplugtest_2010.vcxproj +163 -0
  111. package/libusb/msvc/hotplugtest_2010.vcxproj.filters +14 -0
  112. package/libusb/msvc/hotplugtest_2012.vcxproj +167 -0
  113. package/libusb/msvc/hotplugtest_2012.vcxproj.filters +14 -0
  114. package/libusb/msvc/hotplugtest_2013.vcxproj +167 -0
  115. package/libusb/msvc/hotplugtest_sources +20 -0
  116. package/libusb/msvc/inttypes.h +295 -0
  117. package/libusb/msvc/libusb.dsw +71 -0
  118. package/libusb/msvc/libusb_2005.sln +95 -0
  119. package/libusb/msvc/libusb_2010.sln +94 -0
  120. package/libusb/msvc/libusb_2012.sln +94 -0
  121. package/libusb/msvc/libusb_2013.sln +100 -0
  122. package/libusb/msvc/libusb_2015.sln +100 -0
  123. package/libusb/msvc/libusb_dll.dsp +194 -0
  124. package/libusb/msvc/libusb_dll_2005.vcproj +436 -0
  125. package/libusb/msvc/libusb_dll_2010.vcxproj +170 -0
  126. package/libusb/msvc/libusb_dll_2010.vcxproj.filters +81 -0
  127. package/libusb/msvc/libusb_dll_2012.vcxproj +175 -0
  128. package/libusb/msvc/libusb_dll_2012.vcxproj.filters +84 -0
  129. package/libusb/msvc/libusb_dll_2013.vcxproj +175 -0
  130. package/libusb/msvc/libusb_dll_wince.vcproj +1243 -0
  131. package/libusb/msvc/libusb_sources +38 -0
  132. package/libusb/msvc/libusb_static.dsp +174 -0
  133. package/libusb/msvc/libusb_static_2005.vcproj +362 -0
  134. package/libusb/msvc/libusb_static_2010.vcxproj +156 -0
  135. package/libusb/msvc/libusb_static_2010.vcxproj.filters +74 -0
  136. package/libusb/msvc/libusb_static_2012.vcxproj +160 -0
  137. package/libusb/msvc/libusb_static_2012.vcxproj.filters +74 -0
  138. package/libusb/msvc/libusb_static_2013.vcxproj +160 -0
  139. package/libusb/msvc/libusb_static_wince.vcproj +1185 -0
  140. package/libusb/msvc/libusb_wince.sln +246 -0
  141. package/libusb/msvc/listdevs.dsp +103 -0
  142. package/libusb/msvc/listdevs_2005.vcproj +360 -0
  143. package/libusb/msvc/listdevs_2010.vcxproj +165 -0
  144. package/libusb/msvc/listdevs_2010.vcxproj.filters +14 -0
  145. package/libusb/msvc/listdevs_2012.vcxproj +169 -0
  146. package/libusb/msvc/listdevs_2012.vcxproj.filters +14 -0
  147. package/libusb/msvc/listdevs_2013.vcxproj +169 -0
  148. package/libusb/msvc/listdevs_sources +19 -0
  149. package/libusb/msvc/listdevs_wince.vcproj +1120 -0
  150. package/libusb/msvc/missing.c +80 -0
  151. package/libusb/msvc/missing.h +32 -0
  152. package/libusb/msvc/stdint.h +256 -0
  153. package/libusb/msvc/stress_2005.vcproj +390 -0
  154. package/libusb/msvc/stress_2010.vcxproj +167 -0
  155. package/libusb/msvc/stress_2010.vcxproj.filters +25 -0
  156. package/libusb/msvc/stress_2012.vcxproj +171 -0
  157. package/libusb/msvc/stress_2012.vcxproj.filters +25 -0
  158. package/libusb/msvc/stress_2013.vcxproj +171 -0
  159. package/libusb/msvc/stress_wince.vcproj +1128 -0
  160. package/libusb/msvc/xusb.dsp +102 -0
  161. package/libusb/msvc/xusb_2005.vcproj +344 -0
  162. package/libusb/msvc/xusb_2010.vcxproj +163 -0
  163. package/libusb/msvc/xusb_2010.vcxproj.filters +14 -0
  164. package/libusb/msvc/xusb_2012.vcxproj +167 -0
  165. package/libusb/msvc/xusb_2012.vcxproj.filters +14 -0
  166. package/libusb/msvc/xusb_2013.vcxproj +167 -0
  167. package/libusb/msvc/xusb_sources +20 -0
  168. package/libusb/msvc/xusb_wince.vcproj +1120 -0
  169. package/libusb/tests/Makefile.am +6 -0
  170. package/libusb/tests/libusb_testlib.h +107 -0
  171. package/libusb/tests/stress.c +160 -0
  172. package/libusb/tests/testlib.c +281 -0
  173. package/libusb.gypi +136 -0
  174. package/libusb_config/config.h +1 -0
  175. package/package.json +69 -0
  176. package/src/device.cc +412 -0
  177. package/src/helpers.h +64 -0
  178. package/src/node_usb.cc +319 -0
  179. package/src/node_usb.h +120 -0
  180. package/src/transfer.cc +148 -0
  181. package/src/uv_async_queue.h +33 -0
  182. package/test/usb.coffee +191 -0
  183. package/usb.js +524 -0
@@ -0,0 +1,102 @@
1
+ # Microsoft Developer Studio Project File - Name="xusb" - Package Owner=<4>
2
+ # Microsoft Developer Studio Generated Build File, Format Version 6.00
3
+ # ** DO NOT EDIT **
4
+
5
+ # TARGTYPE "Win32 (x86) Console Application" 0x0103
6
+
7
+ CFG=xusb - Win32 Debug
8
+ !MESSAGE This is not a valid makefile. To build this project using NMAKE,
9
+ !MESSAGE use the Export Makefile command and run
10
+ !MESSAGE
11
+ !MESSAGE NMAKE /f "xusb.mak".
12
+ !MESSAGE
13
+ !MESSAGE You can specify a configuration when running NMAKE
14
+ !MESSAGE by defining the macro CFG on the command line. For example:
15
+ !MESSAGE
16
+ !MESSAGE NMAKE /f "xusb.mak" CFG="xusb - Win32 Debug"
17
+ !MESSAGE
18
+ !MESSAGE Possible choices for configuration are:
19
+ !MESSAGE
20
+ !MESSAGE "xusb - Win32 Release" (based on "Win32 (x86) Console Application")
21
+ !MESSAGE "xusb - Win32 Debug" (based on "Win32 (x86) Console Application")
22
+ !MESSAGE
23
+
24
+ # Begin Project
25
+ # PROP AllowPerConfigDependencies 0
26
+ # PROP Scc_ProjName ""
27
+ # PROP Scc_LocalPath ""
28
+ CPP=cl.exe
29
+ RSC=rc.exe
30
+
31
+ !IF "$(CFG)" == "xusb - Win32 Release"
32
+
33
+ # PROP BASE Use_MFC 0
34
+ # PROP BASE Use_Debug_Libraries 0
35
+ # PROP BASE Output_Dir "Release"
36
+ # PROP BASE Intermediate_Dir "Release"
37
+ # PROP BASE Target_Dir ""
38
+ # PROP Use_MFC 0
39
+ # PROP Use_Debug_Libraries 0
40
+ # PROP Output_Dir "../Win32/Release/examples"
41
+ # PROP Intermediate_Dir "../Win32/Release/examples/xusb"
42
+ # PROP Ignore_Export_Lib 0
43
+ # PROP Target_Dir ""
44
+ # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /FD /c
45
+ # ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I "../libusb" /I "." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /U "_MBCS" /FR /FD /EHsc /c
46
+ # ADD BASE RSC /l 0x409 /d "NDEBUG"
47
+ # ADD RSC /l 0x409 /d "NDEBUG"
48
+ BSC32=bscmake.exe
49
+ # ADD BASE BSC32 /nologo
50
+ # ADD BSC32 /nologo
51
+ LINK32=link.exe
52
+ # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
53
+ # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
54
+
55
+ !ELSEIF "$(CFG)" == "xusb - Win32 Debug"
56
+
57
+ # PROP BASE Use_MFC 0
58
+ # PROP BASE Use_Debug_Libraries 1
59
+ # PROP BASE Output_Dir "xusb___Win32_Debug"
60
+ # PROP BASE Intermediate_Dir "xusb___Win32_Debug"
61
+ # PROP BASE Target_Dir ""
62
+ # PROP Use_MFC 0
63
+ # PROP Use_Debug_Libraries 1
64
+ # PROP Output_Dir "../Win32/Debug/examples"
65
+ # PROP Intermediate_Dir "../Win32/Debug/examples/xusb"
66
+ # PROP Ignore_Export_Lib 0
67
+ # PROP Target_Dir ""
68
+ # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /FD /GZ /c
69
+ # ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "." /I "../libusb" /I "." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /U "_MBCS" /FR /FD /GZ /EHsc /c
70
+ # ADD BASE RSC /l 0x409 /d "_DEBUG"
71
+ # ADD RSC /l 0x409 /d "_DEBUG"
72
+ BSC32=bscmake.exe
73
+ # ADD BASE BSC32 /nologo
74
+ # ADD BSC32 /nologo /n "../Win32/Debug/dll/core.sbr" "../Win32/Debug/dll/descriptor.sbr" "../Win32/Debug/dll/io.sbr" "../Win32/Debug/dll/sync.sbr" "../Win32/Debug/dll/poll_windows.sbr" "../Win32/Debug/dll/threads_windows.sbr" "../Win32/Debug/dll/windows_usb.sbr"
75
+ LINK32=link.exe
76
+ # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
77
+ # ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
78
+
79
+ !ENDIF
80
+
81
+ # Begin Target
82
+
83
+ # Name "xusb - Win32 Release"
84
+ # Name "xusb - Win32 Debug"
85
+ # Begin Group "Source Files"
86
+
87
+ # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
88
+ # Begin Source File
89
+
90
+ SOURCE=..\examples\xusb.c
91
+ # End Source File
92
+ # End Group
93
+ # Begin Group "Header Files"
94
+
95
+ # PROP Default_Filter "h;hpp;hxx;hm;inl"
96
+ # End Group
97
+ # Begin Group "Resource Files"
98
+
99
+ # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
100
+ # End Group
101
+ # End Target
102
+ # End Project
@@ -0,0 +1,344 @@
1
+ <?xml version="1.0" encoding="Windows-1252"?>
2
+ <VisualStudioProject
3
+ ProjectType="Visual C++"
4
+ Version="8.00"
5
+ Name="xusb"
6
+ ProjectGUID="{08A6FA39-21B7-4A05-9252-2F9864A5E5A4}"
7
+ RootNamespace="examples"
8
+ Keyword="Win32Proj"
9
+ >
10
+ <Platforms>
11
+ <Platform
12
+ Name="Win32"
13
+ />
14
+ <Platform
15
+ Name="x64"
16
+ />
17
+ </Platforms>
18
+ <ToolFiles>
19
+ </ToolFiles>
20
+ <Configurations>
21
+ <Configuration
22
+ Name="Debug|Win32"
23
+ OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\examples"
24
+ IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)"
25
+ ConfigurationType="1"
26
+ CharacterSet="1"
27
+ >
28
+ <Tool
29
+ Name="VCPreBuildEventTool"
30
+ />
31
+ <Tool
32
+ Name="VCCustomBuildTool"
33
+ />
34
+ <Tool
35
+ Name="VCXMLDataGeneratorTool"
36
+ />
37
+ <Tool
38
+ Name="VCWebServiceProxyGeneratorTool"
39
+ />
40
+ <Tool
41
+ Name="VCMIDLTool"
42
+ />
43
+ <Tool
44
+ Name="VCCLCompilerTool"
45
+ Optimization="0"
46
+ AdditionalIncludeDirectories=".;..\libusb"
47
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS"
48
+ MinimalRebuild="true"
49
+ BasicRuntimeChecks="3"
50
+ RuntimeLibrary="3"
51
+ UsePrecompiledHeader="0"
52
+ WarningLevel="3"
53
+ Detect64BitPortabilityProblems="false"
54
+ DebugInformationFormat="4"
55
+ />
56
+ <Tool
57
+ Name="VCManagedResourceCompilerTool"
58
+ />
59
+ <Tool
60
+ Name="VCResourceCompilerTool"
61
+ />
62
+ <Tool
63
+ Name="VCPreLinkEventTool"
64
+ />
65
+ <Tool
66
+ Name="VCLinkerTool"
67
+ LinkIncremental="2"
68
+ GenerateDebugInformation="true"
69
+ SubSystem="1"
70
+ TargetMachine="1"
71
+ />
72
+ <Tool
73
+ Name="VCALinkTool"
74
+ />
75
+ <Tool
76
+ Name="VCManifestTool"
77
+ />
78
+ <Tool
79
+ Name="VCXDCMakeTool"
80
+ />
81
+ <Tool
82
+ Name="VCBscMakeTool"
83
+ />
84
+ <Tool
85
+ Name="VCFxCopTool"
86
+ />
87
+ <Tool
88
+ Name="VCAppVerifierTool"
89
+ />
90
+ <Tool
91
+ Name="VCWebDeploymentTool"
92
+ />
93
+ <Tool
94
+ Name="VCPostBuildEventTool"
95
+ />
96
+ </Configuration>
97
+ <Configuration
98
+ Name="Release|Win32"
99
+ OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\examples"
100
+ IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)"
101
+ ConfigurationType="1"
102
+ CharacterSet="1"
103
+ WholeProgramOptimization="1"
104
+ >
105
+ <Tool
106
+ Name="VCPreBuildEventTool"
107
+ />
108
+ <Tool
109
+ Name="VCCustomBuildTool"
110
+ />
111
+ <Tool
112
+ Name="VCXMLDataGeneratorTool"
113
+ />
114
+ <Tool
115
+ Name="VCWebServiceProxyGeneratorTool"
116
+ />
117
+ <Tool
118
+ Name="VCMIDLTool"
119
+ />
120
+ <Tool
121
+ Name="VCCLCompilerTool"
122
+ AdditionalIncludeDirectories=".;..\libusb"
123
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS"
124
+ RuntimeLibrary="2"
125
+ UsePrecompiledHeader="0"
126
+ WarningLevel="3"
127
+ Detect64BitPortabilityProblems="false"
128
+ DebugInformationFormat="3"
129
+ />
130
+ <Tool
131
+ Name="VCManagedResourceCompilerTool"
132
+ />
133
+ <Tool
134
+ Name="VCResourceCompilerTool"
135
+ />
136
+ <Tool
137
+ Name="VCPreLinkEventTool"
138
+ />
139
+ <Tool
140
+ Name="VCLinkerTool"
141
+ LinkIncremental="1"
142
+ GenerateDebugInformation="true"
143
+ SubSystem="1"
144
+ OptimizeReferences="2"
145
+ EnableCOMDATFolding="2"
146
+ TargetMachine="1"
147
+ />
148
+ <Tool
149
+ Name="VCALinkTool"
150
+ />
151
+ <Tool
152
+ Name="VCManifestTool"
153
+ />
154
+ <Tool
155
+ Name="VCXDCMakeTool"
156
+ />
157
+ <Tool
158
+ Name="VCBscMakeTool"
159
+ />
160
+ <Tool
161
+ Name="VCFxCopTool"
162
+ />
163
+ <Tool
164
+ Name="VCAppVerifierTool"
165
+ />
166
+ <Tool
167
+ Name="VCWebDeploymentTool"
168
+ />
169
+ <Tool
170
+ Name="VCPostBuildEventTool"
171
+ />
172
+ </Configuration>
173
+ <Configuration
174
+ Name="Debug|x64"
175
+ OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\examples"
176
+ IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)"
177
+ ConfigurationType="1"
178
+ CharacterSet="1"
179
+ >
180
+ <Tool
181
+ Name="VCPreBuildEventTool"
182
+ />
183
+ <Tool
184
+ Name="VCCustomBuildTool"
185
+ />
186
+ <Tool
187
+ Name="VCXMLDataGeneratorTool"
188
+ />
189
+ <Tool
190
+ Name="VCWebServiceProxyGeneratorTool"
191
+ />
192
+ <Tool
193
+ Name="VCMIDLTool"
194
+ TargetEnvironment="3"
195
+ />
196
+ <Tool
197
+ Name="VCCLCompilerTool"
198
+ Optimization="0"
199
+ AdditionalIncludeDirectories=".;..\libusb"
200
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS"
201
+ MinimalRebuild="true"
202
+ BasicRuntimeChecks="3"
203
+ RuntimeLibrary="3"
204
+ UsePrecompiledHeader="0"
205
+ WarningLevel="3"
206
+ Detect64BitPortabilityProblems="false"
207
+ DebugInformationFormat="3"
208
+ />
209
+ <Tool
210
+ Name="VCManagedResourceCompilerTool"
211
+ />
212
+ <Tool
213
+ Name="VCResourceCompilerTool"
214
+ />
215
+ <Tool
216
+ Name="VCPreLinkEventTool"
217
+ />
218
+ <Tool
219
+ Name="VCLinkerTool"
220
+ LinkIncremental="2"
221
+ GenerateDebugInformation="true"
222
+ SubSystem="1"
223
+ TargetMachine="17"
224
+ />
225
+ <Tool
226
+ Name="VCALinkTool"
227
+ />
228
+ <Tool
229
+ Name="VCManifestTool"
230
+ />
231
+ <Tool
232
+ Name="VCXDCMakeTool"
233
+ />
234
+ <Tool
235
+ Name="VCBscMakeTool"
236
+ />
237
+ <Tool
238
+ Name="VCFxCopTool"
239
+ />
240
+ <Tool
241
+ Name="VCAppVerifierTool"
242
+ />
243
+ <Tool
244
+ Name="VCWebDeploymentTool"
245
+ />
246
+ <Tool
247
+ Name="VCPostBuildEventTool"
248
+ />
249
+ </Configuration>
250
+ <Configuration
251
+ Name="Release|x64"
252
+ OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\examples"
253
+ IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)"
254
+ ConfigurationType="1"
255
+ CharacterSet="1"
256
+ WholeProgramOptimization="1"
257
+ >
258
+ <Tool
259
+ Name="VCPreBuildEventTool"
260
+ />
261
+ <Tool
262
+ Name="VCCustomBuildTool"
263
+ />
264
+ <Tool
265
+ Name="VCXMLDataGeneratorTool"
266
+ />
267
+ <Tool
268
+ Name="VCWebServiceProxyGeneratorTool"
269
+ />
270
+ <Tool
271
+ Name="VCMIDLTool"
272
+ TargetEnvironment="3"
273
+ />
274
+ <Tool
275
+ Name="VCCLCompilerTool"
276
+ AdditionalIncludeDirectories=".;..\libusb"
277
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS"
278
+ RuntimeLibrary="2"
279
+ UsePrecompiledHeader="0"
280
+ WarningLevel="3"
281
+ Detect64BitPortabilityProblems="false"
282
+ DebugInformationFormat="3"
283
+ />
284
+ <Tool
285
+ Name="VCManagedResourceCompilerTool"
286
+ />
287
+ <Tool
288
+ Name="VCResourceCompilerTool"
289
+ />
290
+ <Tool
291
+ Name="VCPreLinkEventTool"
292
+ />
293
+ <Tool
294
+ Name="VCLinkerTool"
295
+ LinkIncremental="1"
296
+ GenerateDebugInformation="true"
297
+ SubSystem="1"
298
+ OptimizeReferences="2"
299
+ EnableCOMDATFolding="2"
300
+ TargetMachine="17"
301
+ />
302
+ <Tool
303
+ Name="VCALinkTool"
304
+ />
305
+ <Tool
306
+ Name="VCManifestTool"
307
+ />
308
+ <Tool
309
+ Name="VCXDCMakeTool"
310
+ />
311
+ <Tool
312
+ Name="VCBscMakeTool"
313
+ />
314
+ <Tool
315
+ Name="VCFxCopTool"
316
+ />
317
+ <Tool
318
+ Name="VCAppVerifierTool"
319
+ />
320
+ <Tool
321
+ Name="VCWebDeploymentTool"
322
+ />
323
+ <Tool
324
+ Name="VCPostBuildEventTool"
325
+ />
326
+ </Configuration>
327
+ </Configurations>
328
+ <References>
329
+ </References>
330
+ <Files>
331
+ <Filter
332
+ Name="Source Files"
333
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
334
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
335
+ >
336
+ <File
337
+ RelativePath="..\examples\xusb.c"
338
+ >
339
+ </File>
340
+ </Filter>
341
+ </Files>
342
+ <Globals>
343
+ </Globals>
344
+ </VisualStudioProject>
@@ -0,0 +1,163 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup Label="ProjectConfigurations">
4
+ <ProjectConfiguration Include="Debug|Win32">
5
+ <Configuration>Debug</Configuration>
6
+ <Platform>Win32</Platform>
7
+ </ProjectConfiguration>
8
+ <ProjectConfiguration Include="Debug|x64">
9
+ <Configuration>Debug</Configuration>
10
+ <Platform>x64</Platform>
11
+ </ProjectConfiguration>
12
+ <ProjectConfiguration Include="Release|Win32">
13
+ <Configuration>Release</Configuration>
14
+ <Platform>Win32</Platform>
15
+ </ProjectConfiguration>
16
+ <ProjectConfiguration Include="Release|x64">
17
+ <Configuration>Release</Configuration>
18
+ <Platform>x64</Platform>
19
+ </ProjectConfiguration>
20
+ </ItemGroup>
21
+ <PropertyGroup Label="Globals">
22
+ <ProjectName>xusb</ProjectName>
23
+ <ProjectGuid>{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}</ProjectGuid>
24
+ <RootNamespace>examples</RootNamespace>
25
+ <Keyword>Win32Proj</Keyword>
26
+ </PropertyGroup>
27
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
29
+ <ConfigurationType>Application</ConfigurationType>
30
+ <CharacterSet>Unicode</CharacterSet>
31
+ <WholeProgramOptimization>true</WholeProgramOptimization>
32
+ </PropertyGroup>
33
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
34
+ <ConfigurationType>Application</ConfigurationType>
35
+ <CharacterSet>Unicode</CharacterSet>
36
+ </PropertyGroup>
37
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
38
+ <ConfigurationType>Application</ConfigurationType>
39
+ <CharacterSet>Unicode</CharacterSet>
40
+ <WholeProgramOptimization>true</WholeProgramOptimization>
41
+ </PropertyGroup>
42
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
43
+ <ConfigurationType>Application</ConfigurationType>
44
+ <CharacterSet>Unicode</CharacterSet>
45
+ </PropertyGroup>
46
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
47
+ <ImportGroup Label="ExtensionSettings">
48
+ </ImportGroup>
49
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
50
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
51
+ </ImportGroup>
52
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
53
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
54
+ </ImportGroup>
55
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
56
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
57
+ </ImportGroup>
58
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
59
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
60
+ </ImportGroup>
61
+ <PropertyGroup Label="UserMacros" />
62
+ <PropertyGroup>
63
+ <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
64
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
65
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
66
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
67
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
68
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
69
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
70
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
71
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
72
+ </PropertyGroup>
73
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
74
+ <BuildLog>
75
+ <Path>$(IntDir)$(ProjectName).htm</Path>
76
+ </BuildLog>
77
+ <ClCompile>
78
+ <Optimization>Disabled</Optimization>
79
+ <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
80
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
81
+ <MinimalRebuild>true</MinimalRebuild>
82
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
83
+ <WarningLevel>Level3</WarningLevel>
84
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
85
+ </ClCompile>
86
+ <Link>
87
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
88
+ <GenerateDebugInformation>true</GenerateDebugInformation>
89
+ <SubSystem>Console</SubSystem>
90
+ <TargetMachine>MachineX86</TargetMachine>
91
+ </Link>
92
+ </ItemDefinitionGroup>
93
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
94
+ <BuildLog>
95
+ <Path>$(IntDir)$(ProjectName).htm</Path>
96
+ </BuildLog>
97
+ <Midl>
98
+ <TargetEnvironment>X64</TargetEnvironment>
99
+ </Midl>
100
+ <ClCompile>
101
+ <Optimization>Disabled</Optimization>
102
+ <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
103
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
104
+ <MinimalRebuild>true</MinimalRebuild>
105
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
106
+ <WarningLevel>Level3</WarningLevel>
107
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
108
+ </ClCompile>
109
+ <Link>
110
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
111
+ <GenerateDebugInformation>true</GenerateDebugInformation>
112
+ <SubSystem>Console</SubSystem>
113
+ <TargetMachine>MachineX64</TargetMachine>
114
+ </Link>
115
+ </ItemDefinitionGroup>
116
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
117
+ <BuildLog>
118
+ <Path>$(IntDir)$(ProjectName).htm</Path>
119
+ </BuildLog>
120
+ <ClCompile>
121
+ <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
122
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
123
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
124
+ <WarningLevel>Level3</WarningLevel>
125
+ </ClCompile>
126
+ <Link>
127
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
128
+ <SubSystem>Console</SubSystem>
129
+ <TargetMachine>MachineX86</TargetMachine>
130
+ </Link>
131
+ </ItemDefinitionGroup>
132
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
133
+ <BuildLog>
134
+ <Path>$(IntDir)$(ProjectName).htm</Path>
135
+ </BuildLog>
136
+ <Midl>
137
+ <TargetEnvironment>X64</TargetEnvironment>
138
+ </Midl>
139
+ <ClCompile>
140
+ <AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
141
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
142
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
143
+ <WarningLevel>Level3</WarningLevel>
144
+ </ClCompile>
145
+ <Link>
146
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
147
+ <SubSystem>Console</SubSystem>
148
+ <TargetMachine>MachineX64</TargetMachine>
149
+ </Link>
150
+ </ItemDefinitionGroup>
151
+ <ItemGroup>
152
+ <ClCompile Include="..\examples\xusb.c" />
153
+ </ItemGroup>
154
+ <ItemGroup>
155
+ <ProjectReference Include=".\libusb_static_2010.vcxproj">
156
+ <Project>{349ee8f9-7d25-4909-aaf5-ff3fade72187}</Project>
157
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
158
+ </ProjectReference>
159
+ </ItemGroup>
160
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
161
+ <ImportGroup Label="ExtensionTargets">
162
+ </ImportGroup>
163
+ </Project>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <ItemGroup>
4
+ <Filter Include="Source Files">
5
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
6
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
7
+ </Filter>
8
+ </ItemGroup>
9
+ <ItemGroup>
10
+ <ClCompile Include="..\examples\xusb.c">
11
+ <Filter>Source Files</Filter>
12
+ </ClCompile>
13
+ </ItemGroup>
14
+ </Project>