Platform SDK: TAPI

LINECALLTREATMENTENTRY

The LINECALLTREATMENTENTRY structure provides information on the type of call treatment, such as music, recorded announcement, or silence, on the current call. The LINEADDRESSCAPS structure can contain an array of LINECALLTREATMENTENTRY structures.

typedef struct linecalltreatmententry_tag {
  DWORD  dwCallTreatmentID;
  DWORD  dwCallTreatmentNameSize;
  DWORD  dwCallTreatmentNameOffset;
} LINECALLTREATMENTENTRY, FAR *LPLINECALLTREATMENTENTRY;

Members

dwCallTreatmentID
One of the LINECALLTREATMENT_ Constants (if the treatment is of a predefined type) or a service provider-specific value.
dwCallTreatmentNameSize
dwCallTreatmentNameOffset
Size, in bytes, (including the terminating NULL) and offset from the beginning of LINEADDRESSCAPS of a null-terminated string identifying the treatment. This would ordinarily describe the content of the music or recorded announcement. If the treatment is of a predefined type, a meaningful name should still be specified, for example, "Silence\0", "Busy Signal\0", "Ringback\0", or "Music\0".

Requirements

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

See Also

LINEADDRESSCAPS, LINECALLTREATMENT_ Constants, lineSetCallTreatment, lineGetAddressCaps