Group: Internet Functions (WinInet) - Library: wininet
Initiating Inet connection using a modem
DWORD InternetDial(
HWND hwndParent,
LPTSTR lpszConnectoid,
DWORD dwFlags,
LPDWORD lpdwConnection,
DWORD dwReserved
);
DECLARE INTEGER InternetDial IN wininet;
INTEGER hwndParent,;
STRING lpszConnectoid,;
INTEGER dwFlags,;
INTEGER @ lpdwConnection,;
INTEGER dwReserved
hwndParent [in] Handle to the parent window.
lpszConnectoid [in] Pointer to a string variable containing the name of the dial-up connection to use.
dwFlags [in] Unsigned long integer value that contains the flags to use.
lpdwConnection [out] Pointer to an unsigned long integer value containing the number associated to the connection.
dwReserved [in] Reserved. Must be set to 0.
Returns ERROR_SUCCESS (0) if successful, or an error value otherwise.