Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure provides information on the type of call treatment, such as music, recorded announcement, or silence, on the current call. The LINEADDRESSCAPSstructure 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 LINEADDRESSCAPSto 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
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

LINEADDRESSCAPS