GetTransferError (Windows Embedded CE 6.0)
1/6/2010
This function returns an error value associated with a USB transfer.
Syntax
BOOL GetTransferError(
USB_TRANSFER hTransfer,
LPDWORD lpdwError
);
Parameters
- hTransfer
[in] Handle to a USB transfer.
- lpdwError
[out] Error value.
Return Value
Returns FALSE if hTransfer does not point to a valid USB_TRANSFER handle. Otherwise, this function returns TRUE and any error values associated with the transfer are stored in lpdwError.
Remarks
Usbtypes.h declares the transfer error values. If the transfer has not completed, lpdwError is set to USB_NOT_COMPLETE_ERROR.
Requirements
Header | Usbddrv.cpp |
Windows Embedded CE | Windows CE 2.10 and later |