
The functions described in this section handle dial-up access to the Internet.
| InternetAutodial |
| InternetAutodialHangup |
| InternetDial |
| InternetGetConnectedState |
| InternetGoOnline |
| InternetHangUp |
| InternetSetDialState |
BOOL InternetAutodial(
IN DWORD dwFlags,
IN DWORD dwReserved
);
Automatically causes the modem to dial the default Internet connection.
| INTERNET_AUTODIAL_FORCE_ONLINE | Forces an online Internet connection. |
| INTERNET_AUTODIAL_FORCE_UNATTENDED | Forces an unattended Internet dial-up. |
BOOL InternetAutodialHangup(
IN DWORD dwReserved
);
Disconnects an automatic dial-up connection.
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.
| 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. |
BOOL InternetGetConnectedState(
OUT LPDWORD lpdwFlags,
IN DWORD dwReserved
);
Retrieves the connected state of the local system.
| INTERNET_CONNECTION_MODEM | Local system uses a modem to connect to the Internet. |
| INTERNET_CONNECTION_LAN | Local system uses a local area network to connect to the Internet. |
| INTERNET_CONNECTION_PROXY | Local system uses a proxy server to connect to the Internet. |
| INTERNET_CONNECTION_MODEM_BUSY | Local system's modem is busy with a non-Internet connection. |
BOOL InternetGoOnline(
IN LPTSTR lpszURL,
IN HWND hwndParent,
IN DWORD dwReserved
);
Prompts the user for permission to initiate connection to a URL.
DWORD InternetHangUp(
IN DWORD dwConnection,
IN DWORD dwReserved
);
Instructs the modem to disconnect from the Internet.
BOOL InternetSetDialState(
IN LPCSTR lpszConnectoid,
IN DWORD dwState,
IN DWORD dwReserved
);
Sets the modem dialing state.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.