LookupEndpointInfo Method (currentConfigInfo, endpointAddress, usbInterfaceInfo, usbEndpointInfo)

LibUsbDotNet

LibUsbDotNet 2.2.8 LookupEndpointInfo Method (currentConfigInfo, endpointAddress, usbInterfaceInfo, usbEndpointInfo)
Library ReferenceLibUsbDotNet.MainUsbEndpointBaseLookupEndpointInfo(UsbConfigInfo, Byte, UsbInterfaceInfo%, UsbEndpointInfo%)
LibUsbDotNet on SourceForge
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.

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)