HERC_EventCallbackSet
Sets the
callback functions that the HERC will transmit all its events to.
|
Parameters
proca |
The user defined function to handle events from DeckA. |
procb |
The user defined function to handle events from DeckB. |
user |
User instance data to pass to the callback function. |
Return value
If successful, TRUE is returned, else FALSE is returned. Use HERC_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_INIT |
HERC_Init has not been successfully
called. |
BASS_ERROR_TIMER |
Could not create timer. |
Remarks
This function allows you to setup 2 callback functions. The first callback
function receives all of the events transmitted from DeckA of the Hercules. The
second callback function receives all of the events transmitted from DeckB of
the Hercules.
See also
HERCPROC
callback