Add classes encapsulatinglegacy USB API

Added implementation for endpoints and overlapped I/O support for legacy API support.
This commit is contained in:
vchtchetkine
2009-07-28 12:45:33 -07:00
parent 743b376b36
commit 39164844f1
10 changed files with 1006 additions and 27 deletions

View File

@@ -305,7 +305,7 @@ ADBAPIHANDLE AdbWinUsbInterfaceObject::OpenEndpoint(
}
ADBAPIHANDLE AdbWinUsbInterfaceObject::OpenEndpoint(UCHAR endpoint_id,
UCHAR endpoint_index) {
UCHAR endpoint_index) {
if (!IsOpened()) {
SetLastError(ERROR_INVALID_HANDLE);
return false;