Platform SDK: RAS/Routing and RAS

RASCTRYINFO

The RASCTRYINFO structure describes the direct dialing procedures for calls placed within a specified country. The RasGetCountryInfo function uses this structure to retrieve country-specific dialing information from the Windows Telephony list of country information.

For more information about country-specific dialing information, see the TAPI Programmer's Reference in the Platform SDK.

typedef struct RASCTRYINFO {
  DWORD   dwSize;
  DWORD   dwCountryID;
  DWORD   dwNextCountryID;
  DWORD   dwCountryCode;
  DWORD   dwCountryNameOffset;
} RASCTRYINFO;

Members

dwSize
Specifies the size, in bytes, of the RASCTRYINFO structure. Before calling RasGetCountryInfo, set dwSize to sizeof(RASCTRYINFO) to identify the version of the structure.
dwCountryID
Specifies a TAPI country identifier. Before calling RasGetCountryInfo, set dwCountryID to identify the country of interest. For more information about TAPI country identifiers, see the TAPI Programmer's Reference in the Platform SDK.

If this member is 1, RasGetCountryInfo returns information about the first country in the Windows Telephony list of country information.

dwNextCountryID
Specifies the TAPI country identifier of the next country to enumerate in the Windows Telephony list. This member is zero for the last country in the list.
dwCountryCode
Specifies the country code for the country identified by the dwCountryID member.
dwCountryNameOffset
Specifies the offset, in bytes, from the start of the structure to the start of a null-terminated string describing the country. The description string is either ANSI or Unicode, depending on whether you use the ANSI or Unicode version of RasGetCountryInfo.

Remarks

For more information on dialing procedures and telephony configuration, see the TAPI Programmer's Reference in the Platform SDK.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Requires Windows 95 OSR2 or later.
  Header: Declared in Ras.h.
  Unicode: Declared as Unicode and ANSI structures.

See Also

Remote Access Service (RAS) Overview, Remote Access Service Structures, RasGetCountryInfo