(Page 22 of 69 in this chapter) Version
adiPeekDigit
Description
- Reads the first digit in the ADI service internal digit queue without removing it.
Prototype
- DWORD adiPeekDigit ( CTAHD ctahd,
char *digit )
- ctahd CTA context handle returned by ctaCreateContext.
- 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 ADI service 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 22 of 69 in this chapter) Version
Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights
reserved.