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,360 @@
1
+ <?xml version="1.0" encoding="Windows-1252"?>
2
+ <VisualStudioProject
3
+ ProjectType="Visual C++"
4
+ Version="8.00"
5
+ Name="listdevs"
6
+ ProjectGUID="{98CFD8FA-EE20-40D5-AF13-F8C4856D6CA5}"
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"
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"
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"
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"
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\listdevs.c"
338
+ >
339
+ <FileConfiguration
340
+ Name="Release|Win32"
341
+ >
342
+ <Tool
343
+ Name="VCCLCompilerTool"
344
+ Detect64BitPortabilityProblems="false"
345
+ />
346
+ </FileConfiguration>
347
+ <FileConfiguration
348
+ Name="Release|x64"
349
+ >
350
+ <Tool
351
+ Name="VCCLCompilerTool"
352
+ Detect64BitPortabilityProblems="false"
353
+ />
354
+ </FileConfiguration>
355
+ </File>
356
+ </Filter>
357
+ </Files>
358
+ <Globals>
359
+ </Globals>
360
+ </VisualStudioProject>
@@ -0,0 +1,165 @@
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>listdevs</ProjectName>
23
+ <ProjectGuid>{F4938DB0-3DE7-4737-9C5A-EAD1BE819F87}</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;%(PreprocessorDefinitions)</PreprocessorDefinitions>
81
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
82
+ <WarningLevel>Level3</WarningLevel>
83
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
84
+ </ClCompile>
85
+ <Link>
86
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
87
+ <GenerateDebugInformation>true</GenerateDebugInformation>
88
+ <ProgramDatabaseFile>$(TargetDir)$(ProjectName).pdb</ProgramDatabaseFile>
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;%(PreprocessorDefinitions)</PreprocessorDefinitions>
104
+ <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
105
+ <WarningLevel>Level3</WarningLevel>
106
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
107
+ </ClCompile>
108
+ <Link>
109
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
110
+ <GenerateDebugInformation>true</GenerateDebugInformation>
111
+ <ProgramDatabaseFile>$(TargetDir)$(ProjectName).pdb</ProgramDatabaseFile>
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;%(PreprocessorDefinitions)</PreprocessorDefinitions>
123
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
124
+ <WarningLevel>Level3</WarningLevel>
125
+ </ClCompile>
126
+ <Link>
127
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
128
+ <ProgramDatabaseFile>$(TargetDir)$(ProjectName).pdb</ProgramDatabaseFile>
129
+ <SubSystem>Console</SubSystem>
130
+ <TargetMachine>MachineX86</TargetMachine>
131
+ </Link>
132
+ </ItemDefinitionGroup>
133
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
134
+ <BuildLog>
135
+ <Path>$(IntDir)$(ProjectName).htm</Path>
136
+ </BuildLog>
137
+ <Midl>
138
+ <TargetEnvironment>X64</TargetEnvironment>
139
+ </Midl>
140
+ <ClCompile>
141
+ <AdditionalIncludeDirectories>..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
142
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
143
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
144
+ <WarningLevel>Level3</WarningLevel>
145
+ </ClCompile>
146
+ <Link>
147
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
148
+ <ProgramDatabaseFile>$(TargetDir)$(ProjectName).pdb</ProgramDatabaseFile>
149
+ <SubSystem>Console</SubSystem>
150
+ <TargetMachine>MachineX64</TargetMachine>
151
+ </Link>
152
+ </ItemDefinitionGroup>
153
+ <ItemGroup>
154
+ <ClCompile Include="..\examples\listdevs.c" />
155
+ </ItemGroup>
156
+ <ItemGroup>
157
+ <ProjectReference Include=".\libusb_static_2010.vcxproj">
158
+ <Project>{349ee8f9-7d25-4909-aaf5-ff3fade72187}</Project>
159
+ <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
160
+ </ProjectReference>
161
+ </ItemGroup>
162
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
163
+ <ImportGroup Label="ExtensionTargets">
164
+ </ImportGroup>
165
+ </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\listdevs.c">
11
+ <Filter>Source Files</Filter>
12
+ </ClCompile>
13
+ </ItemGroup>
14
+ </Project>