borgo
asked on
Detect Ras connection
How can I detect a RAS connection lunched by a specific adapter or modem ?
(Please NT and Win95 answer)
(Please NT and Win95 answer)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
borgo
You can use the RasGetConnectionStatus API call
RasGetConnectStatus(
rasconn, // handle to RAS connection of interest
rasconnstatus // buffer to receive status data
);
Check the win32.hlp for more info on the structures etc...
Later
BoRiS
You can use the RasGetConnectionStatus API call
RasGetConnectStatus(
rasconn, // handle to RAS connection of interest
rasconnstatus // buffer to receive status data
);
Check the win32.hlp for more info on the structures etc...
Later
BoRiS
ASKER
Ok, I will try Venks. I trust you :-) so I give you Excelent.
But you didn't tell me if it also works on Win95/98.
Can you help me please ?
Bye
But you didn't tell me if it also works on Win95/98.
Can you help me please ?
Bye
http://sme.belgium.eu.net/~vip107/rasdial.zip