pub unsafe extern "C" fn spinDeviceEventHandlerCreate(
phDeviceEventHandler: *mut spinDeviceEventHandler,
pFunction: spinDeviceEventFunction,
pUserData: *mut c_void,
) -> spinErrorExpand description
Creates a device event handler @see spinError
@param phDeviceEventHandler The device event handler pointer in which the device event context is created @param pFunction The function to be called at device event occurrences; signature to match: void(spinDeviceEventFunction)(const spinDeviceEventData hEventData, const char pEventName, void* pUserData) @param pUserData Properties that can be passed into the event function
@return spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error