Share via


GetTransferStatus (Windows CE 5.0)

Send Feedback

This function gets the status of an active transfer.

BOOL GetTransferStatus(  LPCUSB_FUNCS UsbFuncs,  USB_TRANSFER hTransfer,  LPDWORD pBytesTransferred,  PUSB_ERROR pUsbError);

Parameters

  • UsbFuncs
    [in] Pointer to a USB_FUNCS structure.
  • 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.
  • pUsbError
    [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 handle. 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: Usbclient.h.

See Also

USB_FUNCS

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.