pub unsafe extern "C" fn LeapOpenDevice(
    rDevice: LEAP_DEVICE_REF,
    phDevice: *mut LEAP_DEVICE
) -> eLeapRS
Expand description

\ingroup Functions Opens a device reference and retrieves a handle to the device.

To ensure resources are properly freed, users must call LeapCloseDevice() when finished with the device, even if the retrieved device has problems or cannot stream.

@param rDevice A device reference. @param[out] phDevice A pointer that receives the opened device handle. @returns The operation result code, a member of the eLeapRS enumeration. @since 3.0.0