LINEMEDIACONTROLDIGIT structure (tapi.h)
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.
Syntax
typedef struct linemediacontroldigit_tag {
DWORD dwDigit;
DWORD dwDigitModes;
DWORD dwMediaControl;
} LINEMEDIACONTROLDIGIT, *LPLINEMEDIACONTROLDIGIT;
Members
dwDigit
Low-order byte is the digit in whose detection is to trigger a media action. Valid digits depend on the media type.
dwDigitModes
Digit mode(s) to monitor. This member uses one or more of the LINEDIGITMODE_ Constants.
dwMediaControl
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
Requirement | Value |
---|---|
Header | tapi.h |