Contents Index Topic Contents | ||
Previous Topic: General Win32 Internet Functions Next Topic: InternetCheckConnection |
InternetAttemptConnect
DWORD InternetAttemptConnect( IN DWORD dwReserved );Attempts to make a connection to the Internet.
- Returns ERROR_SUCCESS if successful, or a Win32 error value otherwise.
- dwReserved
- Reserved; must be zero.
This function allows an application to first attempt to connect before issuing any requests. A client program can use this to evoke the dialup dialog box. If the attempt fails, the application should enter offline mode.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.