LibUsbDotNet 2.2.8
GetCurrentAlternateSetting Method (settingNumber)
Library Reference ► LibUsbDotNet.WinUsb ► WinUsbDevice ► GetCurrentAlternateSetting(Byte%)
|
Gets the currently selected alternate settings number for the selected inteface.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Public Function GetCurrentAlternateSetting ( _ <OutAttribute> ByRef settingNumber As Byte _ ) As Boolean
public: bool GetCurrentAlternateSetting( [OutAttribute] unsigned char% settingNumber )
Parameters
- settingNumber (Byte%)
- The selected AlternateSetting number.
Return Value
True on success.