spinInterfaceListGet

Function spinInterfaceListGet 

Source
pub unsafe extern "C" fn spinInterfaceListGet(
    hInterfaceList: spinInterfaceList,
    index: size_t,
    phInterface: *mut spinInterface,
) -> spinError
Expand description

Retrieves an interface from an interface list using an index (interfaces retrieved this way must be released) @see spinError

@param hInterfaceList The interface list of the interface to be retrieved @param index The index of the interface @param phInterface The interface handle pointer in which the interface is returned

@return spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error