Im trying to use this:
Public Declare Function RasEnumConnections Lib "rasapi32.dll" Alias "RasEnumConnectionsA" ( ByRef lprasconna As RASCONN, ByRef lpdword As Long, ByRef lpdword As Long) As Long

Ive read the tutorials, but they dont quite fit the way this one works...or do they? Im stuck, well and truely.

What Im trying to do is to get the current RAS Connection into a textbox, just what each of the different paramaters means in this wonderfull little API is a mystery to me...can anyone shed any light on the situation???

I would appreciate any help and am offering $10000000 to the first to help me (Im joking...in case you thought I meant that)