|
LINECOUNTRYENTRY
The LINECOUNTRYENTRY structure provides the information for a single country entry. An array of 1
or more of these structures is returned as part of the LINECOUNTRYLIST structure returned by the function lineGetCountry.
typedef struct linecountryentry_tag {
DWORD dwCountryID;
DWORD dwCountryCode;
DWORD dwNextCountryID;
DWORD dwCountryNameSize;
DWORD dwCountryNameOffset;
DWORD dwSameAreaRuleSize;
DWORD dwSameAreaRuleOffset;
DWORD dwLongDistanceRuleSize;
DWORD dwLongDistanceRuleOffset;
DWORD dwInternationalRuleSize;
DWORD dwInternationalRuleOffset;
} LINECOUNTRYENTRY, FAR *LPLINECOUNTRYENTRY;
Members
dwCountryID
The country ID of the entry. The country ID is an internal identifier which
allows multiple entries to exist in the country list with the same country code
(for example, all countries in North America and the Caribbean share country
code 1, but require separate entries in the list).
dwCountryCode
The actual country code of the country represented by the entry (that is, the
digits that would be dialed in an international call). Only this value should
ever be displayed to users (country IDs should never be displayed, as they would
be confusing).
dwNextCountryID
The country ID of the next entry in the country list. Because country codes
and IDs are not assigned in any regular numeric sequence, the country list is a
single linked list, with each entry pointing to the next. The last country in
the list has a dwNextCountryID value of 0. When the LINECOUNTRYLIST structure is used to obtain the entire
list, the entries in the list will be in sequence as linked by their dwNextCountryID fields.
dwCountryNameSize
dwCountryNameOffset
The size in bytes and the offset in bytes from the beginning of the LINECOUNTRYLIST structure of a null-terminated string giving the name of the country.
dwSameAreaRuleSize
dwSameAreaRuleOffset
The size in bytes and the offset in bytes from the beginning of the LINECOUNTRYLIST structure of a null-terminated ASCII string containing the dialing rule for
direct-dialed calls to the same area code.
dwLongDistanceRuleSize
dwLongDistanceRuleOffset
The size in bytes and the offset in bytes from the beginning of the
LINECOUNTRYLIST structure of a null-terminated ASCII string containing the dialing rule
for direct-dialed calls to other areas in the same country.
dwInternationalRuleSize
dwInternationalRuleOffset
The size in bytes and the offset in bytes from the beginning of the
LINECOUNTRYLIST structure of a null-terminated ASCII string containing the dialing rule
for direct-dialed calls to other countries.
Remarks
Not extensible.
Because this structure is returned by a new function, backward compatibility
is not an issue at this time.
See Also
LINECOUNTRYLIST, lineGetCountry
Programming books recommended by Amazon.com
More programming books on Amazon.com
|
Share this page
|
|
Follow us
|
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|