Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use Windows Dialing Rules

Status
Not open for further replies.

wgcs

Programmer
Mar 31, 2002
2,056
EC
Any one know how to get the dialing rules from windows... or even better, perhaps through an API call, convert a plain 1-xxx-xxx-xxxx telephone number into a dialing string, where all the defined dialing rules for the current location have been applied?

(In Win2k you can set these options using Control Panel -> Phone and Modem Options -> Dialing Rules -> Locations, Edit)

Can any one explain how to get to these options on a WinXP machine, too? (I don't have one to play with...)
 
Check out the TAPI functions on MSDN. You can use lineGetCountry to access the dialing rules.
 
Thanks... that's where I found what I was looking for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top