WDF_USB_PIPE_DIRECTION_OUT function (wdfusb.h)

[Applies to KMDF and UMDF]

The WDF_USB_PIPE_DIRECTION_OUT function determines whether a specified USB endpoint is an output endpoint.

Syntax

BOOLEAN WDF_USB_PIPE_DIRECTION_OUT(
  [in] UCHAR EndpointAddress
);

Parameters

[in] EndpointAddress

A USB endpoint address.

Return value

WDF_USB_PIPE_DIRECTION_OUT returns TRUE if the specified endpoint is an output endpoint. Otherwise, this function returns FALSE.

Remarks

The high bit of the endpoint address determines the direction (input or output) of an endpoint. For more information about endpoint addresses, see the USB specification.

For more information about the WDF_USB_PIPE_DIRECTION_OUT function and USB I/O targets, see USB I/O Targets.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header wdfusb.h (include Wdfusb.h)
Library None

See also

WDF_USB_PIPE_DIRECTION_IN

WdfUsbTargetPipeIsOutEndpoint