LibUsbDotNet 2.2.8
QueryInterfaceSettings Method (alternateInterfaceNumber, usbAltInterfaceDescriptor)
Library Reference ► LibUsbDotNet.WinUsb ► WinUsbDevice ► QueryInterfaceSettings(Byte, UsbInterfaceDescriptor%)
|
Gets a UsbInterfaceDescriptor for the specified AlternateInterfaceNumber,
Declaration Syntax
C# | Visual Basic | Visual C++ |
public bool QueryInterfaceSettings( byte alternateInterfaceNumber, ref UsbInterfaceDescriptor usbAltInterfaceDescriptor )
Public Function QueryInterfaceSettings ( _ alternateInterfaceNumber As Byte, _ ByRef usbAltInterfaceDescriptor As UsbInterfaceDescriptor _ ) As Boolean
public: bool QueryInterfaceSettings( unsigned char alternateInterfaceNumber, UsbInterfaceDescriptor^% usbAltInterfaceDescriptor )
Parameters
- alternateInterfaceNumber (Byte)
- The alternate interface index for the UsbInterfaceDescriptor to retrieve.
- usbAltInterfaceDescriptor (UsbInterfaceDescriptor%)
- The UsbInterfaceDescriptor for the specified AlternateInterfaceNumber.
Return Value
True on success.