IWDFUsbTargetPipe::IsInEndPoint method

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

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: