(Page 34 of 80 in this chapter)
adiPeekDigit
Description
- Reads the first digit in the AG Access internal digit queue without removing it.
Prototype
- DWORD adiPeekDigit( CTAHD ctahd,
char *digit )
- ctahd Context handle returned by adiOpenPort.
- digit Pointer to a character which stores the digit extracted from the digit queue.
Return Values
Events
- None.
Details
- This function reads a single DTMF digit character from the front of the AG Access internal digit queue without removing it. The digit is copied to the address pointed to by digit. Valid digit values are the DTMF characters `0'-'9', `#' (pound) and `*' (star), as well as `A','B','C' and `D'. If the digit queue is empty, zero is written to digit.
- This function cannot be invoked if the application is actively collecting digits via adiCollectDigits.
See Also
- adiGetDigit, adiFlushDigitQueue, adiCollectDigits, adiStopCollection
(Page 34 of 80 in this chapter)
Tech_Support@nmss.com
Copyright © 1996, Natural MicroSystems, Inc. All rights
reserved.