Platform SDK: TAPI |
The TSPI LINE_GENERATE 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.
LINE_GENERATE htLine = (HTAPILINE) hLineDevice; htCall = (HTAPICALL) hCallDevice; dwMsg = (DWORD) LINE_GENERATE; dwParam1 = (DWORD) LineGenerateTerminate; dwParam2 = (DWORD) dwEndToEndID; dwParam3 = (DWORD) dwTickCount;
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.
Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
Windows 95/98: Requires Windows 95 or later.
Version: Requires TAPI 2.0 or later.
Header: Declared in Tapi.h.
LINEEVENT, LINEGENERATETERM_ Constants, TSPI_lineGenerateDigits, TSPI_lineGenerateTone