IWDFUsbTargetPipe::IsInEndPoint method

The IsInEndPoint method determines whether a USB pipe (endpoint) is an IN pipe.

Syntax


BOOL  IsInEndPoint();

Parameters

This method has no parameters.

Return value

IsInEndPoint returns a BOOL value that indicates whether the USB pipe is an IN pipe. TRUE indicates the pipe is an IN pipe. FALSE indicates the pipe is not an IN pipe.

Remarks

If the USB pipe is an IN pipe, a UMDF driver can call the IWDFIoTarget::FormatRequestForRead method to format a read request. The framework can then send the request to the USB pipe.

Note   The meaning of IN and OUT is opposite in WDF and USB.

Examples

For a code example of how to use the IsInEndPoint method, see IWDFUsbInterface::GetNumEndPoints.

Requirements

Target platform

Desktop

End of support

Unavailable in UMDF 2.0 and later.

Minimum UMDF version

1.5

Header

Wudfusb.h (include Wudfusb.h)

DLL

WUDFx.dll

See also

IWDFUsbTargetPipe
IWDFIoTarget::FormatRequestForRead

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft