I am programming in windows 2000 OS. I have a bunch of modems on my computer and I want to be able to check to see which modems (or how many modems) are available to dial out on (RASDIAL()).
I want to be able to tell two different states of the modem.
State1 : (not ready to dail)
if a modem is turned off (I have external modems), is dialing, or is connected --
State 2: (ready to Dial) if a modem is available to Dial out.
I have tried RasEnumConnections and RasGetConnectStatus, but these only tell me how many modems are configured for my system and how many are conected. I need to be able to tell if one of the modems is available to dail a number.