CloseTransferHandle (Compact 2013)
3/26/2014
This function closes a universal serial bus (USB) transfer handle and aborts any pending transfers.
Syntax
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 Value
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
Header |
usbclient.h |