### Method

# FwupdPlugin Quirks lookup_by_id

since: 1.0.1

#### Declaration [src]

    const gchar*
    fu_quirks_lookup_by_id (
      FuQuirks* self,
      const gchar* guid,
      const gchar* key
    )

#### Description [src]

Looks up an entry in the hardware database using a string value.

Available since: 1.0.1

#### 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`.

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

#### Return value

Type: `const gchar*`

Values from the database, or `NULL` if not found.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.