A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



InternetAttemptConnect

Attempts to make a connection to the Internet. This function allows an application to first attempt to connect before issuing any requests. If the connection fails, the application can enter off-line mode.

VB4-32,5,6
Declare Function InternetAttemptConnect Lib "wininet" (ByVal dwReserved As Long) As Long

Operating Systems Supported
Requires Windows NT 4.0 or later; Win9x/ME: Not supported

Library
Wininet

Parameter Information
- dwReserved
Reserved; must be zero.

Return Values
Returns ERROR_SUCCESS if successful, or a Win32 error value otherwise.

Last update: 07 April 2006