summaryrefslogtreecommitdiff
path: root/libusb/os/windows_compat.h
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-03-02 15:41:07 +0000
committerPete Batard <pbatard@gmail.com>2010-03-02 15:41:07 +0000
commit12f7a5344e4a42d8daeb501e0181829336a73ed3 (patch)
treec696f3760566f578f987fe8230aed2fa2b0c686d /libusb/os/windows_compat.h
parent4637f267b036c37f58cb9e9cb35692b813be02f5 (diff)
downloadlibusb-12f7a5344e4a42d8daeb501e0181829336a73ed3.tar.gz
poll fd notification improvements (windows poll layer)
call usbi_fd_notification on new fd also improves DYNAMIC_FDS option
Diffstat (limited to 'libusb/os/windows_compat.h')
-rw-r--r--libusb/os/windows_compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/os/windows_compat.h b/libusb/os/windows_compat.h
index 699f167..996ff48 100644
--- a/libusb/os/windows_compat.h
+++ b/libusb/os/windows_compat.h
@@ -84,7 +84,7 @@ int usbi_close(int fd);
void init_polling(void);
void exit_polling(void);
-struct winfd usbi_create_fd(HANDLE handle, int access_mode);
+struct winfd usbi_create_fd(HANDLE handle, int access_mode, struct libusb_context *ctx);
void usbi_free_fd(int fd);
struct winfd fd_to_winfd(int fd);
struct winfd handle_to_winfd(HANDLE handle);