spinDeviceEventGetName

Function spinDeviceEventGetName 

Source
pub unsafe extern "C" fn spinDeviceEventGetName(
    hDeviceEventData: spinDeviceEventData,
    pBuf: *mut c_char,
    pBufLen: *mut size_t,
) -> spinError
Expand description

Retrieves the event name of a device event @see spinError

@param hDeviceEventData The log event data received from the log event @param pBuf The c-string character buffer in which the name of the device event is returned @param pBufLen The unsigned integer pointer in which the length of the c-string is returned; the input value is the maximum length

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