VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Determine if the computer has established a modem connection

Anonymous  (267 Submissions)   Windows System Services   Visual Basic 4.0 (32-bit)   Unknown Difficulty   Tue 29th December 1998   Mon 8th February 2021

Determine if the computer has established a modem connection

API Declarations


Public Declare Function RasGetConnectStatus Lib "RasApi32.dll" Alias "RasGetConnectStatusA" (ByVal hRasCon As Long, lpStatus As Any) As Long
Public Const RAS95_MaxEntryName = 256
Public Const RAS95_MaxDeviceType = 16
Public Const RAS95_MaxDeviceName = 32
Public Type RASCONN95
dwSize As Long
hRasCon As Long
szEntryName(RAS95_MaxEntryName) As Byte
szDeviceType(RAS95_MaxDeviceType) As Byte
szDeviceName(RAS95_MaxDeviceName) As Byte
End Type
Public Type RASCONNSTATUS95
dwSize As Long
RasConnState As Long
dwError As Long
szDeviceType(RAS95_MaxDeviceType) As Byte
szDeviceName(RAS95_MaxDeviceName) As Byte
End Type

Rate Determine if the computer has established a modem connection (3(3 Vote))
Determine if the computer has established a modem connection.bas

Determine if the computer has established a modem connection Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters