 |
InternetCheckConnection ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Allows an application to check if a connection to the Internet can be established. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL InternetCheckConnection(
LPCTSTR lpszUrl,
DWORD dwFlags,
DWORD dwReserved
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER InternetCheckConnection IN wininet;
STRING lpszUrl,;
INTEGER dwFlags,;
INTEGER dwReserved
|
 |
 |
 |
| Parameters: |
 |
lpszUrl
[in] Pointer to a string containing the URL to use to check the connection. This value can be set to NULL.
dwFlags
[in] Unsigned long integer value containing the flag values.
dwReserved
[in] Reserved. Must be set to 0. |
 |
 |
| Return value: |
 |
| Returns TRUE if a connection is made successfully, or FALSE otherwise. |
 |
 |
| My comment: |
 |
| Can test a general Internet connection availabiilty. The InternetGetConnectedState provide similar functionality. |
 |
 |
| Word Index links for the InternetCheckConnection : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-08-11 18:54:43 | | Modified: | 2002-08-12 18:26:46 | Visited in last 7 days: 81 |