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 |
- dwReserved
Reserved; must be zero. |
Returns ERROR_SUCCESS if successful, or a Win32 error value otherwise. |
|