Expand Minimize

WDF_USB_PIPE_DIRECTION_OUT function

[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

EndpointAddress [in]

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

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

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.