Using Win32 functions in Visual FoxPro Image Gallery
Internet Functions (WinInet)
..msdn
CreateMD5SSOHash
DeleteUrlCacheEntry
DetectAutoProxyUrl
FindCloseUrlCache
FindFirstUrlCacheEntry
FindFirstUrlCacheGroup
FindNextUrlCacheEntry
FindNextUrlCacheGroup
FtpCommand
FtpCreateDirectory
FtpDeleteFile
FtpFindFirstFile
FtpGetCurrentDirectory
FtpGetFile
FtpGetFileSize
FtpOpenFile
FtpPutFile
FtpRemoveDirectory
FtpRenameFile
FtpSetCurrentDirectory
GetUrlCacheEntryInfo
HttpOpenRequest
HttpQueryInfo
HttpSendRequest
InternetAttemptConnect
InternetAutodial
InternetAutodialHangup
InternetCanonicalizeUrl
InternetCheckConnection
InternetCloseHandle
InternetConnect
InternetCrackUrl
InternetDial
InternetFindNextFile
InternetGetConnectedState
InternetGetConnectedStateEx
InternetGetCookie
InternetGetLastResponseInfo
InternetGoOnline
InternetOpen
InternetOpenUrl
InternetQueryDataAvailable
InternetQueryOption
InternetReadFile
InternetSetCookie
InternetSetFilePointer
InternetTimeFromSystemTime
InternetTimeToSystemTime
InternetWriteFile
Code examples:
Retrieving the state of your Internet connection
InternetGetConnectedStateEx
    Add comment     W32 Constants      Translate this page
Retrieves the connected state of the specified Internet connection.
Code examples:
Retrieving the state of your Internet connection
Declaration:
BOOL InternetGetConnectedStateEx(
    LPDWORD lpdwFlags,
    LPTSTR lpszConnectionName,
    DWORD dwNameLen,
    DWORD dwReserved
);

FoxPro declaration:
DECLARE SHORT InternetGetConnectedStateEx IN wininet;
    INTEGER @ lpdwFlags,;
    STRING  @ lpszConnectionName,;
    INTEGER   dwNameLen,;
    INTEGER   dwReserved
Parameters:
lpdwFlags
[out] Pointer to an unsigned long integer variable where the connection description should be returned.

lpszConnectionName
[out] Pointer to a string value that receives the connection name.

dwNameLen
[in] Unsigned long integer value that contains the length of the lpszConnectionName string in TCHAR.

dwReserved
[in] Reserved. Must be set to zero.
Return value:
Returns TRUE if there is an Internet connection, or FALSE otherwise.
My comment:
Except the returned connection name this function is similar to the InternetGetConnectedState function. The InternetCheckConnection allows an application to check if a connection to the Internet can be established.
Word Index links for the InternetGetConnectedStateEx :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-25 12:00:00
Modified: 2002-08-12 18:28:07
Visited in last 7 days: 23
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.237.125.89)
4 sec.Example: 'GDI+: Using Scale and Shear transformations'
9 sec.Function: 'GlobalSize'
Function group: 'Memory Management'
14 sec.Function: 'CreateFont'
28 sec.Function: 'Escape'
Function group: 'Printing and Print Spooler'
49 sec.Example: 'Shortcut Menu Class'
1.93 min.Example: 'Terminating all running applications from a VFP program'
Google
Advertise here!