GUsb.DeviceList.new
Description: Reference for GUsb.DeviceList.new

### Constructor

# GUsb DeviceListnew

#### Declaration

    GUsbDeviceList*
    g_usb_device_list_new (
      GUsbContext* context
    )

#### Description

Creates a new device list.

You will need to call `g_usb_device_list_coldplug()` to coldplug the list of devices after creating a device list.

Available since: | 0.1.0

#### Parameters

`context` | `GUsbContext`
| A `GUsbContext`.
| The data is owned by the caller of the function.

#### Return value

Returns: | `GUsbDeviceList`
| A new `GUsbDeviceList`.
| The caller of the function takes ownership of the data, and is responsible for freeing it.