LPGET_TRANSFER_STATUS (Windows CE 5.0)
This function gets the status of an active transfer.
typedef BOOL (* LPGET_TRANSFER_STATUS)( USB_TRANSFER hTransfer, LPDWORD lpdwBytesTransferred, LPDWORD lpdwError);
Parameters
- hTransfer
[in] USB transfer handle. - lpdwBytesTransferred
[out] Pointer to the number of bytes transferred. The pointer might be NULL, in which case this function does not report the number of bytes transferred. - lpdwError
[out] Pointer to a value containing error values for the transfer or the value USB_NO_ERROR. The pointer might be NULL, in which case this function does not report the error value.
Return Values
Returns TRUE if hTransfer points to a valid USB_TRANSFER structure. Otherwise, returns FALSE.
Remarks
This function gets the results of a completed transfer. Even transfers that have errors might have valid data indicated.
Requirements
OS Versions: Windows CE 2.10 and later.
Header: Usbdi.h.
Send Feedback on this topic to the authors