Bewerken

Delen via


IWDFUsbTargetPipe::IsOutEndPoint method (wudfusb.h)

[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 IsOutEndPoint method determines whether a USB pipe (endpoint) is an OUT pipe.

Syntax

BOOL IsOutEndPoint();

Return value

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

Remarks

If the USB pipe is an OUT pipe, a UMDF driver can call the IWDFIoTarget::FormatRequestForWrite method to format a write 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 IsOutEndPoint method, see IWDFUsbInterface::GetNumEndPoints.

Requirements

Requirement Value
End of support Unavailable in UMDF 2.0 and later.
Target Platform Desktop
Minimum UMDF version 1.5
Header wudfusb.h (include Wudfusb.h)
DLL WUDFx.dll

See also

IWDFIoTarget::FormatRequestForWrite

IWDFUsbTargetPipe