Stores information about all active RAS connections into an array.

ARasConnections(cArrayName)

Parameters

cArrayName
On return the array contains the following information from the RASCONN and RASPPPIP structures.
ColumnContent
1The name of the dialup connection.
2The device name.
3The device type.
4IP address.
5HRASCONN handle.

Return Value

The number of RAS connections.

See Also

Reference

AbortRasConnectionNotification
ARasDevices
ARasPhonebookEntries
RasClearConnectionStatistics
RasConnectionNotificationEx
RasDialDlgEx
RasDialEx
RasGetConnectStatusEx
RasHangUpEx
RasPhonebookDlgEx

Used WinApi functions

RasEnumConnections
RasGetProjectionInfo