FwupdPlugin.CfiDevice.new
Description: Reference for FwupdPlugin.CfiDevice.new

### Constructor

# FwupdPlugin CfiDevicenew

#### Declaration [src]

    FuCfiDevice*
    fu_cfi_device_new (
      FuContext* ctx,
      const gchar* flash_id
    )

#### Description [src]

Creates a new `FuCfiDevice`.

Available since: | 1.7.1

#### Parameters

`ctx` | `FuContext`
| A `FuContext`.
| The data is owned by the caller of the function.
`flash_id` | `const gchar*`
| No description available.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.

#### Return value

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