Share via


LINECALLTREATMENTENTRY (Compact 2013)

3/26/2014

This 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.

Syntax

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

Members

  • dwCallTreatmentID
    One of the LINECALLTREATMENT (if the treatment is of a predefined type) or a service provider-specific value.
  • dwCallTreatmentNameSize
    Size of the call treatment name string, in bytes, including the null-terminating character.
  • dwCallTreatmentNameOffset
    Offset from the beginning of LINEADDRESSCAPS to 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". The size of the string is specified by dwCallTreatmentNameOffset.

Requirements

Header

tapi.h

See Also

Reference

TAPI Structures
LINEADDRESSCAPS