Platform SDK: TAPI

LINEMEDIACONTROLMEDIA

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

typedef struct linemediacontrolmedia_tag {
  DWORD  dwMediaModes;
  DWORD  dwDuration;
  DWORD  dwMediaControl;
} LINEMEDIACONTROLMEDIA, FAR *LPLINEMEDIACONTROLMEDIA; 

Members

dwMediaModes
One or more media types. This member uses one of the LINEMEDIAMODE_ Constants.
dwDuration
The duration, in milliseconds, during which the media type should be present before the application should be notified or media control action should be taken.
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 <media type(s), duration, media-control action>. An array of these triples is passed to the lineSetMediaControl function to set the media control actions triggered by media type changes for a given call. When a change to a listed media type 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

lineSetMediaControl, TSPI_lineSetMediaControl