Compartilhar via


LPABORT_PIPE_TRANSFERS (Windows CE 5.0)

Send Feedback

This function aborts all transfers on an open universal serial bus (USB) pipe.

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 Values

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

OS Versions: Windows CE 2.10 and later.
Header: Usbdi.h.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.