Dialogic 05-0867-005 Table Top Game User Manual


 
sets the event mask cc_SetEvtMsk( )
235
Bitmask Type Action Default
CCMSK_TMREXPEVENT Receiving the CCEV_TIMER
event. This event is generated
when some timer expires at the
firmware in Layer 3. Timer ID,
Call ID and the value of the
timer are returned.
Not enabled
The action parameter may either set or reset the mask bit(s) as specified in the
bitmask. Possible actions are shown in Table 25 below.
Table 25. Bitmask Actions
Action Description
CCACT_SETMSK: Enables notification of events specified in the bitmask
and disables notification of previously set events.
CCACT_ADDMSK: Enables notification of events specified in the bitmask
in addition to previously set events.
CCACT_SUBMSK: Disables notification of events specified in the
bitmask.
!
! !
!
Cautions
None
!
! !
!
Example
#include <windows.h> /* For Windows applications only */
#include <stdio.h>
#include <errno.h>
#include srllib.h
#include dtilib.h
#include cclib.h
void main()
{
short devhdl; /* device handle for D channel */
.
.
.
if ( cc_Open(devhdl,dtiB1,0)<0)
exit(1);