 |
InternetAttemptConnect ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Attempts to make a connection to the Internet. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
DWORD InternetAttemptConnect(
DWORD dwReserved
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER InternetAttemptConnect IN wininet;
INTEGER dwReserved
|
 |
 |
 |
| Parameters: |
 |
dwReserved
[in] Reserved. Must be set to 0. |
 |
 |
| Return value: |
 |
| Returns 0 (ERROR_SUCCESS) if successful, or a Microsoftฎ Win32ฎ error value otherwise. |
 |
 |
| My comment: |
 |
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.
Notice that this function returns 0 if successful, comparing to True being returned by similar functions InternetAutodial and InternetGoOnline. |
 |
 |
| Word Index links for the InternetAttemptConnect : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| |
 |
| Created: | 2001-09-08 12:00:00 | | Modified: | 2001-11-26 16:03:36 | Visited in last 7 days: 11 |