Platform SDK: TAPI

LINEMEDIACONTROLDIGIT

The LINEMEDIACONTROLDIGIT structure describes a media action to be executed when detecting a digit. It is used as an entry in an array. The lineSetMediaControl and TSPI_lineSetMediaControl functions use this structure.

typedef struct linemediacontroldigit_tag {
  DWORD  dwDigit;
  DWORD  dwDigitModes;
  DWORD  dwMediaControl;
} LINEMEDIACONTROLDIGIT, FAR *LPLINEMEDIACONTROLDIGIT; 

Members

dwDigit
The low-order byte of this DWORD specifies the digit in whose detection is to trigger a media action. Valid digits depend on the media type.
dwDigitModes
The digit mode(s) to monitor. This member uses one or more of the LINEDIGITMODE_ Constants.
dwMediaControl
The media control action. This member uses one of the LINEMEDIACONTROL_ Constants.

Remarks

This structure may not be extended.

The LINEMEDIACONTROLMEDIA structure defines a triple <digit, digit mode(s), media-control action>. An array of these triples is passed to the lineSetMediaControl function to set the media control actions triggered by digits detected on a given call. When a listed digit is detected, then the corresponding action on the media stream is invoked.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later.
  Version: Requires TAPI 1.4 or later.
  Header: Declared in Tapi.h.

See Also

LINEMEDIACONTROLMEDIA, lineSetMediaControl, TSPI_lineSetMediaControl