diff options
Diffstat (limited to 'libusb/os/windows_compat.h')
-rw-r--r-- | libusb/os/windows_compat.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libusb/os/windows_compat.h b/libusb/os/windows_compat.h index 4eeb6e9..689b82a 100644 --- a/libusb/os/windows_compat.h +++ b/libusb/os/windows_compat.h @@ -54,10 +54,11 @@ enum rw_type { // fd struct that can be used for polling on Windows struct winfd { - int fd; // what's exposed to libusb core - HANDLE handle; // what we need to attach overlapped to the I/O op, so we can poll it - OVERLAPPED* overlapped; // what will report our I/O status - enum rw_type rw; // I/O transfer direction: read *XOR* write (NOT BOTH) + int fd; // what's exposed to libusb core + HANDLE handle; // what we need to attach overlapped to the I/O op, so we can poll it + OVERLAPPED* overlapped; // what will report our I/O status + enum rw_type rw; // I/O transfer direction: read *XOR* write (NOT BOTH) + BOOLEAN completed_synchronously;// flag for async transfers that completed during request }; extern const struct winfd INVALID_WINFD; |