Expand Minimize

WDF_USB_PIPE_DIRECTION_IN function

[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

EndpointAddress [in]

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

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

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft