GetTransferStatus
This function gets the status of an active transfer.
BOOL GetTransferStatus(
USB_TRANSFER hTransfer,
LPDWORD lpdwBytesTransferred,
LPDWORD lpdwError
);
Parameters
- hTransfer
[in] Handle to a USB transfer. - lpdwBytesTransferred
[out] Pointer to the number of bytes transferred. The pointer may 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 may 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 and FALSE otherwise.
Remarks
This function gets the results of a completed transfer. Even transfers that have errors may have valid data indicated.
Requirements
OS Versions: Windows CE 2.10 and later.
Header: Usbclient.h.
See Also
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.