GUsb.Device.get_configuration

### Method

# GUsb Deviceget_configuration

#### Declaration

    gint
    g_usb_device_get_configuration (
      GUsbDevice* self
      GError** error
    )

#### Description

Get the bConfigurationValue for the active configuration of the device.

Warning: this function is synchronous.

Available since: | 0.1.0

#### Return value

Returns: | `gint`
| The bConfigurationValue of the active config, or -1 on error.