Partager via


LPCLOSE_PIPE (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

USB Host Driver Functions
LPOPEN_PIPE