GUsb.Context.new
Description: Reference for GUsb.Context.new

### Constructor

# GUsb Contextnew

#### Declaration

    GUsbContext*
    g_usb_context_new (
      void
      GError** error
    )

#### Description

Creates a new context for accessing USB devices.

Available since: | 0.1.0

#### Return value

Returns: | `GUsbContext`
| A new %GUsbContext object or `NULL` on error.
| The caller of the function takes ownership of the data, and is responsible for freeing it.