summaryrefslogtreecommitdiff
path: root/libusb/os
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-03-12 13:27:04 +0000
committerPete Batard <pbatard@gmail.com>2010-03-12 13:27:04 +0000
commit91233ecb21aa5bd30522829ab5e3b82591c88521 (patch)
tree319654b7e4e137c2738ff005645f4d2e0dfd21bc /libusb/os
parente12eb306fa09702d15124a73852707997401ac12 (diff)
downloadlibusb-91233ecb21aa5bd30522829ab5e3b82591c88521.tar.gz
residuals from previous mergec196b
Diffstat (limited to 'libusb/os')
-rw-r--r--libusb/os/windows_usb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libusb/os/windows_usb.c b/libusb/os/windows_usb.c
index d15130e..e74ba44 100644
--- a/libusb/os/windows_usb.c
+++ b/libusb/os/windows_usb.c
@@ -3282,7 +3282,7 @@ static int libusb0_submit_iso_transfer(struct usbi_transfer *itransfer) {
return LIBUSB_ERROR_IO;
}
} else {
- wfd.completed_synchronously = true;
+ wfd.overlapped->Internal = STATUS_COMPLETED_SYNCHRONOUSLY;
wfd.overlapped->InternalHigh = (DWORD)transfer->length;
}
@@ -3463,7 +3463,7 @@ static int libusb0_submit_control_transfer(struct usbi_transfer *itransfer)
return LIBUSB_ERROR_IO;
}
} else {
- wfd.completed_synchronously = true;
+ wfd.overlapped->Internal = STATUS_COMPLETED_SYNCHRONOUSLY;
wfd.overlapped->InternalHigh = (DWORD)size;
}
@@ -3567,7 +3567,7 @@ static int libusb0_submit_bulk_transfer(struct usbi_transfer *itransfer)
return LIBUSB_ERROR_IO;
}
} else {
- wfd.completed_synchronously = true;
+ wfd.overlapped->Internal = STATUS_COMPLETED_SYNCHRONOUSLY;
wfd.overlapped->InternalHigh = (DWORD)transfer->length;
}