InternetDialInternetDial*
*



Contents  *



Index  *Topic Contents
*Previous Topic: InternetAutodialHangup
*Next Topic: InternetGetConnectedState

InternetDial

DWORD InternetDial(
    IN HWND hwndParent,
    IN LPTSTR lpszConnectoid,
    IN DWORD dwFlags,
    OUT LPDWORD lpdwConnection,
    IN DWORD dwReserved
);

Initiates a connection to the Internet using a modem connection.

hwndParent
Handle to the parent window.
lpszConnectoid
String value containing the name of the dial-up connection to use.
dwFlags
Double-word value that contains the flags to use. Can be one of the following values:
INTERNET_AUTODIAL_FORCE_ONLINE Forces an online connection.
INTERNET_AUTODIAL_FORCE_UNATTENDED Forces an unattended Internet dial-up.
INTERNET_DIAL_UNATTENDED Connects to the Internet through a modem, without displaying a user interface.
lpdwConnection
Address of a double-word value containing the number associated to the connection.
dwReserved
Reserved. Must be set to zero.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.