Share via


LINE_MONITORMEDIA (TSPI) (Compact 2013)

3/26/2014

This message is sent to theLINEEVENT 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.

Syntax

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
    Not used.
  • dwParam3
    Service providers insert into dwParam3 the tick count (the 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

Header

tspi.h

See Also

Reference

TSPI Messages
LINEEVENT
TSPI_lineMonitorMedia