LPABORT_PIPE_TRANSFERS (Windows Embedded CE 6.0)
1/6/2010
This function aborts all transfers on an open universal serial bus (USB) pipe.
Syntax
typedef BOOL (* LPABORT_PIPE_TRANSFERS)(
USB_PIPE hPipe,
DWORD dwFlags
);
Parameters
- hPipe
[in] Handle to an open USB pipe.
- dwFlags
[in] Value of USB_NO_WAIT or zero (0).
Return Value
TRUE indicates success. FALSE indicates failure.
Remarks
This function blocks until all transfers have been successfully canceled on the endpoint unless USB_NO_WAIT is specified. If USB_NO_WAIT is specified, the transfers are flagged to be canceled, and this function returns immediately. Calling this function does not guarantee that no more transfers will be completed; any outstanding transfers will complete even after this function is called. Any registered completion callback functions execute.
Requirements
Header | usbdi.h |
Windows Embedded CE | Windows CE 2.10 and later |