usb 2.17.0 → 3.0.0-alpha.2

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 (207) hide show
  1. package/LICENSE +18 -4
  2. package/README.md +25 -516
  3. package/dist/index.d.ts +67 -13
  4. package/dist/index.js +333 -64
  5. package/index.d.ts +89 -0
  6. package/index.js +583 -0
  7. package/package.json +53 -33
  8. package/CHANGELOG.md +0 -294
  9. package/binding.gyp +0 -128
  10. package/dist/index.js.map +0 -1
  11. package/dist/usb/bindings.d.ts +0 -266
  12. package/dist/usb/bindings.js +0 -10
  13. package/dist/usb/bindings.js.map +0 -1
  14. package/dist/usb/capability.d.ts +0 -13
  15. package/dist/usb/capability.js +0 -17
  16. package/dist/usb/capability.js.map +0 -1
  17. package/dist/usb/descriptors.d.ts +0 -128
  18. package/dist/usb/descriptors.js +0 -3
  19. package/dist/usb/descriptors.js.map +0 -1
  20. package/dist/usb/device.d.ts +0 -100
  21. package/dist/usb/device.js +0 -297
  22. package/dist/usb/device.js.map +0 -1
  23. package/dist/usb/endpoint.d.ts +0 -94
  24. package/dist/usb/endpoint.js +0 -219
  25. package/dist/usb/endpoint.js.map +0 -1
  26. package/dist/usb/index.d.ts +0 -31
  27. package/dist/usb/index.js +0 -116
  28. package/dist/usb/index.js.map +0 -1
  29. package/dist/usb/interface.d.ts +0 -80
  30. package/dist/usb/interface.js +0 -133
  31. package/dist/usb/interface.js.map +0 -1
  32. package/dist/webusb/index.d.ts +0 -64
  33. package/dist/webusb/index.js +0 -295
  34. package/dist/webusb/index.js.map +0 -1
  35. package/dist/webusb/webusb-device.d.ts +0 -54
  36. package/dist/webusb/webusb-device.js +0 -434
  37. package/dist/webusb/webusb-device.js.map +0 -1
  38. package/libusb/.clang-tidy +0 -34
  39. package/libusb/.codespellrc +0 -3
  40. package/libusb/.private/README.txt +0 -5
  41. package/libusb/.private/appveyor_build.sh +0 -26
  42. package/libusb/.private/bm.sh +0 -54
  43. package/libusb/.private/ci-build.sh +0 -92
  44. package/libusb/.private/ci-container-build.sh +0 -67
  45. package/libusb/.private/post-rewrite.sh +0 -32
  46. package/libusb/.private/pre-commit.sh +0 -52
  47. package/libusb/.private/wbs.txt +0 -43
  48. package/libusb/.travis.yml +0 -58
  49. package/libusb/AUTHORS +0 -231
  50. package/libusb/COPYING +0 -504
  51. package/libusb/ChangeLog +0 -365
  52. package/libusb/HACKING +0 -25
  53. package/libusb/INSTALL_WIN.txt +0 -52
  54. package/libusb/KEYS +0 -123
  55. package/libusb/Makefile.am +0 -50
  56. package/libusb/NEWS +0 -2
  57. package/libusb/PORTING +0 -94
  58. package/libusb/README +0 -29
  59. package/libusb/README.git +0 -41
  60. package/libusb/TODO +0 -2
  61. package/libusb/Xcode/common.xcconfig +0 -92
  62. package/libusb/Xcode/config.h +0 -31
  63. package/libusb/Xcode/debug.xcconfig +0 -32
  64. package/libusb/Xcode/libusb.xcconfig +0 -21
  65. package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +0 -1391
  66. package/libusb/Xcode/libusb_debug.xcconfig +0 -21
  67. package/libusb/Xcode/libusb_release.xcconfig +0 -21
  68. package/libusb/Xcode/release.xcconfig +0 -30
  69. package/libusb/android/README +0 -152
  70. package/libusb/android/config.h +0 -55
  71. package/libusb/android/examples/unrooted_android.c +0 -301
  72. package/libusb/android/examples/unrooted_android.h +0 -36
  73. package/libusb/android/jni/Android.mk +0 -23
  74. package/libusb/android/jni/Application.mk +0 -40
  75. package/libusb/android/jni/examples.mk +0 -168
  76. package/libusb/android/jni/libusb.mk +0 -60
  77. package/libusb/android/jni/tests.mk +0 -45
  78. package/libusb/appveyor.yml +0 -108
  79. package/libusb/autogen.sh +0 -10
  80. package/libusb/bootstrap.sh +0 -10
  81. package/libusb/configure.ac +0 -450
  82. package/libusb/doc/Makefile.in +0 -22
  83. package/libusb/doc/doxygen.cfg.in +0 -2571
  84. package/libusb/doc/libusb.png +0 -0
  85. package/libusb/examples/Makefile.am +0 -12
  86. package/libusb/examples/dpfp.c +0 -711
  87. package/libusb/examples/ezusb.c +0 -846
  88. package/libusb/examples/ezusb.h +0 -109
  89. package/libusb/examples/fxload.c +0 -310
  90. package/libusb/examples/hotplugtest.c +0 -147
  91. package/libusb/examples/listdevs.c +0 -73
  92. package/libusb/examples/sam3u_benchmark.c +0 -228
  93. package/libusb/examples/testlibusb.c +0 -312
  94. package/libusb/examples/xusb.c +0 -1254
  95. package/libusb/libusb/Makefile.am +0 -98
  96. package/libusb/libusb/Makefile.am.extra +0 -26
  97. package/libusb/libusb/core.c +0 -2925
  98. package/libusb/libusb/descriptor.c +0 -1558
  99. package/libusb/libusb/hotplug.c +0 -489
  100. package/libusb/libusb/io.c +0 -2865
  101. package/libusb/libusb/libusb-1.0.def +0 -199
  102. package/libusb/libusb/libusb-1.0.rc +0 -53
  103. package/libusb/libusb/libusb.h +0 -2421
  104. package/libusb/libusb/libusbi.h +0 -1535
  105. package/libusb/libusb/os/darwin_usb.c +0 -2977
  106. package/libusb/libusb/os/darwin_usb.h +0 -156
  107. package/libusb/libusb/os/emscripten_webusb.cpp +0 -875
  108. package/libusb/libusb/os/events_posix.c +0 -340
  109. package/libusb/libusb/os/events_posix.h +0 -62
  110. package/libusb/libusb/os/events_windows.c +0 -214
  111. package/libusb/libusb/os/events_windows.h +0 -46
  112. package/libusb/libusb/os/haiku_pollfs.cpp +0 -372
  113. package/libusb/libusb/os/haiku_usb.h +0 -113
  114. package/libusb/libusb/os/haiku_usb_backend.cpp +0 -532
  115. package/libusb/libusb/os/haiku_usb_raw.cpp +0 -231
  116. package/libusb/libusb/os/haiku_usb_raw.h +0 -188
  117. package/libusb/libusb/os/linux_netlink.c +0 -401
  118. package/libusb/libusb/os/linux_udev.c +0 -321
  119. package/libusb/libusb/os/linux_usbfs.c +0 -2829
  120. package/libusb/libusb/os/linux_usbfs.h +0 -221
  121. package/libusb/libusb/os/netbsd_usb.c +0 -617
  122. package/libusb/libusb/os/null_usb.c +0 -111
  123. package/libusb/libusb/os/openbsd_usb.c +0 -700
  124. package/libusb/libusb/os/sunos_usb.c +0 -1619
  125. package/libusb/libusb/os/sunos_usb.h +0 -79
  126. package/libusb/libusb/os/threads_posix.c +0 -126
  127. package/libusb/libusb/os/threads_posix.h +0 -98
  128. package/libusb/libusb/os/threads_windows.c +0 -40
  129. package/libusb/libusb/os/threads_windows.h +0 -113
  130. package/libusb/libusb/os/windows_common.c +0 -923
  131. package/libusb/libusb/os/windows_common.h +0 -424
  132. package/libusb/libusb/os/windows_usbdk.c +0 -724
  133. package/libusb/libusb/os/windows_usbdk.h +0 -106
  134. package/libusb/libusb/os/windows_winusb.c +0 -4766
  135. package/libusb/libusb/os/windows_winusb.h +0 -787
  136. package/libusb/libusb/strerror.c +0 -223
  137. package/libusb/libusb/sync.c +0 -342
  138. package/libusb/libusb/version.h +0 -18
  139. package/libusb/libusb/version_nano.h +0 -1
  140. package/libusb/libusb-1.0.pc.in +0 -11
  141. package/libusb/msvc/Base.props +0 -60
  142. package/libusb/msvc/Configuration.Application.props +0 -7
  143. package/libusb/msvc/Configuration.Base.props +0 -47
  144. package/libusb/msvc/Configuration.DynamicLibrary.props +0 -21
  145. package/libusb/msvc/Configuration.StaticLibrary.props +0 -7
  146. package/libusb/msvc/ProjectConfigurations.Base.props +0 -69
  147. package/libusb/msvc/build_all.ps1 +0 -17
  148. package/libusb/msvc/config.h +0 -58
  149. package/libusb/msvc/dpfp.vcxproj +0 -33
  150. package/libusb/msvc/dpfp_threaded.vcxproj +0 -38
  151. package/libusb/msvc/fxload.vcxproj +0 -46
  152. package/libusb/msvc/getopt/getopt.c +0 -1060
  153. package/libusb/msvc/getopt/getopt.h +0 -180
  154. package/libusb/msvc/getopt/getopt1.c +0 -188
  155. package/libusb/msvc/getopt.vcxproj +0 -33
  156. package/libusb/msvc/hotplugtest.vcxproj +0 -32
  157. package/libusb/msvc/init_context.vcxproj +0 -35
  158. package/libusb/msvc/libusb.sln +0 -542
  159. package/libusb/msvc/libusb_dll.vcxproj +0 -61
  160. package/libusb/msvc/libusb_static.vcxproj +0 -49
  161. package/libusb/msvc/listdevs.vcxproj +0 -32
  162. package/libusb/msvc/sam3u_benchmark.vcxproj +0 -33
  163. package/libusb/msvc/set_option.vcxproj +0 -35
  164. package/libusb/msvc/stress.vcxproj +0 -35
  165. package/libusb/msvc/stress_mt.vcxproj +0 -33
  166. package/libusb/msvc/testlibusb.vcxproj +0 -32
  167. package/libusb/msvc/xusb.vcxproj +0 -38
  168. package/libusb/tests/Makefile.am +0 -40
  169. package/libusb/tests/init_context.c +0 -153
  170. package/libusb/tests/libusb_testlib.h +0 -76
  171. package/libusb/tests/macos.c +0 -130
  172. package/libusb/tests/set_option.c +0 -253
  173. package/libusb/tests/stress.c +0 -172
  174. package/libusb/tests/stress_mt.c +0 -267
  175. package/libusb/tests/testlib.c +0 -184
  176. package/libusb/tests/umockdev.c +0 -1175
  177. package/libusb/tests/webusb-test-shim/index.js +0 -12
  178. package/libusb/tests/webusb-test-shim/package-lock.json +0 -50
  179. package/libusb/tests/webusb-test-shim/package.json +0 -10
  180. package/libusb.gypi +0 -154
  181. package/libusb_config/config.h +0 -1
  182. package/prebuilds/android-arm/node.napi.armv7.node +0 -0
  183. package/prebuilds/android-arm64/node.napi.armv8.node +0 -0
  184. package/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
  185. package/prebuilds/linux-arm/node.napi.armv6.node +0 -0
  186. package/prebuilds/linux-arm/node.napi.armv7.node +0 -0
  187. package/prebuilds/linux-arm64/node.napi.armv8.node +0 -0
  188. package/prebuilds/linux-ia32/node.napi.node +0 -0
  189. package/prebuilds/linux-x64/node.napi.glibc.node +0 -0
  190. package/prebuilds/linux-x64/node.napi.musl.node +0 -0
  191. package/prebuilds/win32-arm64/node.napi.node +0 -0
  192. package/prebuilds/win32-ia32/node.napi.node +0 -0
  193. package/prebuilds/win32-x64/node.napi.node +0 -0
  194. package/src/device.cc +0 -439
  195. package/src/helpers.h +0 -64
  196. package/src/hotplug/hotplug.h +0 -22
  197. package/src/hotplug/libusb.cc +0 -90
  198. package/src/hotplug/windows.cc +0 -168
  199. package/src/node_usb.cc +0 -314
  200. package/src/node_usb.h +0 -131
  201. package/src/thread_name.cc +0 -79
  202. package/src/thread_name.h +0 -11
  203. package/src/transfer.cc +0 -143
  204. package/src/uv_async_queue.h +0 -41
  205. package/test/usb.coffee +0 -250
  206. package/test/webusb.coffee +0 -227
  207. package/test/worker.cjs +0 -13
@@ -1,199 +0,0 @@
1
- LIBRARY "libusb-1.0.dll"
2
- EXPORTS
3
- libusb_alloc_streams
4
- libusb_alloc_streams@16 = libusb_alloc_streams
5
- libusb_alloc_transfer
6
- libusb_alloc_transfer@4 = libusb_alloc_transfer
7
- libusb_attach_kernel_driver
8
- libusb_attach_kernel_driver@8 = libusb_attach_kernel_driver
9
- libusb_bulk_transfer
10
- libusb_bulk_transfer@24 = libusb_bulk_transfer
11
- libusb_cancel_transfer
12
- libusb_cancel_transfer@4 = libusb_cancel_transfer
13
- libusb_claim_interface
14
- libusb_claim_interface@8 = libusb_claim_interface
15
- libusb_clear_halt
16
- libusb_clear_halt@8 = libusb_clear_halt
17
- libusb_close
18
- libusb_close@4 = libusb_close
19
- libusb_control_transfer
20
- libusb_control_transfer@32 = libusb_control_transfer
21
- libusb_detach_kernel_driver
22
- libusb_detach_kernel_driver@8 = libusb_detach_kernel_driver
23
- libusb_dev_mem_alloc
24
- libusb_dev_mem_alloc@8 = libusb_dev_mem_alloc
25
- libusb_dev_mem_free
26
- libusb_dev_mem_free@12 = libusb_dev_mem_free
27
- libusb_error_name
28
- libusb_error_name@4 = libusb_error_name
29
- libusb_event_handler_active
30
- libusb_event_handler_active@4 = libusb_event_handler_active
31
- libusb_event_handling_ok
32
- libusb_event_handling_ok@4 = libusb_event_handling_ok
33
- libusb_exit
34
- libusb_exit@4 = libusb_exit
35
- libusb_free_bos_descriptor
36
- libusb_free_bos_descriptor@4 = libusb_free_bos_descriptor
37
- libusb_free_config_descriptor
38
- libusb_free_config_descriptor@4 = libusb_free_config_descriptor
39
- libusb_free_container_id_descriptor
40
- libusb_free_container_id_descriptor@4 = libusb_free_container_id_descriptor
41
- libusb_free_device_list
42
- libusb_free_device_list@8 = libusb_free_device_list
43
- libusb_free_interface_association_descriptors
44
- libusb_free_interface_association_descriptors@4 = libusb_free_interface_association_descriptors
45
- libusb_free_platform_descriptor
46
- libusb_free_platform_descriptor@4 = libusb_free_platform_descriptor
47
- libusb_free_pollfds
48
- libusb_free_pollfds@4 = libusb_free_pollfds
49
- libusb_free_ss_endpoint_companion_descriptor
50
- libusb_free_ss_endpoint_companion_descriptor@4 = libusb_free_ss_endpoint_companion_descriptor
51
- libusb_free_ss_usb_device_capability_descriptor
52
- libusb_free_ss_usb_device_capability_descriptor@4 = libusb_free_ss_usb_device_capability_descriptor
53
- libusb_free_ssplus_usb_device_capability_descriptor
54
- libusb_free_ssplus_usb_device_capability_descriptor@4 = libusb_free_ssplus_usb_device_capability_descriptor
55
- libusb_free_streams
56
- libusb_free_streams@12 = libusb_free_streams
57
- libusb_free_transfer
58
- libusb_free_transfer@4 = libusb_free_transfer
59
- libusb_free_usb_2_0_extension_descriptor
60
- libusb_free_usb_2_0_extension_descriptor@4 = libusb_free_usb_2_0_extension_descriptor
61
- libusb_get_active_config_descriptor
62
- libusb_get_active_config_descriptor@8 = libusb_get_active_config_descriptor
63
- libusb_get_active_interface_association_descriptors
64
- libusb_get_active_interface_association_descriptors@8 = libusb_get_active_interface_association_descriptors
65
- libusb_get_bos_descriptor
66
- libusb_get_bos_descriptor@8 = libusb_get_bos_descriptor
67
- libusb_get_bus_number
68
- libusb_get_bus_number@4 = libusb_get_bus_number
69
- libusb_get_config_descriptor
70
- libusb_get_config_descriptor@12 = libusb_get_config_descriptor
71
- libusb_get_config_descriptor_by_value
72
- libusb_get_config_descriptor_by_value@12 = libusb_get_config_descriptor_by_value
73
- libusb_get_configuration
74
- libusb_get_configuration@8 = libusb_get_configuration
75
- libusb_get_container_id_descriptor
76
- libusb_get_container_id_descriptor@12 = libusb_get_container_id_descriptor
77
- libusb_get_device
78
- libusb_get_device@4 = libusb_get_device
79
- libusb_get_device_address
80
- libusb_get_device_address@4 = libusb_get_device_address
81
- libusb_get_device_descriptor
82
- libusb_get_device_descriptor@8 = libusb_get_device_descriptor
83
- libusb_get_device_list
84
- libusb_get_device_list@8 = libusb_get_device_list
85
- libusb_get_device_speed
86
- libusb_get_device_speed@4 = libusb_get_device_speed
87
- libusb_get_interface_association_descriptors
88
- libusb_get_interface_association_descriptors@12 = libusb_get_interface_association_descriptors
89
- libusb_get_max_alt_packet_size
90
- libusb_get_max_alt_packet_size@16 = libusb_get_max_alt_packet_size
91
- libusb_get_max_iso_packet_size
92
- libusb_get_max_iso_packet_size@8 = libusb_get_max_iso_packet_size
93
- libusb_get_max_packet_size
94
- libusb_get_max_packet_size@8 = libusb_get_max_packet_size
95
- libusb_get_next_timeout
96
- libusb_get_next_timeout@8 = libusb_get_next_timeout
97
- libusb_get_parent
98
- libusb_get_parent@4 = libusb_get_parent
99
- libusb_get_platform_descriptor
100
- libusb_get_platform_descriptor@12 = libusb_get_platform_descriptor
101
- libusb_get_pollfds
102
- libusb_get_pollfds@4 = libusb_get_pollfds
103
- libusb_get_port_number
104
- libusb_get_port_number@4 = libusb_get_port_number
105
- libusb_get_port_numbers
106
- libusb_get_port_numbers@12 = libusb_get_port_numbers
107
- libusb_get_port_path
108
- libusb_get_port_path@16 = libusb_get_port_path
109
- libusb_get_ss_endpoint_companion_descriptor
110
- libusb_get_ss_endpoint_companion_descriptor@12 = libusb_get_ss_endpoint_companion_descriptor
111
- libusb_get_ss_usb_device_capability_descriptor
112
- libusb_get_ss_usb_device_capability_descriptor@12 = libusb_get_ss_usb_device_capability_descriptor
113
- libusb_get_ssplus_usb_device_capability_descriptor
114
- libusb_get_ssplus_usb_device_capability_descriptor@12 = libusb_get_ssplus_usb_device_capability_descriptor
115
- libusb_get_string_descriptor_ascii
116
- libusb_get_string_descriptor_ascii@16 = libusb_get_string_descriptor_ascii
117
- libusb_get_usb_2_0_extension_descriptor
118
- libusb_get_usb_2_0_extension_descriptor@12 = libusb_get_usb_2_0_extension_descriptor
119
- libusb_get_version
120
- libusb_get_version@0 = libusb_get_version
121
- libusb_handle_events
122
- libusb_handle_events@4 = libusb_handle_events
123
- libusb_handle_events_completed
124
- libusb_handle_events_completed@8 = libusb_handle_events_completed
125
- libusb_handle_events_locked
126
- libusb_handle_events_locked@8 = libusb_handle_events_locked
127
- libusb_handle_events_timeout
128
- libusb_handle_events_timeout@8 = libusb_handle_events_timeout
129
- libusb_handle_events_timeout_completed
130
- libusb_handle_events_timeout_completed@12 = libusb_handle_events_timeout_completed
131
- libusb_has_capability
132
- libusb_has_capability@4 = libusb_has_capability
133
- libusb_hotplug_deregister_callback
134
- libusb_hotplug_deregister_callback@8 = libusb_hotplug_deregister_callback
135
- libusb_hotplug_get_user_data
136
- libusb_hotplug_get_user_data@8 = libusb_hotplug_get_user_data
137
- libusb_hotplug_register_callback
138
- libusb_hotplug_register_callback@36 = libusb_hotplug_register_callback
139
- libusb_init
140
- libusb_init@4 = libusb_init
141
- libusb_init_context
142
- libusb_init_context@12 = libusb_init_context
143
- libusb_interrupt_event_handler
144
- libusb_interrupt_event_handler@4 = libusb_interrupt_event_handler
145
- libusb_interrupt_transfer
146
- libusb_interrupt_transfer@24 = libusb_interrupt_transfer
147
- libusb_kernel_driver_active
148
- libusb_kernel_driver_active@8 = libusb_kernel_driver_active
149
- libusb_lock_event_waiters
150
- libusb_lock_event_waiters@4 = libusb_lock_event_waiters
151
- libusb_lock_events
152
- libusb_lock_events@4 = libusb_lock_events
153
- libusb_open
154
- libusb_open@8 = libusb_open
155
- libusb_open_device_with_vid_pid
156
- libusb_open_device_with_vid_pid@12 = libusb_open_device_with_vid_pid
157
- libusb_pollfds_handle_timeouts
158
- libusb_pollfds_handle_timeouts@4 = libusb_pollfds_handle_timeouts
159
- libusb_ref_device
160
- libusb_ref_device@4 = libusb_ref_device
161
- libusb_release_interface
162
- libusb_release_interface@8 = libusb_release_interface
163
- libusb_reset_device
164
- libusb_reset_device@4 = libusb_reset_device
165
- libusb_set_auto_detach_kernel_driver
166
- libusb_set_auto_detach_kernel_driver@8 = libusb_set_auto_detach_kernel_driver
167
- libusb_set_configuration
168
- libusb_set_configuration@8 = libusb_set_configuration
169
- libusb_set_debug
170
- libusb_set_debug@8 = libusb_set_debug
171
- libusb_set_interface_alt_setting
172
- libusb_set_interface_alt_setting@12 = libusb_set_interface_alt_setting
173
- libusb_set_log_cb
174
- libusb_set_log_cb@12 = libusb_set_log_cb
175
- libusb_set_option
176
- libusb_set_pollfd_notifiers
177
- libusb_set_pollfd_notifiers@16 = libusb_set_pollfd_notifiers
178
- libusb_setlocale
179
- libusb_setlocale@4 = libusb_setlocale
180
- libusb_strerror
181
- libusb_strerror@4 = libusb_strerror
182
- libusb_submit_transfer
183
- libusb_submit_transfer@4 = libusb_submit_transfer
184
- libusb_transfer_get_stream_id
185
- libusb_transfer_get_stream_id@4 = libusb_transfer_get_stream_id
186
- libusb_transfer_set_stream_id
187
- libusb_transfer_set_stream_id@8 = libusb_transfer_set_stream_id
188
- libusb_try_lock_events
189
- libusb_try_lock_events@4 = libusb_try_lock_events
190
- libusb_unlock_event_waiters
191
- libusb_unlock_event_waiters@4 = libusb_unlock_event_waiters
192
- libusb_unlock_events
193
- libusb_unlock_events@4 = libusb_unlock_events
194
- libusb_unref_device
195
- libusb_unref_device@4 = libusb_unref_device
196
- libusb_wait_for_event
197
- libusb_wait_for_event@8 = libusb_wait_for_event
198
- libusb_wrap_sys_device
199
- libusb_wrap_sys_device@12 = libusb_wrap_sys_device
@@ -1,53 +0,0 @@
1
- /*
2
- * For Windows: input this file to the Resource Compiler to produce a binary
3
- * .res file. This is then embedded in the resultant library (like any other
4
- * compilation object).
5
- * The information can then be queried using standard APIs and can also be
6
- * viewed with utilities such as Windows Explorer.
7
- */
8
- #include "winresrc.h"
9
-
10
- #include "version.h"
11
- #ifndef LIBUSB_VERSIONSTRING
12
- #define LU_STR(s) #s
13
- #define LU_XSTR(s) LU_STR(s)
14
- #define LIBUSB_VERSIONSTRING \
15
- LU_XSTR(LIBUSB_MAJOR) "." LU_XSTR(LIBUSB_MINOR) "." \
16
- LU_XSTR(LIBUSB_MICRO) "." LU_XSTR(LIBUSB_NANO) LIBUSB_RC "\0"
17
- #endif
18
-
19
- VS_VERSION_INFO VERSIONINFO
20
- FILEVERSION LIBUSB_MAJOR,LIBUSB_MINOR,LIBUSB_MICRO,LIBUSB_NANO
21
- PRODUCTVERSION LIBUSB_MAJOR,LIBUSB_MINOR,LIBUSB_MICRO,LIBUSB_NANO
22
- FILEFLAGSMASK 0x3fL
23
- #ifdef _DEBUG
24
- FILEFLAGS 0x1L
25
- #else
26
- FILEFLAGS 0x0L
27
- #endif
28
- FILEOS 0x40004L
29
- FILETYPE 0x2L
30
- FILESUBTYPE 0x0L
31
- BEGIN
32
- BLOCK "StringFileInfo"
33
- BEGIN
34
- BLOCK "040904b0"
35
- BEGIN
36
- VALUE "CompanyName", "libusb.info\0"
37
- VALUE "FileDescription", "C library for writing portable USB drivers in userspace\0"
38
- VALUE "FileVersion", LIBUSB_VERSIONSTRING
39
- VALUE "InternalName", "libusb\0"
40
- VALUE "LegalCopyright", "See individual source files, GNU LGPL v2.1 or later.\0"
41
- VALUE "LegalTrademarks", "http://www.gnu.org/licenses/lgpl-2.1.html\0"
42
- VALUE "OriginalFilename", "libusb-1.0.dll\0"
43
- VALUE "PrivateBuild", "\0"
44
- VALUE "ProductName", "libusb-1.0\0"
45
- VALUE "ProductVersion", LIBUSB_VERSIONSTRING
46
- VALUE "SpecialBuild", "\0"
47
- END
48
- END
49
- BLOCK "VarFileInfo"
50
- BEGIN
51
- VALUE "Translation", 0x409, 1200
52
- END
53
- END