spinDeviceEventGetPayloadData

Function spinDeviceEventGetPayloadData 

Source
pub unsafe extern "C" fn spinDeviceEventGetPayloadData(
    hDeviceEventData: spinDeviceEventData,
    pBuf: *const u8,
    pBufSize: *mut size_t,
) -> spinError
Expand description

Retrieves the payload data of a device event @see spinError

@param hDeviceEventData The log event data received from the log event @param pBuf The unsigned integer pointer in which the event payload is returned @param pBufSize The unsigned integer pointer in which the size of the payload is returned

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