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: 31
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.227.62.141)
1 sec.Function: 'NetShareEnum'
2 sec.Example: 'GDI+: how to make VFP controls visually shake and shudder'
4 sec.Function: 'JetDetachDatabase'
Function group: 'Extensible Storage Engine (ESE, Jet Blue)'
6 sec.Example: 'How to delete a service object'
10 sec.Example: 'Running MSDOS Shell as a child process with redirected input and output (smarter RUN command)'
13 sec.Example: 'Displaying dimmed window behind VFP top-level form'
18 sec.Function: 'GetDriveType'
Function group: 'File Management'
7.39 hrs.Example: 'The original LoadPicture() function in VFP returns valid handles to bitmaps, icons, cursors, and metafiles'
7.4 hrs.Example: 'How to obtain Content-Type value for a file type from the System Registry'
 Example: 'Using WM_COPYDATA for interprocess communication (VFP9)'
Google
Advertise here!