WDF_USB_PIPE_DIRECTION_IN function (wdfusb.h)

[Applies to KMDF and UMDF]

The WDF_USB_PIPE_DIRECTION_IN function determines whether a specified USB endpoint is an input endpoint.

Syntax

BOOLEAN WDF_USB_PIPE_DIRECTION_IN(
  [in] UCHAR EndpointAddress
);

Parameters

[in] EndpointAddress

A USB endpoint address.

Return value

WDF_USB_PIPE_DIRECTION_IN returns TRUE if the specified endpoint is an input 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_IN 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_OUT

WdfUsbTargetPipeIsInEndpoint