CloseTransferHandle (Windows CE 5.0)

Send Feedback

This function closes a universal serial bus (USB) transfer handle and aborts any pending transfers.

BOOL CloseTransferHandle(  LPCUSB_FUNCS UsbFuncs,  USB_TRANSFER hTransfer);

Parameters

  • UsbFuncs
    [in] Pointer to a USB_FUNCS structure.
  • hTransfer
    [in] Handle to a USB transfer.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This function aborts the transfer if it is still in progress and frees resources associated with the transfer.

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.