Starting and stopping RAS service in VB6 using APIs

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hello everybody!!
I have to write a small program which, among the other things, must allow to
start and stop the RAS service (only the start and the stop, without any
other configuration or behavior setting function). I was looking around but I
only found that there are 2 functions (MprAdminInitializeDll and
MprAdminTerminateDll) which should do what I need, but VB6 can't find the DLL
entry point in mprapi.dll

This is my code:
Private Declare Function MprAdminInitializeDll Lib "mprapi.dll" () As Long
Private Sub Command1_Click()
Dim res As Long
res = MprAdminInitializeDll
End Sub

Where's my mistake?
Are these the correct APIs?
Do I need anything else?
Is there another way to perform my needs?
I necessarily have to use Visual Studio 6 (I would prefer VB6, because I
have to integrate this function into an already existing VERY complex
software).

Thanks to everyone!!

Giulio D'Ottavio
.