Compartir a través de


LPABORT_PIPE_TRANSFERS (Compact 2013)

3/26/2014

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

See Also

Reference

USB Driver Functions