summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-01-14 01:41:28 +0000
committerPete Batard <pbatard@gmail.com>2010-01-14 01:41:28 +0000
commitcc67a67e8fdada247868482882bc1dc27807e51c (patch)
tree2fcc659e5e398a1639b3e1a1a0b505340c127bdc
parent83b01ba2dd962fb1f1d52ba90dc9dde741e497a1 (diff)
downloadlibusb-cc67a67e8fdada247868482882bc1dc27807e51c.tar.gz
svn r64:
- added .def file for MSVC6 dll build (Michael Plante) - prevented conflicts with pdb and HTML logs for lsusb & xusb
-rw-r--r--examples/lsusb.vcproj4
-rw-r--r--examples/xusb.vcproj4
-rw-r--r--libusb/libusb-1.0.def55
3 files changed, 63 insertions, 0 deletions
diff --git a/examples/lsusb.vcproj b/examples/lsusb.vcproj
index ed2be58..b35c01f 100644
--- a/examples/lsusb.vcproj
+++ b/examples/lsusb.vcproj
@@ -22,6 +22,7 @@
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"
+ BuildLogFile="$(IntDir)\$(ProjectName).htm"
>
<Tool
Name="VCPreBuildEventTool"
@@ -65,6 +66,7 @@
LinkIncremental="2"
AdditionalLibraryDirectories="E:\WinDDK\7600.16385.0\lib\win7\i386;..\msvc"
GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb"
SubSystem="1"
TargetMachine="1"
/>
@@ -97,6 +99,7 @@
ConfigurationType="1"
CharacterSet="1"
WholeProgramOptimization="1"
+ BuildLogFile="$(IntDir)\$(ProjectName).htm"
>
<Tool
Name="VCPreBuildEventTool"
@@ -140,6 +143,7 @@
LinkIncremental="1"
AdditionalLibraryDirectories="E:\WinDDK\7600.16385.0\lib\win7\i386;..\msvc"
GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
diff --git a/examples/xusb.vcproj b/examples/xusb.vcproj
index 029b6a4..db56365 100644
--- a/examples/xusb.vcproj
+++ b/examples/xusb.vcproj
@@ -22,6 +22,7 @@
IntermediateDirectory="$(ConfigurationName)"
ConfigurationType="1"
CharacterSet="1"
+ BuildLogFile="$(IntDir)\$(ProjectName).htm"
>
<Tool
Name="VCPreBuildEventTool"
@@ -65,6 +66,7 @@
LinkIncremental="2"
AdditionalLibraryDirectories="E:\WinDDK\7600.16385.0\lib\win7\i386;..\msvc"
GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb"
SubSystem="1"
TargetMachine="1"
/>
@@ -97,6 +99,7 @@
ConfigurationType="1"
CharacterSet="1"
WholeProgramOptimization="1"
+ BuildLogFile="$(IntDir)\$(ProjectName).htm"
>
<Tool
Name="VCPreBuildEventTool"
@@ -140,6 +143,7 @@
LinkIncremental="1"
AdditionalLibraryDirectories="E:\WinDDK\7600.16385.0\lib\win7\i386;..\msvc"
GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(TargetDir)$(ProjectName).pdb"
SubSystem="1"
OptimizeReferences="2"
EnableCOMDATFolding="2"
diff --git a/libusb/libusb-1.0.def b/libusb/libusb-1.0.def
new file mode 100644
index 0000000..b08f81c
--- /dev/null
+++ b/libusb/libusb-1.0.def
@@ -0,0 +1,55 @@
+LIBRARY libusb-1.0.dll
+EXPORTS
+ libusb_init
+ libusb_exit
+ libusb_set_debug
+ libusb_get_device_list
+ libusb_free_device_list
+ libusb_ref_device
+ libusb_unref_device
+ libusb_get_configuration
+ libusb_get_device_descriptor
+ libusb_get_active_config_descriptor
+ libusb_get_config_descriptor
+ libusb_get_config_descriptor_by_value
+ libusb_free_config_descriptor
+ libusb_get_bus_number
+ libusb_get_device_address
+ libusb_get_max_packet_size
+ libusb_get_max_iso_packet_size
+ libusb_open
+ libusb_close
+ libusb_get_device
+ libusb_set_configuration
+ libusb_claim_interface
+ libusb_release_interface
+ libusb_open_device_with_vid_pid
+ libusb_set_interface_alt_setting
+ libusb_clear_halt
+ libusb_reset_device
+ libusb_kernel_driver_active
+ libusb_detach_kernel_driver
+ libusb_attach_kernel_driver
+ libusb_alloc_transfer
+ libusb_submit_transfer
+ libusb_cancel_transfer
+ libusb_free_transfer
+ libusb_control_transfer
+ libusb_bulk_transfer
+ libusb_interrupt_transfer
+ libusb_get_string_descriptor_ascii
+ libusb_try_lock_events
+ libusb_lock_events
+ libusb_unlock_events
+ libusb_event_handling_ok
+ libusb_event_handler_active
+ libusb_lock_event_waiters
+ libusb_unlock_event_waiters
+ libusb_wait_for_event
+ libusb_handle_events_timeout
+ libusb_handle_events
+ libusb_handle_events_locked
+ libusb_pollfds_handle_timeouts
+ libusb_get_next_timeout
+ libusb_get_pollfds
+ libusb_set_pollfd_notifiers