LPGET_TRANSFER_STATUS (Windows Embedded CE 6.0)
1/6/2010
This function gets the status of an active transfer.
Syntax
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 Value
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
Header | usbdi.h |
Windows Embedded CE | Windows CE 2.10 and later |