Compartilhar via


LINE_MONITORDIGITS message

The TSPI LINE_MONITORDIGITS message is sent to the LINEEVENT callback function whenever a digit is detected while digit monitoring is in progress. The sending of this message is controlled by the TSPI_lineMonitorDigits function.


LINE_MONITORDIGITS
htLine = (HTAPILINE) hLineDevice;
htCall = (HTAPICALL) hCallDevice;
dwMsg = (DWORD) LINE_MONITORDIGITS;
dwParam1 = (DWORD) chDigit;
dwParam2 = (DWORD) LineDigitMode;
dwParam3 = (DWORD) dwTickCount;
            

Parameters

  • htLine
    The TAPI opaque object handle to the line device.

  • htCall
    The TAPI opaque object handle to the call device.

  • dwMsg
    The value LINE_MONITORDIGITS.

  • dwParam1
    The low-order byte contains the last digit received in ASCII.

  • dwParam2
    Specifies the digit mode that was detected. This parameter can be one of the LINEDIGITMODE_ constants.

  • dwParam3
    Service providers shall insert into dwParam3 the "tick count" (number of milliseconds since Windows started), obtained from GetTickCount, at which the specified digit was detected.

Remarks

This message is sent only when digit monitoring is enabled.

Requirements

TAPI version

Requires TAPI 2.0 or later

Header

Tapi.h

See also

LINEEVENT

TSPI_lineMonitorDigits