LibUsbDotNet 2.2.8
LookupEndpointInfo Method (currentConfigInfo, endpointAddress, usbInterfaceInfo, usbEndpointInfo)
Library Reference ► LibUsbDotNet.Main ► UsbEndpointBase ► LookupEndpointInfo(UsbConfigInfo, Byte, UsbInterfaceInfo%, UsbEndpointInfo%)
|
Looks up endpoint/interface information in a configuration.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static bool LookupEndpointInfo( UsbConfigInfo currentConfigInfo, byte endpointAddress, out UsbInterfaceInfo usbInterfaceInfo, out UsbEndpointInfo usbEndpointInfo )
Public Shared Function LookupEndpointInfo ( _ currentConfigInfo As UsbConfigInfo, _ endpointAddress As Byte, _ <OutAttribute> ByRef usbInterfaceInfo As UsbInterfaceInfo, _ <OutAttribute> ByRef usbEndpointInfo As UsbEndpointInfo _ ) As Boolean
public: static bool LookupEndpointInfo( UsbConfigInfo^ currentConfigInfo, unsigned char endpointAddress, [OutAttribute] UsbInterfaceInfo^% usbInterfaceInfo, [OutAttribute] UsbEndpointInfo^% usbEndpointInfo )
Parameters
- currentConfigInfo (UsbConfigInfo)
- The config to seach.
- endpointAddress (Byte)
- The endpoint address to look for.
- usbInterfaceInfo (UsbInterfaceInfo%)
- On success, the UsbInterfaceInfo class for this endpoint.
- usbEndpointInfo (UsbEndpointInfo%)
- On success, the UsbEndpointInfo class for this endpoint.
Return Value
True of the endpoint was found, otherwise false.