FwupdPlugin.DeviceLockerFunc
Description: Reference for FwupdPlugin.DeviceLockerFunc

### Function

# FwupdPluginDeviceLockerFunc

#### Declaration

    gboolean
    (* FuDeviceLockerFunc) (
      GObject* device,
      GError** error
    )

#### Description [src]

Callback to use when opening and closing using `fu_device_locker_new_full()`.

#### Parameters

`device` | `GObject`
| No description available.
| The data is owned by the caller of the function.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| No description available.