RasDial (rasapi32)
Last changed: -93.180.241.4

.
Summary
The RasDial function establishes a RAS connection between a RAS client and a RAS server. The connection data includes callback and user-authentication information.

C# Signatures:

[DllImport("rasapi32.dll",CharSet=CharSet.Auto)]
static extern uint RasDial([In] RASDIALEXTENSIONS lpRasDialExtensions,
   [In] string lpszPhonebook, [In] RASDIALPARAMS lpRasDialParams,
   uint dwNotifierType, Delegate lpvNotifier, ref IntPtr lphRasConn);

[DllImport("RASAPI32.DLL")]
static extern uint RasDial(IntPtr lpRasDialExtensions,
   string lpszPhonebook, [In, Out] ref RASDIALPARAMS lpRasDialParams,
   uint dwNotifierType, IntPtr lpvNotifier, out IntPtr lphRasConn);

VB Signature:

TODO

User-Defined Types:

RASDIALEXTENSIONS, RASDIALPARAMS

Notes:

Tips & Tricks:

Sample Code:

Alternative Managed API:

Nothing

Documentation