Method

GUsbDeviceclaim_interface

Declaration

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

Description

Claim an interface of the device.

Available since:0.1.0

Parameters

interface 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.