Platform SDK: TAPI

LINE_MONITORMEDIA

The TSPI LINE_MONITORMEDIA message is sent to the LINEEVENT callback function whenever a change in the call's media type is detected and media type monitoring is enabled. The sending of this message is controlled by the TSPI_lineMonitorMedia function.

LINE_MONITORMEDIA
htLine = (HTAPILINE) hLineDevice;
htCall = (HTAPICALL) hCallDevice;
dwMsg = (DWORD) LINE_MONITORMEDIA;
dwParam1 = (DWORD) LineMediaMode;
dwParam2 = (DWORD) 0;
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_MONITORMEDIA.
dwParam1
Specifies the new media type (mode). This parameter can be one of the LINEMEDIAMODE_ constants.
dwParam2
Unused.
dwParam3
Service providers insert into dwParam3 the "tick count" (number of milliseconds since Windows started), obtained from GetTickCount, at which the specified media was detected.

Remarks

This message is sent only when media type monitoring is enabled.

Requirements

  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.

See Also

LINEEVENT, LINEMEDIAMODE_ Constants, TSPI_lineMonitorMedia