Поделиться через


LPCLOSE_PIPE (Compact 2013)

3/26/2014

This function closes an open pipe handle.

Syntax

typedef BOOL (* LPCLOSE_PIPE)(
  USB_PIPE hPipe
);

Parameters

  • hPipe
    [in] Handle to an open pipe.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

This function aborts all transfers in progress on a pipe and frees all resources associated with the pipe. If transfers are in progress on the pipe, this function blocks until they are successfully aborted.

Requirements

Header

usbdi.h

See Also

Reference

USB Driver Functions
LPOPEN_PIPE