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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

API function to disconnect modem

Status
Not open for further replies.

orna

Programmer
Apr 2, 2002
314
IL
I need an API function (with or without code)
to disconnect a modem
from Access 97, win95-win2000

Thanks
Orna
 
The two calls that you will need are 'RasEnumConnections' and 'RasHangUp'. The first one to get the handle and the second one to hang up. I have examples of both these call in C and VB at my web site if you have difficulties.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top