libimobiledevice  1.3.0-dirty
API Documentation - Return to Homepage

◆ idevice_get_handle()

idevice_error_t idevice_get_handle ( idevice_t device,
uint32_t * handle )

Gets the handle or (USBMUX device id) of the device.

Parameters
deviceThe device to get the USBMUX device id for.
handlePointer to a uint32_t that will be set to the USBMUX handle value.
Returns
IDEVICE_E_SUCCESS on success, otherwise an error code.