Voice API for Windows Operating Systems Library Reference — November 2003 439
generate an outbound wink — dx_wink( )
/* Use sr_waitevt() to wait for the completion of wink.
* On receiving the completion event, TDX_WINK, control is transferred
* to the handler function previously established using sr_enbhdlr().
*/
.
.
}
int wink_handler()
{
printf("wink completed on channel %s\n", ATDX_NAMEP(sr_getevtdev()));
return 0;
}
!
!!
!See Also
dx_setparm( )
dx_getparm( )
event management functions in Standard Runtime Library API Library Reference
DV_TPT data structure (to specify a termination condition)
ATDX_TERMMSK( )
dx_wtring( ) (when handling outbound winks)
dx_setevtmsk( ) (when handling inbound winks)
dx_sethook( ) (when handling inbound winks)
DX_CST data structure (call status transition)
dx_getevt( ) (for synchronous applications)
DX_EBLK data structure (for synchronous applications)