LINE_GENERATE (TSPI) (Compact 2013)
3/26/2014
This message is sent to the LINEEVENT callback function to notify TAPI that the current digit or tone generation has terminated. Note that only one such generation request can be in progress on a given call at any time. This message is also sent when digit or tone generation is canceled.
Syntax
LINE_GENERATE
htLine = (HTAPILINE) hLineDevice;
htCall = (HTAPICALL) hCallDevice;
dwMsg = (DWORD) LINE_GENERATE;
dwParam1 = (DWORD) LineGenerateTerminate;
dwParam2 = (DWORD) dwEndToEndID;
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_GENERATE.
- dwParam1
Specifies the reason why digit or tone generation was terminated, and can be one of the LINEGENERATETERM_ constants.
- dwParam2
The dwEndToEndID parameter that was specified in the original TSPI_lineGenerateTone request for which this is the final result.
- dwParam3
Service providers insert into dwParam3 the tick count (the number of milliseconds since Windows started), obtained from GetTickCount, at which the digit or tone generation completed.
Remarks
Calling either TSPI_lineGenerateDigits or TSPI_lineGenerateTone while digit or tone generation is in progress cancels the current digit or tone generation request and starts a new request and also results in the service provider sending this message.
The corresponding message at the TAPI level does not include an end-to-end identifier. End-to-end marking is only done at the TSPI level.
Requirements
Header |
tspi.h |
See Also
Reference
TSPI Messages
LINEEVENT
TSPI_lineGenerateDigits
TSPI_lineGenerateTone