CloseTransferHandle (Windows Embedded CE 6.0)
1/6/2010
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 |
Windows Embedded CE | Windows CE 2.10 and later |