Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function returns an error value associated with a USB transfer.
BOOLGetTransferError(USB_TRANSFERhTransfer,LPDWORDlpdwError);
Parameters
- hTransfer
[in] Handle to a USB transfer. - lpdwError
[out] Error value.
Return Values
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
OS Versions: Windows CE 2.10 and later.
Header: Usbddrv.cpp.
Send Feedback on this topic to the authors