CloseTransfer

This function closes a USB transfer handle.

BOOL CloseTransfer(
  USB_TRANSFER hTransfer 
);

Parameters

  • 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: Usbd.hpp.

See Also

USB Drivers

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.