Windows: Add new API calls to DLL .def file
authorPete Batard <pete@akeo.ie>
Tue, 29 May 2012 15:06:57 +0000 (16:06 +0100)
committerPete Batard <pete@akeo.ie>
Tue, 29 May 2012 15:06:57 +0000 (16:06 +0100)
* Generated from a MinGW32 generated DLL using the command:
  echo -e "LIBRARY\nEXPORTS" > libusb-1.0.def; strings libusb-1.0.dll | grep libusb | grep @ | sort | sed -e "s/\(.*\)@\([0-9]*\)/  \1\n  \1@\2 = \1/" >> libusb-1.0.def

libusb/libusb-1.0.def
libusb/version_nano.h

index 1d6a5d2..847b785 100644 (file)
@@ -58,8 +58,14 @@ EXPORTS
   libusb_get_max_packet_size@8 = libusb_get_max_packet_size
   libusb_get_next_timeout
   libusb_get_next_timeout@8 = libusb_get_next_timeout
+  libusb_get_parent
+  libusb_get_parent@4 = libusb_get_parent
   libusb_get_pollfds
   libusb_get_pollfds@4 = libusb_get_pollfds
+  libusb_get_port_number
+  libusb_get_port_number@4 = libusb_get_port_number
+  libusb_get_port_path
+  libusb_get_port_path@16 = libusb_get_port_path
   libusb_get_string_descriptor_ascii
   libusb_get_string_descriptor_ascii@16 = libusb_get_string_descriptor_ascii
   libusb_get_version
index a07bacb..5c23e43 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 10512
+#define LIBUSB_NANO 10513