### Method

# FwupdPlugin Quirks lookup_by_id_iter

since: 1.3.3

#### Declaration [src]

    gboolean
    fu_quirks_lookup_by_id_iter (
      FuQuirks* self,
      const gchar* guid,
      const gchar* key,
      FuQuirksIter iter_cb,
      gpointer user_data
    )

#### Description [src]

Looks up all entries in the hardware database using a GUID value.

Available since: 1.3.3

#### Parameters

`guid`

  Type: `const gchar*`

  GUID to lookup.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

`key`

  Type: `const gchar*`

  An ID to match the entry, e.g. `Name`, or `NULL` for all keys.

  The argument can be `NULL`.
  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

`iter_cb`

  Type: `FuQuirksIter`

  A function to call for each result.

`user_data`

  Type: `gpointer`

  User data passed to `iter_cb`.

  The argument can be `NULL`.
  The data is owned by the caller of the method.

#### Return value

Type: `gboolean`

`TRUE` if the ID was found, and `iter` was called.