Previous PageTable Of ContentsHomeIndexNext Page


5.4. Asynchronous with Windows Callback Model

This model uses the sr_NotifyEvt( ) function to send event notification (a user-specified message) to a user-specified window. The main application loop follows the standard Windows message handling scheme. When a Dialogic completion event occurs:

  1. A user-specified message is sent to a user-specified window.
  2. The sr_waitevt(0) function is called with a zero time-out.
  3. Event data retrieval functions sr_gettevtdev( ) and sr_gettevttype( ) retrieve information about the event.
  4. The next action is initiated asynchronously.

Choose the Asynchronous with Windows Callback model for an application that needs the tightest possible integration with the Windows messaging scheme.

An example of the Asynchronous with Windows Callback model is shown below:


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2001, Dialogic Corporation
All rights reserved
This page generated January, 2001