Method

FwupdDevicehas_instance_id

Declaration [src]

gboolean
fwupd_device_has_instance_id (
  FwupdDevice* self,
  const gchar* instance_id
)

Description [src]

Finds out if the device has this specific InstanceID.

Available since:1.2.5

Parameters

instance_id const gchar*
 

The InstanceID, e.g. PCI\VEN_10EC&DEV_525A

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

Return value

Returns: gboolean
 

TRUE if the InstanceID is found.