Method

GUsbDeviceclaim_interface

Declaration

gboolean
g_usb_device_claim_interface (
  GUsbDevice* self,
  gint iface,
  GUsbDeviceClaimInterfaceFlags flags,
  GError** error
)

Description

Claim an interface of the device.

Available since:0.1.0

Parameters

iface gint
 

BInterfaceNumber of the interface you wish to claim.

flags GUsbDeviceClaimInterfaceFlags
 

GUsbDeviceClaimInterfaceFlags.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE on success.