GetLangIDs Method (langIDs)

LibUsbDotNet

LibUsbDotNet 2.2.8 GetLangIDs Method (langIDs)
Library ReferenceLibUsbDotNetIUsbInterfaceGetLangIDs(array<Int16>[]()[][]%)
LibUsbDotNet on SourceForge
Asking for the zero'th index is special - it returns a string descriptor that contains all the language IDs supported by the device. Typically there aren't many - often only one. The language IDs are 16 bit numbers, and they start at the third byte in the descriptor. See USB 2.0 specification, section 9.6.7, for more information on this.
Declaration Syntax
C# Visual Basic Visual C++
bool GetLangIDs(
	out short[] langIDs
)
Function GetLangIDs ( _
	<OutAttribute> ByRef langIDs As Short() _
) As Boolean
bool GetLangIDs(
	[OutAttribute] array<short>^% langIDs
)
Parameters
langIDs (array<Int16>[]()[][]%)

[Missing <param name="langIDs"/> documentation for "M:LibUsbDotNet.IUsbInterface.GetLangIDs(System.Int16[]@)"]

Return Value
A collection of LCIDs that the current UsbDevice supports.

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