// wdfusb.h
BOOLEAN WDF_USB_PIPE_DIRECTION_IN(
[in] UCHAR EndpointAddress
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF and UMDF]
The WDF_USB_PIPE_DIRECTION_IN function determines whether a specified USB endpoint is an input endpoint.
EndpointAddress [in]A USB endpoint address.
WDF_USB_PIPE_DIRECTION_IN returns TRUE if the specified endpoint is an input endpoint. Otherwise, this function returns FALSE.
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.