get_custom_index


Description:

[ Version ( since = "0.2.5" ) ]
public uint8 get_custom_index (uint8 class_id, uint8 subclass_id, uint8 protocol_id) throws Error

Gets the string index from the vendor class interface descriptor.

Parameters:

this

a Device

class_id

a device class, e.g. 0xff for VENDOR

subclass_id

a device subclass

protocol_id

a protocol number

Returns:

a non-zero index, or 0x00 for failure




2022 vala-language.org