FwupdPlugin.Volume.new_by_kind
Description: Reference for FwupdPlugin.Volume.new_by_kind

### Function

# FwupdPlugin Volumenew_by_kind

#### Declaration [src]

    GPtrArray*
    fu_volume_new_by_kind (
      const gchar* kind,
      GError** error
    )

#### Description [src]

Finds all volumes of a specific partition type.

Available since: | 1.8.2

#### Parameters

`kind` | `const gchar*`
| A volume kind, typically a GUID.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | An array of `FuVolume*`
| A `GPtrArray`, or `NULL` if the kind was not found.
| The caller of the function takes ownership of the data container, but not the data inside it.