InternetAttemptConnect
Attempts to make a connection to the Internet.
DWORD InternetAttemptConnect( DWORD dwReserved );
Parameters
- dwReserved
- [in] Reserved. Must be zero.
Return Values
Returns ERROR_SUCCESS if successful, or aRemarks
This function allows an application to first attempt to connect before issuing any requests. A client program can use this to evoke the dial-up dialog box. If the attempt fails, the application should enter offline mode.
Requirements
Client | Requires Windows XP, Windows 2000 Professional, Windows NT Workstation 4.0, Windows Me, Windows 98, or Windows 95. |
---|---|
Server | Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0. |
Version | Requires Internet Explorer 3.0 or later. |
Header |
Declared in Wininet.h. |
Library |
Link to Wininet.lib. |
DLL | Requires Wininet.dll. |