次の方法で共有


LINE_MONITORMEDIA (TSPI) (Windows Embedded CE 6.0)

1/6/2010

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 tapi.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

TSPI Messages
LINEEVENT
TSPI_lineMonitorMedia