Windows: Fix HID and synchronous transfer completion
authorChris Dickens <christopher.a.dickens@gmail.com>
Mon, 1 Feb 2021 23:12:17 +0000 (15:12 -0800)
committerChris Dickens <christopher.a.dickens@gmail.com>
Mon, 1 Feb 2021 23:12:17 +0000 (15:12 -0800)
commita108bb8e185cc5c41b296d35dfa83e5e5b13b2c0
tree941dbbf21c2d49bd2d12c12fbcb4150c19142be7
parentb51c743e4210756a98f4f60c69a34745e4b27a55
Windows: Fix HID and synchronous transfer completion

Commit b51c743e42 ("Windows: Filter out non-libusb I/O completions")
causes problems with the HID backend functions and synchronous transfer
completions. Address these by fetching the correct pointer in the HID
functions and posting an I/O completion for synchronous transfers.

Closes #863

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/os/windows_common.c
libusb/os/windows_winusb.c
libusb/version_nano.h